diff options
author | Kenneth Graunke <[email protected]> | 2012-08-24 18:40:40 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-09-06 16:39:48 -0700 |
commit | 815d9d405c69bb07d550ae9f79283dcdc7466e2c (patch) | |
tree | cdb548669e17907c613ad5e66cf86805851eaed4 /src/glx/glxcmds.c | |
parent | 058fb0071639d076a850dd29120a232fe7fdbce6 (diff) |
i965: Fix primitive restart on Haswell.
Haswell moved the "Cut Index Enable" bit from the INDEX_BUFFER packet to
a new 3DSTATE_VF packet, so we need to emit that. Also, it requires us
to specify the cut index rather than assuming it's 0xffffffff.
This adds a new Haswell-specific tracked state atom to gen7_atoms.
Normally, we would create a new generation-specific atom list, but since
there's only one difference over Ivybridge so far, I chose to simply
make it return without doing any work on non-Haswell systems.
Fixes five piglit tests:
- general/primitive-restart-DISABLE_VBO
- general/primitive-restart-VBO_COMBINED_VERTEX_AND_INDEX
- general/primitive-restart-VBO_INDEX_ONLY
- general/primitive-restart-VBO_SEPARATE_VERTEX_AND_INDEX
- general/primitive-restart-VBO_VERTEX_ONLY
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/glx/glxcmds.c')
0 files changed, 0 insertions, 0 deletions