From Sebastian Messerschmidt, "Original shader was not running on various NVidia cards due to old syntax in shader."

This commit is contained in:
Robert Osfield 2014-01-07 16:15:50 +00:00
parent 3531bec43c
commit 0ee9f732b8

View File

@ -30,7 +30,7 @@
static const char* computeSrc = {
"#version 430\n"
"uniform float osg_FrameTime;\n"
"uniform image2D targetTex;\n"
"layout (r32f, binding =0) uniform image2D targetTex;\n"
"layout (local_size_x = 16, local_size_y = 16) in;\n"
"void main() {\n"
" ivec2 storePos = ivec2(gl_GlobalInvocationID.xy);\n"