Commit 3418cb4c by Daniel Koch

Add AST tests for mesh and task shaders

with subgroup touch testing (error and non-error cases) Add missing symbolTable.relateToOperator("subgroupMemoryBarrierShared") call for Mesh/Task shaders so they don't assert in ParseHelper.cpp
parent 51760c88
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -9554,6 +9554,7 @@ void TBuiltIns::identifyBuiltIns(int version, EProfile profile, const SpvVersion
if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
}
break;
#endif
......
......@@ -253,6 +253,8 @@ INSTANTIATE_TEST_CASE_P(
"glsl.450.subgroupShuffleRelative.comp",
"glsl.450.subgroupQuad.comp",
"glsl.450.subgroupVote.comp",
"glsl.460.subgroup.mesh",
"glsl.460.subgroup.task",
"glsl.es320.subgroup.frag",
"glsl.es320.subgroup.geom",
"glsl.es320.subgroup.tesc",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment