Fix subgroup support for ray tracing
Closes #1735 GlslangToSpv.cpp - minor formatting cleanup BaseTypes.h - minor formatting cleanup - add subgroup builtins to GetBuiltInVariableString (was resulting in "unknown built-in variable" messages in test output) Initialize.cpp - better naming and re-use of strings for subgroup builtin variable declarations - define subgroup builtin variables in ray-tracing shaders intermOut.cpp - add handling of the EOpSubgroupParition* variables (was resulting in "ERROR: Bad aggregation op" messages in test output) Update test results.
This commit is contained in:
@@ -8,8 +8,8 @@ Requested GL_KHR_shader_subgroup_basic
|
||||
0:6 move second child to first child ( temp mediump 4-component vector of uint)
|
||||
0:6 'data' (layout( location=0) out mediump 4-component vector of uint)
|
||||
0:6 Construct uvec4 ( temp mediump 4-component vector of uint)
|
||||
0:6 'gl_SubgroupSize' ( flat in mediump uint unknown built-in variable)
|
||||
0:6 'gl_SubgroupInvocationID' ( flat in mediump uint unknown built-in variable)
|
||||
0:6 'gl_SubgroupSize' ( flat in mediump uint SubgroupSize)
|
||||
0:6 'gl_SubgroupInvocationID' ( flat in mediump uint SubgroupInvocationID)
|
||||
0:6 Constant:
|
||||
0:6 0 (const uint)
|
||||
0:6 Constant:
|
||||
@@ -30,8 +30,8 @@ Requested GL_KHR_shader_subgroup_basic
|
||||
0:6 move second child to first child ( temp mediump 4-component vector of uint)
|
||||
0:6 'data' (layout( location=0) out mediump 4-component vector of uint)
|
||||
0:6 Construct uvec4 ( temp mediump 4-component vector of uint)
|
||||
0:6 'gl_SubgroupSize' ( flat in mediump uint unknown built-in variable)
|
||||
0:6 'gl_SubgroupInvocationID' ( flat in mediump uint unknown built-in variable)
|
||||
0:6 'gl_SubgroupSize' ( flat in mediump uint SubgroupSize)
|
||||
0:6 'gl_SubgroupInvocationID' ( flat in mediump uint SubgroupInvocationID)
|
||||
0:6 Constant:
|
||||
0:6 0 (const uint)
|
||||
0:6 Constant:
|
||||
|
||||
Reference in New Issue
Block a user