summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-07-20 11:46:11 -0700
committerEric Anholt <eric@anholt.net>2009-09-04 12:19:25 -0700
commit61237b98bb02479bfa9eefe5e6bf62a3ce9468f7 (patch)
treeabcbb56b8d4ee8c5ccd0ec01313ed36516619d45 /tools
parentb66d2feb6981c41fae9eea003e7e55ff531d1317 (diff)
intel_gpu_dump: Don't pretend we understand vertex formats on 8xx.
Diffstat (limited to 'tools')
-rw-r--r--tools/intel_gpu_dump.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/tools/intel_gpu_dump.c b/tools/intel_gpu_dump.c
index 9bc00bf6..09cae3fe 100644
--- a/tools/intel_gpu_dump.c
+++ b/tools/intel_gpu_dump.c
@@ -920,13 +920,15 @@ decode_3d_1d(uint32_t *data, int count, uint32_t hw_offset, int *failures, int i
BUFFER_FAIL(count, len, "3DSTATE_LOAD_STATE_IMMEDIATE_1");
/* save vertex state for decode */
- if (word == 2) {
- saved_s2_set = 1;
- saved_s2 = data[i];
- }
- if (word == 4) {
- saved_s4_set = 1;
- saved_s4 = data[i];
+ if (IS_9XX(devid)) {
+ if (word == 2) {
+ saved_s2_set = 1;
+ saved_s2 = data[i];
+ }
+ if (word == 4) {
+ saved_s4_set = 1;
+ saved_s4 = data[i];
+ }
}
instr_out(data, hw_offset, i++, "S%d\n", word);