HLSL compiler should legalize SPIR-V output via SPIRV-Tools when available
HLSL compiler should legalize SPIR-V output via SPIRV-Tools when available: a task in LegoFlow-SWE (Harbor dataset). When compiling HLSL shaders that reference opaque types – such as Texture2D , SamplerState , or their combinations – the resulting SPIR-V module may contain operations that are not…
The task
When compiling HLSL shaders that reference opaque types – such as `Texture2D`, `SamplerState`, or their combinations – the resulting SPIR-V module may contain operations that are not legal for Vulkan consumers. Observed problems include:
Part of Lego-X/LegoFlow-SWE.