diff options
author | Paul Berry <stereotype441@gmail.com> | 2011-08-24 12:19:10 -0700 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2011-09-06 11:04:37 -0700 |
commit | 8b362477d931af40e1a00fc308ebd0b25b722aa2 (patch) | |
tree | 5f2c4baf68b4b619e320f15a75516af87b5dc783 /SConstruct | |
parent | 4a1fb81902a7863d5dfe304e5e4ca2c631159be1 (diff) | |
download | external_mesa3d-8b362477d931af40e1a00fc308ebd0b25b722aa2.zip external_mesa3d-8b362477d931af40e1a00fc308ebd0b25b722aa2.tar.gz external_mesa3d-8b362477d931af40e1a00fc308ebd0b25b722aa2.tar.bz2 |
i965: SF: change get_vert_attr to use the VUE map, and rename it.
The new function, called get_vert_result(), uses the VUE map to find
the register containing a given vertex attribute. Previously, we used
the attr_to_idx[] array, which served the same purpose but didn't
account for gl_PointSize correctly.
This fixes a bug on pre-Gen6 wherein the back side of a triangle would
be rendered incorrectyl if the vertex shader wrote to gl_PointSize.
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions