From c8f5ac542c91f2533db72abe30546df8fb8aee0f Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 15 Apr 2010 09:48:00 +0100 Subject: [PATCH] decode: Use a valid S4 mask [VERTEX_XY] for 3DPRIM_CLEAR_RECT Signed-off-by: Chris Wilson --- tools/intel_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/intel_decode.c b/tools/intel_decode.c index 87914f7..767183a 100644 --- a/tools/intel_decode.c +++ b/tools/intel_decode.c @@ -1132,7 +1132,7 @@ decode_3d_primitive(uint32_t *data, int count, uint32_t hw_offset, case 0x7: primtype = "RECTLIST"; break; case 0x8: primtype = "POINTLIST"; break; case 0x9: primtype = "DIB"; break; - case 0xa: primtype = "CLEAR_RECT"; saved_s4 = 0; break; + case 0xa: primtype = "CLEAR_RECT"; saved_s4 = 3 << 6; break; default: primtype = "unknown"; break; } -- 2.7.4