mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
i965: Update invariant state for Broadwell.
The only difference is that STATE_SIP takes a 48-bit address, so we need to output two zeroes. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
37e9b5e305
commit
4c6a1d380a
1 changed files with 12 additions and 4 deletions
|
|
@ -939,10 +939,18 @@ brw_upload_invariant_state(struct brw_context *brw)
|
|||
ADVANCE_BATCH();
|
||||
}
|
||||
|
||||
BEGIN_BATCH(2);
|
||||
OUT_BATCH(CMD_STATE_SIP << 16 | (2 - 2));
|
||||
OUT_BATCH(0);
|
||||
ADVANCE_BATCH();
|
||||
if (brw->gen >= 8) {
|
||||
BEGIN_BATCH(3);
|
||||
OUT_BATCH(CMD_STATE_SIP << 16 | (3 - 2));
|
||||
OUT_BATCH(0);
|
||||
OUT_BATCH(0);
|
||||
ADVANCE_BATCH();
|
||||
} else {
|
||||
BEGIN_BATCH(2);
|
||||
OUT_BATCH(CMD_STATE_SIP << 16 | (2 - 2));
|
||||
OUT_BATCH(0);
|
||||
ADVANCE_BATCH();
|
||||
}
|
||||
|
||||
BEGIN_BATCH(1);
|
||||
OUT_BATCH(brw->CMD_VF_STATISTICS << 16 |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue