Skip to contentSkip to conversation

intel/decode: VERTEX_ELEMENT_STATE, 1 means valid

PATCH In review Ben Widawsky 2 participants 3 messages Jun 25, 2012 – Jun 27, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 intel/decode: VERTEX_ELEMENT_STATE, 1 means valid

The logic seemed to be inverse to me.

---
 intel/intel_decode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
intel/intel_decode.c +1 -1
index c9bfee4..eac48c3 100644
@@ -3390,7 +3390,7 @@ decode_3d_965(struct drm_intel_decode *ctx)
 				  "src offset 0x%04x bytes\n",
 				  data[i] >> (IS_GEN6(devid) ? 26 : 27),
 				  data[i] & (1 << (IS_GEN6(devid) ? 25 : 26)) ?
-				  "" : "in", (data[i] >> 16) & 0x1ff,
+				  "in" : "", (data[i] >> 16) & 0x1ff,
 				  data[i] & 0x07ff);
 			i++;
 			instr_out(ctx, i, "(%s, %s, %s, %s), "
Signature · 1 line
1.7.11