tests: wire dormant VOP3 lane-read check and guard new dormant tests (#840)

Tests: enable lane-read coverage and clarify layout failures

Co-authored-by: nmzik <Nmzik@mail.ru>
This commit is contained in:
Matthew Hurley
2026-09-27 21:37:32 +10:00
committed by GitHub
parent e51f252b75
commit 1b6af301b5
2 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -2042,9 +2042,9 @@ void TestNewShaderRecompilerVop3LaneReadDestinationEncoding() {
options.dump_ir = true;
auto result = RecompileForTest(shader, options);
Check((result.decoded_dump.find("v_readfirstlane_b32 s25, v5") != std::string::npos),
Check((result.decoded_dump.find("V_READFIRSTLANE_B32 s25, v5") != std::string::npos),
"VOP3 V_READFIRSTLANE_B32 destination was not decoded from VDST");
Check((result.decoded_dump.find("v_readlane_b32 s26, v5, 2") != std::string::npos),
Check((result.decoded_dump.find("V_READLANE_B32 s26, v5, 2") != std::string::npos),
"VOP3 V_READLANE_B32 destination was not decoded from VDST");
CheckSpirvBinaryValidates(result.spirv);
}
@@ -13714,5 +13714,7 @@ int main() {
TestGraphicsPushConstantPlacement();
TestNewShaderRecompilerUnsupportedMemoryDecode();
TestNewShaderRecompilerVop3LaneReadDestinationEncoding();
return 0;
}