diff options
author | Paul Berry <[email protected]> | 2011-09-23 21:36:17 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-28 11:38:04 -0700 |
commit | 64ce64a3f88f0c33a3f9a97f231bd98983887e27 (patch) | |
tree | 5557401027a10143dfb3dfd3459d37d7ce592895 /src/mesa/vbo | |
parent | cc3a699e32bed62c38b3b2de280973f067962504 (diff) |
i965 new VS: Fix bugs in pre-GEN6 psiz/flags computation
This patch corrects two errors in the computation of the psiz/flags
VUE slot on pre-GEN5 when using the new VS backend:
- The clip flags (which should be stored in the w component of the
first VUE slot) were being accidentally duplicated in all other
components of that VUE slot, causing partially clipped triangles to
sometimes disappear completely.
- The OR instruction wasn't being stored in "inst", causing the
BRW_PREDICATE_NORMAL flag to be applied to the wrong instruction.
This patch fixes regressions in clipping behavior when using shaders
on GEN4-5.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/vbo')
0 files changed, 0 insertions, 0 deletions