intel/decode: VERTEX_ELEMENT_STATE, 1 means valid

The logic seemed to be inverse to me.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
main
Ben Widawsky 2012-06-24 20:35:57 -07:00
parent eeedb0dcc4
commit 7d0a1d5ebb
1 changed files with 1 additions and 1 deletions

View File

@ -3392,7 +3392,7 @@ decode_3d_965(struct drm_intel_decode *ctx)
"src offset 0x%04x bytes\n", "src offset 0x%04x bytes\n",
data[i] >> (IS_GEN6(devid) ? 26 : 27), data[i] >> (IS_GEN6(devid) ? 26 : 27),
data[i] & (1 << (IS_GEN6(devid) ? 25 : 26)) ? data[i] & (1 << (IS_GEN6(devid) ? 25 : 26)) ?
"" : "in", (data[i] >> 16) & 0x1ff, "in" : "", (data[i] >> 16) & 0x1ff,
data[i] & 0x07ff); data[i] & 0x07ff);
i++; i++;
instr_out(ctx, i, "(%s, %s, %s, %s), " instr_out(ctx, i, "(%s, %s, %s, %s), "