mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
Add Sandybridge decode for CMD_VIEWPORT_STATE_POINTERS
This commit is contained in:
parent
0a497420cd
commit
3523386441
@ -1697,6 +1697,18 @@ decode_3d_965(uint32_t *data, int count, uint32_t hw_offset, uint32_t devid, int
|
|||||||
}
|
}
|
||||||
return len;
|
return len;
|
||||||
|
|
||||||
|
case 0x780d:
|
||||||
|
len = (data[0] & 0xff) + 2;
|
||||||
|
if (len != 4)
|
||||||
|
fprintf(out, "Bad count in 3DSTATE_VIEWPORT_STATE_POINTERS\n");
|
||||||
|
if (count < len)
|
||||||
|
BUFFER_FAIL(count, len, "3DSTATE_VIEWPORT_STATE_POINTERS");
|
||||||
|
instr_out(data, hw_offset, 0, "3DSTATE_VIEWPORT_STATE_POINTERS\n");
|
||||||
|
instr_out(data, hw_offset, 1, "clip\n");
|
||||||
|
instr_out(data, hw_offset, 2, "sf\n");
|
||||||
|
instr_out(data, hw_offset, 3, "cc\n");
|
||||||
|
return len;
|
||||||
|
|
||||||
case 0x780a:
|
case 0x780a:
|
||||||
len = (data[0] & 0xff) + 2;
|
len = (data[0] & 0xff) + 2;
|
||||||
if (len != 3)
|
if (len != 3)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user