summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_shader.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-06-19 00:28:36 -0400
committerIlia Mirkin <[email protected]>2016-06-19 10:14:57 -0400
commit154c0a42a23187c61ea0a1307198fae667398eba (patch)
tree22eef79e414c980227d295abce8f271f5ba2af99 /src/gallium/drivers/ilo/ilo_shader.c
parent1804aa0b80cf5b1ee5d97bc33a12808c78673a12 (diff)
nvc0: don't make use of push hint if there are no non-const user vbos
This makes the check match up what we do on nv50 as well - there's no point in switching over the push path if everything's in managed buffers. This can happen when a shader uses a vertex without an enabled array - we end up passing it a constant attribute. This also has the effect of "fixing" some flickering in Talos. I have no idea why. I've stared at the push logic forwards, backwards, and sideways. By always forcing the push path (which is slow), the flickering also goes away, but other rendering is still wrong (specifically draw 383068 as identified in the bug). However by not switching over to the push path, draw 383068 is correct. Note that other flickering remains in Talos, like the red/green walls/floors. This takes care of the shadow flickering though. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90513 Signed-off-by: Ilia Mirkin <[email protected]> Cc: "12.0" <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_shader.c')
0 files changed, 0 insertions, 0 deletions