Open onitake opened 5 years ago
The text has long been forgotten at that point.
There should be some bidirectional map connecting these, used both at parse time and warning time. That would clean up the long if-then-else chain and enable your request.
When compiling HLSL shaders to Vulkan SPIR-V, unknown or unsupported attributes are reported as the empty string (''). This makes it harder to find the source of the problem.
Example:
Compiled with:
Output:
The unsupported attribute here is
[earlydepthstencil]
- it would be helpful if this was printed.