summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_context.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2019-04-15 21:36:32 +0200
committerRoland Scheidegger <[email protected]>2019-04-16 00:49:38 +0200
commit88e0bbf24aa82000195d10c7873f881d190b825b (patch)
tree89def2116d4a17c316a2c32492d99291c5b3b260 /src/gallium/drivers/virgl/virgl_context.c
parent42351c21bbb9ed5e067737ac72e1da510832ddd7 (diff)
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: a3c898dc97ec "gallivm: fix improper clamping of vertex index when fetching gs inputs" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110441 Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_context.c')
0 files changed, 0 insertions, 0 deletions