[Intel-gfx] [PATCH 3/4] Add CONSTANT_BUFFER decoding
Ben Gamari
bgamari.foss at gmail.com
Wed Jul 1 22:52:19 CEST 2009
---
tools/intel_gpu_dump.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/intel_gpu_dump.c b/tools/intel_gpu_dump.c
index d2551d0..2211484 100644
--- a/tools/intel_gpu_dump.c
+++ b/tools/intel_gpu_dump.c
@@ -1514,6 +1514,12 @@ decode_3d_965(uint32_t *data, int count, uint32_t hw_offset, int *failures)
case 0x6000:
len = (data[0] & 0x000000ff) + 2;
return i965_decode_urb_fence(data, hw_offset, len, count, failures);
+ case 0x6002:
+ instr_out(data, hw_offset, 0, "CONSTANT_BUFFER: %s\n",
+ (data[0] >> 8) & 1 ? "valid" : "invalid");
+ instr_out(data, hw_offset, 1, "offset: 0x%08x, length: 0x%08x\n",
+ data[1] >> 6, data[1] & 0x3f);
+ return len;
case 0x6101:
if (len != 6)
fprintf(out, "Bad count in STATE_BASE_ADDRESS\n");
--
1.6.3.3
More information about the Intel-gfx
mailing list