-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
BreakingA proposal that will break at least some existing shadersA proposal that will break at least some existing shaders
Milestone
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
GetAttributeAtVertexaren'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
Labels
BreakingA proposal that will break at least some existing shadersA proposal that will break at least some existing shaders
Type
Projects
Status
Triaged