On Sun, 12 Jun 2011 21:14:50 -0700, Paul Berry <stereotype...@gmail.com> wrote: > 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.
Reviewed-by: Eric Anholt <e...@anholt.net> Is this caught by any new testcase? It's not a requirement, just thinking that since you were building testcases like this recently, it might be easy.
pgpIgojU2HzAw.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev