1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Fix depth_compare_shader

This commit is contained in:
Sergey Lipskiy 2015-03-06 18:34:11 +06:00
parent 0d8b4e89fa
commit 43c4a72a46

View File

@ -618,7 +618,7 @@ static const char* depth_compare_shader_float =
" break; \n"
" } \n"
" if (uEnableDepthUpdate != 0 && bRes) { \n"
" highp vec4 depth_out = vec4(gl_FragCoord.z, dz, 1.0, 1.0); \n"
" highp vec4 depth_out = vec4(gl_FragDepth, dz, 1.0, 1.0); \n"
" imageStore(uDepthImage,coord, depth_out); \n"
" } \n"
" memoryBarrierImage(); \n"