decode: Fix interpretation of i915 8bit formats

2/3 are reserved with the correct values for A8/I8 being 4/5
respectively.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2011-12-10 12:49:10 +00:00
parent 5a9d82c6d5
commit 10e36edabe

View File

@ -1357,8 +1357,8 @@ decode_3d_1d(uint32_t *data, int count,
switch ((dword>>3) & 0xf) {
case 0: format = "I"; break;
case 1: format = "L"; break;
case 2: format = "A"; break;
case 3: format = " mono"; break; }
case 4: format = "A"; break;
case 5: format = " mono"; break; }
break;
case 2:
type = "16b";