Skip to content
Commit ce4b6974 authored by Roland Scheidegger's avatar Roland Scheidegger Committed by Dylan Baker
Browse files

gallivm: fix bogus assert in get_indirect_index

0 is a valid value as max index, and the code handles it fine. This isn't
commonly seen, as it will only happen with array declarations of size 1.
Fixes piglit tests/shaders/complex-loop-analysis-bug.shader_test

Fixes: a3c898dc "gallivm: fix improper clamping of vertex index when fetching gs inputs"
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110441



Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
(cherry picked from commit 88e0bbf2)
parent 0ffd4c74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment