[Mesa-dev] [PATCH 2/2] glsl: reduce size of swizzle field in ir_state_slot
Tapani Pälli
tapani.palli at intel.com
Tue May 27 22:09:48 PDT 2014
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 ef4a12d..bc19208 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -357,7 +357,7 @@ depth_layout_string(ir_depth_layout layout);
*/
struct ir_state_slot {
int tokens[5];
- int swizzle;
+ uint8_t swizzle;
};
--
1.8.3.1
More information about the mesa-dev
mailing list