Fixed compute shaders on mesa.
It was reporting an error: [error ] GLWrap: Error in shader gaussian6h.comp [error ] GLWrap: 0:77(1): error: storage qualifiers must come after precise, invariant, interpolation, layout and auxiliary storage qualifiers
This commit is contained in:
parent
2e6eeb15ea
commit
62ea873373
@ -3,7 +3,7 @@
|
||||
uniform sampler2D source;
|
||||
uniform sampler2D depth;
|
||||
uniform vec2 pixel;
|
||||
uniform layout(r16f) volatile restrict writeonly image2D dest;
|
||||
layout(r16f) volatile restrict writeonly uniform image2D dest;
|
||||
uniform float sigma = 5.;
|
||||
|
||||
layout (local_size_x = 8, local_size_y = 8) in;
|
||||
|
@ -3,7 +3,7 @@
|
||||
uniform sampler2D source;
|
||||
uniform sampler2D depth;
|
||||
uniform vec2 pixel;
|
||||
uniform layout(r16f) volatile restrict writeonly image2D dest;
|
||||
layout(r16f) volatile restrict writeonly uniform image2D dest;
|
||||
uniform float sigma = 5.;
|
||||
|
||||
layout (local_size_x = 8, local_size_y = 8) in;
|
||||
|
@ -1,5 +1,5 @@
|
||||
uniform sampler2D source;
|
||||
uniform layout(r32f) restrict writeonly image2D dest;
|
||||
layout(r32f) restrict writeonly uniform image2D dest;
|
||||
uniform vec2 pixel;
|
||||
uniform float weights[7];
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
uniform sampler2D source;
|
||||
uniform layout(r32f) restrict writeonly image2D dest;
|
||||
layout(r32f) restrict writeonly uniform image2D dest;
|
||||
uniform vec2 pixel;
|
||||
uniform float weights[7];
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
uniform sampler2D source;
|
||||
uniform layout(rgba16f) restrict writeonly image2D dest;
|
||||
layout(rgba16f) restrict writeonly uniform image2D dest;
|
||||
uniform vec2 pixel;
|
||||
uniform float weights[7];
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
uniform sampler2D source;
|
||||
uniform layout(rgba16f) restrict writeonly image2D dest;
|
||||
layout(rgba16f) restrict writeonly uniform image2D dest;
|
||||
uniform vec2 pixel;
|
||||
uniform float weights[7];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user