Skip to content

Re-enable scalar-fp8 (vk) test once spirv-tools supports fp8 constant folding #11766

Description

@expipiplus1

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).

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions