Narrowing bit_cast fails vulkan validation #3983
Labels
goal:quality & productivity
Quality issues and issues that impact our productivity coding day to day inside slang
kind:enhancement
a desirable new feature, option, or behavior
Hi,
the following program fails vulkan validation when compiled using slang 2024.1.7 with the command
slangc.exe -entry computeMain -stage compute -target spirv -O0 -emit-spirv-directly -o shader.spv && spirv-val.exe shader.spv
:Gives me the following SPIRV validation error (using spirv-val from the 1.3.280.0 Vulkan SDK):
I'd rather have the warning already in slang's frontend instead of only during SPIRV validation.
Thanks for having a look!
The text was updated successfully, but these errors were encountered: