vk::image_format support missing from HLSL compile
The following code:
[[vk::image_format("rgba8")]] RWTexture2D<float4> isw;
fails with
warning: 'image_format' : unrecognized attribute
As of right now, glslang HLSL support is not under active development, though there are occasionally bugfixes. We certainly won't say no to patches for new features, but it's up to the community to develop them.
I understand that HLSL is not a priority, but is it possible that this issue is looked at? Vulkan validation layers recently added a new check for format mismatch, which revealed this is a big problem. Essentially writes to UAVs are only valid to 32-bit float textures, otherwise it is an undefined behavior.
Closing. Moved to slang since slang is being actively developed.