From 152f5eea621c2c6bb50b82d703b4816263c7f294 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 9 Jun 2016 07:07:42 +1000 Subject: mesa: use new 64-bit checks instead of explicit double checks. This just moves to the new interfaces in advance of int64. Reviewed-by: Ilia Mirkin Signed-off-by: Dave Airlie --- src/mesa/program/ir_to_mesa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/program/ir_to_mesa.cpp') diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index b10648ba9d9..3a5f05837af 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -2407,7 +2407,7 @@ add_uniform_to_shader::visit_field(const glsl_type *type, const char *name, if (type->is_vector() || type->is_scalar()) { size = type->vector_elements; - if (type->is_double()) + if (type->is_64bit()) size *= 2; } else { size = type_size(type) * 4; -- cgit v1.2.3