summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2009-07-01 16:52:19 -0400
committerCarl Worth <cworth@cworth.org>2009-07-07 10:49:15 -0700
commit147f07b5c2248f57c75961b80e717bd83fcaa44b (patch)
treeba1170212a1dfb7e047042e61cf1289d905c62bc /tools
parent357e43a4f1e1e4561fa1ced59c47e1b489b21b2b (diff)
Add CONSTANT_BUFFER decoding
Diffstat (limited to 'tools')
-rw-r--r--tools/intel_gpu_dump.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/intel_gpu_dump.c b/tools/intel_gpu_dump.c
index 2dddb2e8..061c362c 100644
--- a/tools/intel_gpu_dump.c
+++ b/tools/intel_gpu_dump.c
@@ -1515,6 +1515,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");