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

vkd3d-shader: EvaluateAttributeSnapped offset broken #2196

Open
DadSchoorse opened this issue Nov 7, 2024 · 0 comments
Open

vkd3d-shader: EvaluateAttributeSnapped offset broken #2196

DadSchoorse opened this issue Nov 7, 2024 · 0 comments

Comments

@DadSchoorse
Copy link
Contributor

This issue is just a reminder that the intrinsic is broken, nothing really uses it in practice.

DXBC/DXIL's offset is some weird fixed point, SPIR-V's (interpolateAtOffset) is a float. vkd3d-shader doesn't convert it, so it effectively always passes a denorm. dxil-spirv gets it right.

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

No branches or pull requests

1 participant