Implement GL_ARB_shader_texture_image_samples. Also add in gl_MaxSamples and the float imageAtomicExchange.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27721 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
df1d81a958
commit
cd77f8e922
11 changed files with 290 additions and 45 deletions
|
|
@ -58,7 +58,7 @@ Shader version: 450
|
|||
0:19 move second child to first child (float)
|
||||
0:19 'consts' (float)
|
||||
0:19 Constant:
|
||||
0:19 16.000000
|
||||
0:19 20.000000
|
||||
0:21 Test condition and select (void)
|
||||
0:21 Condition
|
||||
0:21 'gl_HelperInvocation' (in bool)
|
||||
|
|
@ -99,12 +99,47 @@ Shader version: 450
|
|||
0:34 'uin' (uint)
|
||||
0:34 Construct bvec3 (3-component vector of bool)
|
||||
0:34 'b' (bool)
|
||||
0:42 Function Definition: foo( (void)
|
||||
0:42 Function Parameters:
|
||||
0:44 Sequence
|
||||
0:44 Sequence
|
||||
0:44 move second child to first child (int)
|
||||
0:44 's' (int)
|
||||
0:44 Function Call: textureSamples(s21; (int)
|
||||
0:44 's2dms' (uniform sampler2DMS)
|
||||
0:45 add second child into first child (int)
|
||||
0:45 's' (int)
|
||||
0:45 Function Call: textureSamples(usA21; (int)
|
||||
0:45 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:46 add second child into first child (int)
|
||||
0:46 's' (int)
|
||||
0:46 Function Call: imageSamples(iI21; (int)
|
||||
0:46 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:47 add second child into first child (int)
|
||||
0:47 's' (int)
|
||||
0:47 Function Call: imageSamples(IA21; (int)
|
||||
0:47 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:48 Sequence
|
||||
0:48 move second child to first child (float)
|
||||
0:48 'f' (float)
|
||||
0:48 Function Call: imageAtomicExchange(IA21;vi3;i1;f1; (float)
|
||||
0:48 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:48 Convert float to int (3-component vector of int)
|
||||
0:48 'in3' (smooth in 3-component vector of float)
|
||||
0:48 Constant:
|
||||
0:48 2 (const int)
|
||||
0:48 Constant:
|
||||
0:48 4.500000
|
||||
0:? Linker Objects
|
||||
0:? 'in1' (smooth in float)
|
||||
0:? 'in2' (smooth in 2-component vector of float)
|
||||
0:? 'in3' (smooth in 3-component vector of float)
|
||||
0:? 'in4' (smooth in 4-component vector of float)
|
||||
0:? 'gl_CullDistance' (smooth in implicitly-sized array of float)
|
||||
0:? 's2dms' (uniform sampler2DMS)
|
||||
0:? 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:? 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:? 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
|
@ -167,7 +202,7 @@ Shader version: 450
|
|||
0:19 move second child to first child (float)
|
||||
0:19 'consts' (float)
|
||||
0:19 Constant:
|
||||
0:19 16.000000
|
||||
0:19 20.000000
|
||||
0:21 Test condition and select (void)
|
||||
0:21 Condition
|
||||
0:21 'gl_HelperInvocation' (in bool)
|
||||
|
|
@ -208,10 +243,45 @@ Shader version: 450
|
|||
0:34 'uin' (uint)
|
||||
0:34 Construct bvec3 (3-component vector of bool)
|
||||
0:34 'b' (bool)
|
||||
0:42 Function Definition: foo( (void)
|
||||
0:42 Function Parameters:
|
||||
0:44 Sequence
|
||||
0:44 Sequence
|
||||
0:44 move second child to first child (int)
|
||||
0:44 's' (int)
|
||||
0:44 Function Call: textureSamples(s21; (int)
|
||||
0:44 's2dms' (uniform sampler2DMS)
|
||||
0:45 add second child into first child (int)
|
||||
0:45 's' (int)
|
||||
0:45 Function Call: textureSamples(usA21; (int)
|
||||
0:45 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:46 add second child into first child (int)
|
||||
0:46 's' (int)
|
||||
0:46 Function Call: imageSamples(iI21; (int)
|
||||
0:46 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:47 add second child into first child (int)
|
||||
0:47 's' (int)
|
||||
0:47 Function Call: imageSamples(IA21; (int)
|
||||
0:47 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:48 Sequence
|
||||
0:48 move second child to first child (float)
|
||||
0:48 'f' (float)
|
||||
0:48 Function Call: imageAtomicExchange(IA21;vi3;i1;f1; (float)
|
||||
0:48 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:48 Convert float to int (3-component vector of int)
|
||||
0:48 'in3' (smooth in 3-component vector of float)
|
||||
0:48 Constant:
|
||||
0:48 2 (const int)
|
||||
0:48 Constant:
|
||||
0:48 4.500000
|
||||
0:? Linker Objects
|
||||
0:? 'in1' (smooth in float)
|
||||
0:? 'in2' (smooth in 2-component vector of float)
|
||||
0:? 'in3' (smooth in 3-component vector of float)
|
||||
0:? 'in4' (smooth in 4-component vector of float)
|
||||
0:? 'gl_CullDistance' (smooth in 3-element array of float)
|
||||
0:? 's2dms' (uniform sampler2DMS)
|
||||
0:? 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:? 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:? 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue