From 15896a470b2b56cefc2a00ce458fd784ed42cee9 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 9 Jun 2016 07:50:43 +1000 Subject: glsl/types: rename is_dual_slot_double to is_dual_slot_64bit. In the future int64 support will have the same requirements. Reviewed-by: Ilia Mirkin Signed-off-by: Dave Airlie --- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index 4b5dfe6e5b5..b392919e540 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -585,7 +585,7 @@ type_size_xvec4(const struct glsl_type *type, bool as_vec4) if (type->is_matrix()) { const glsl_type *col_type = type->column_type(); unsigned col_slots = - (as_vec4 && col_type->is_dual_slot_double()) ? 2 : 1; + (as_vec4 && col_type->is_dual_slot()) ? 2 : 1; return type->matrix_columns * col_slots; } else { /* Regardless of size of vector, it gets a vec4. This is bad @@ -593,7 +593,7 @@ type_size_xvec4(const struct glsl_type *type, bool as_vec4) * mess. Hopefully a later pass over the code can pack scalars * down if appropriate. */ - return (as_vec4 && type->is_dual_slot_double()) ? 2 : 1; + return (as_vec4 && type->is_dual_slot()) ? 2 : 1; } case GLSL_TYPE_ARRAY: assert(type->length > 0); -- cgit v1.2.3