spirv: Support initializers on uniforms (#1588)
If a uniform has an initializer it will now be given as the optional initializer operand to the OpVariable instruction. Fixes: https://github.com/KhronosGroup/glslang/issues/1259 Signed-off-by: Neil Roberts <nroberts@igalia.com> (the code) Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com> (the tests) Signed-off-by: Arcady Goldmints-Orlov <agoldmints@igalia.com> Co-authored-by: Neil Roberts <nroberts@igalia.com>
This commit is contained in:
parent
232ba0d848
commit
ff6dcca575
8 changed files with 193 additions and 1 deletions
|
|
@ -604,6 +604,9 @@ INSTANTIATE_TEST_CASE_P(
|
|||
"spv.specConst.vert",
|
||||
"spv.specTexture.frag",
|
||||
"spv.OVR_multiview.vert",
|
||||
"spv.uniformInitializer.frag",
|
||||
"spv.uniformInitializerSpecConstant.frag",
|
||||
"spv.uniformInitializerStruct.frag",
|
||||
"spv.xfbOffsetOnBlockMembersAssignment.vert",
|
||||
"spv.xfbOffsetOnStructMembersAssignment.vert",
|
||||
"spv.xfbOverlapOffsetCheckWithBlockAndMember.vert",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue