intel: Correct the word decoding for gen2 3DSTATE_LOAD_STATE_IMMEDIATE_1
[glsdk/libdrm.git] / intel / intel_decode.c
index 19a8d368318b8291be17386e3bd3fd3efc8deff1..a4b045ac4aed33a018da088382124a011e6e27f6 100644 (file)
@@ -1714,7 +1714,7 @@ decode_3d_1d(struct drm_intel_decode *ctx)
                                        }
                                } else {
                                        instr_out(ctx, i,
                                        }
                                } else {
                                        instr_out(ctx, i,
-                                                 "S%d: 0x%08x\n", i, data[i]);
+                                                 "S%d: 0x%08x\n", word, data[i]);
                                }
                                i++;
                        }
                                }
                                i++;
                        }