Skip to content
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

Do something with vertex-pixel shader linkage on DX11 #22

Open
quyse opened this issue Jun 28, 2014 · 1 comment
Open

Do something with vertex-pixel shader linkage on DX11 #22

quyse opened this issue Jun 28, 2014 · 1 comment

Comments

@quyse
Copy link
Owner

quyse commented Jun 28, 2014

Because of DirectX11's crazy linkage system we need to list all vertex shader's interpolates in pixel shader. Otherwise we will get Direct3D error about invalid linkage because output variables from vertex shader and input variables from pixel shader are set to different "hardware" registers. Maybe it is possible to workaround this automatically rather than manually, or invent some new abstraction like shader-stage interface.

@quyse quyse self-assigned this Jun 28, 2014
@quyse
Copy link
Owner Author

quyse commented Jan 6, 2015

Also it can silently make use of wrong interpolant, for example if you skip the first variable and use the second and types are the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant