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

vc4: Disable non-uniform loops in the vertex shader #90

Open
anholt opened this issue Jan 16, 2018 · 0 comments
Open

vc4: Disable non-uniform loops in the vertex shader #90

anholt opened this issue Jan 16, 2018 · 0 comments

Comments

@anholt
Copy link
Owner

anholt commented Jan 16, 2018

piglit glsl-vs-loop and some DEQP tests GPU hang because the non-dispatched vertex shader channels never trigger their break condition. We should emit a GLSL link failure for non-uniform loops, to fix the DEQP conformance issue and avoid the hangs. This will involve adding a new PIPE_SHADER_CAP_* to gallium, and using that in st_glsl_to_nir.c to check for non-uniform loops and emit the error.

This will probably want Jason's pass

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