[Mesa-dev] [PATCH v2] glsl: reduce size of swizzle field in ir_state_slot
Tapani Pälli
tapani.palli at intel.com
Wed May 28 03:53:32 PDT 2014
v2: oops, swizzle needs more space than 8 bits (Tapani)
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
src/glsl/ir.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index fccbfdd..22d981a 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -384,7 +384,7 @@ depth_layout_string(ir_depth_layout layout);
*/
struct ir_state_slot {
int tokens[5];
- int swizzle;
+ uint16_t swizzle;
};
--
1.8.3.1
More information about the mesa-dev
mailing list