[Mesa-dev] [PATCH 2/7] i965: Add missing BRW_REGISTER_TYPE_UV.

Kenneth Graunke kenneth at whitecape.org
Tue Dec 10 02:33:13 PST 2013


Sandybridge added support for packed unsigned vectors.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/mesa/drivers/dri/i965/brw_defines.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h
index 3c43f8a..abecfc8 100644
--- a/src/mesa/drivers/dri/i965/brw_defines.h
+++ b/src/mesa/drivers/dri/i965/brw_defines.h
@@ -988,6 +988,7 @@ operator|(brw_urb_write_flags x, brw_urb_write_flags y)
 #define BRW_REGISTER_TYPE_W   3
 #define BRW_REGISTER_TYPE_UB  4
 #define BRW_REGISTER_TYPE_B   5
+#define BRW_REGISTER_TYPE_UV  4	/* Gen6+ packed unsigned immediate vector */
 #define BRW_REGISTER_TYPE_VF  5	/* packed float vector, immediates only? */
 #define BRW_REGISTER_TYPE_V   6	/* packed int vector, immediates only, uword dest only */
 #define BRW_REGISTER_TYPE_F   7
-- 
1.8.4.4



More information about the mesa-dev mailing list