Summary
PR #11744 added tests/hlsl-intrinsic/scalar-fp8.slang (vk) to tests/expected-failure-no-gpu.txt as a temporary workaround.
The fp8 scalar test aborts during SPIR-V optimization: an fp8 scalar float constant reaches spirv-tools' constant folder, whose GetWordsFromScalarFloatConstant (folding_rules.cpp) asserts the float width is 16/32/64 and aborts on width 8.
Action
Once the spirv-tools fix for fp8 constant folding is upstreamed and pulled into Slang's external/spirv-tools submodule, remove the tests/hlsl-intrinsic/scalar-fp8.slang (vk) entry from tests/expected-failure-no-gpu.txt and confirm the test passes.
Follow-up to #11744 (requested by @szihs).
Summary
PR #11744 added
tests/hlsl-intrinsic/scalar-fp8.slang (vk)totests/expected-failure-no-gpu.txtas a temporary workaround.The fp8 scalar test aborts during SPIR-V optimization: an fp8 scalar float constant reaches spirv-tools' constant folder, whose
GetWordsFromScalarFloatConstant(folding_rules.cpp) asserts the float width is 16/32/64 and aborts on width 8.Action
Once the spirv-tools fix for fp8 constant folding is upstreamed and pulled into Slang's
external/spirv-toolssubmodule, remove thetests/hlsl-intrinsic/scalar-fp8.slang (vk)entry fromtests/expected-failure-no-gpu.txtand confirm the test passes.Follow-up to #11744 (requested by @szihs).