summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/indices
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-06-12 10:47:46 -0700
committerPaul Berry <[email protected]>2011-06-24 15:35:49 -0700
commit95c2e0b601fd333cc73d7f214a3cd949f7e45aac (patch)
treede65f8ca6b729170ea708e2625727ad99d8475d3 /src/gallium/auxiliary/indices
parent3acae4591566ed9560798e23edb5416e6a614a21 (diff)
i965: fix mask used to write to clip distance registers when gen>6
In gen6 and above, clip distances 0-3 are written to message register 3's xyzw components, and 4-7 to message register 4's xyzw components. Therefore when when writing the clip distances we need to examine the lower 2 bits of the clip distance index to see which component to write to. emit_vertex_write() was examining the lower 3 bits, causing clip distances 4-7 not to be written correctly. Fixes piglit test vs-clip-vertex-01.shader_test
Diffstat (limited to 'src/gallium/auxiliary/indices')
0 files changed, 0 insertions, 0 deletions