Open
Description
Is your feature request related to a problem? Please describe.
The current implementation of GetAttributeAtVertex has bugs which are products of the design rather than just the implementation:
- GetAttributeAtVertex() doesn't work on function parameters DirectXShaderCompiler#6220
- Attributes read via
GetAttributeAtVertex
aren't counted as read in the signature DirectXShaderCompiler#5417 - [SPIR-V][Sema] Requires nointerpolation on GetAttributeAtVertex param #0 DirectXShaderCompiler#6453
Describe the solution you'd like
We need to design a different approach to this feature that doesn't rely on compiler optimization to guarantee correctness.
Describe alternatives you've considered
- Use a proper type qualification for data that may have attributes
- Use a boxed type for parameters that may have attributes
Metadata
Metadata
Assignees
Type
Projects
Status
Triaged