Implement GL_ARB_shader_image_load_store. Partly done (format layout qualifiers) from a submission.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27670 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -148,4 +148,22 @@ in float gl_FogFragCoord;
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
|
||||
in float gl_FogFragCoord;
|
||||
in int gl_FogFragCoord;
|
||||
in int gl_FogFragCoord; // ERROR
|
||||
|
||||
layout(early_fragment_tests) in; // ERROR
|
||||
layout(r32i) uniform iimage2D iimg2Dbad; // ERROR
|
||||
|
||||
#extension GL_ARB_shader_image_load_store : enable
|
||||
|
||||
layout(early_fragment_tests) in;
|
||||
|
||||
layout(r32i) uniform iimage2D iimg2D;
|
||||
|
||||
void qux2()
|
||||
{
|
||||
int i;
|
||||
imageAtomicCompSwap(iimg2D, ivec2(i,i), i, i);
|
||||
ivec4 pos = imageLoad(iimg2D, ivec2(i,i));
|
||||
}
|
||||
|
||||
layout(early_fragment_tests) out; // ERROR
|
||||
|
||||
Reference in New Issue
Block a user