diff options
author | Kenneth Graunke <[email protected]> | 2017-05-10 19:39:36 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-05-29 21:46:33 -0700 |
commit | 4ce103e01a8959d604d1de9b99e627b95ffaec45 (patch) | |
tree | d93cbbad3942c03e2a253fda3b25d5263c7a6743 /CleanSpec.mk | |
parent | 7f4645e89cb61d856f386d148566002652d2d4fd (diff) |
i965: Rework Sandybridge 3DSTATE_VIEWPORT_STATE_POINTERS.
On Gen7+ we emit 3DSTATE_VIEWPORT_STATE_POINTERS_{SF_CL,CC} when
emitting a new viewport.
This patch makes us take the same approach on Sandybridge - but because
we have a combined command, we just set the appropriate "change" bits.
This eliminates an atom, some dirty flagging, and some brw->*.vp_offset
writes. It does mean we'll emit two 3DSTATE_VIEWPORT_STATE_POINTERS
instead of one if both change, but that's probably fine.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions