decode: There are 4 unpreserved registers on i915, not 3.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2010-04-05 00:26:35 +01:00
parent 4278dc6e64
commit c3832aefbf

View File

@ -442,7 +442,7 @@ i915_get_instruction_src_name(uint32_t src_type, uint32_t src_nr, char *name)
break;
case 6:
sprintf(name, "U%d", src_nr);
if (src_nr > 2)
if (src_nr > 3)
fprintf(out, "bad src reg %s\n", name);
break;
default: