-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect and deduplicate system semantic input/output. #5530
Comments
The problem is that SV_Position is declared twice in the fragment shader parameter list, once in |
Ah, it might be nice to have some warning for this, thank you for the information |
@csyonghe It might be nice to have some syntax like struct VertOutput
{
float4 pos : SV_Position, REAL_POS;
} so that if I need to pass the vertex position into the fragment shader I dont have to do this struct VertOutput
{
float4 pos : SV_Position;
float3 realPos : REAL_POS;
} although im not sure its really that big of an issue |
I hit this validation error with |
using this fragment shader
We are met with these fun validation errors
But if we just return color or just return diffuse, there is no validation errors, hence why this confuses me, on latest release btw
The text was updated successfully, but these errors were encountered: