diff options
author | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2014-10-20 11:36:23 +0300 |
---|---|---|
committer | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2014-11-11 11:15:04 +0200 |
commit | 50471125bc6f4bbb3c05f64184029ade5ca5032f (patch) | |
tree | 4bd9b6233fbc1958bbb32a7dbcd4c32b4ec92d2f | |
parent | fa9d32de406eb70dde120a2f2b4d03ce7551f65e (diff) |
i965/vec4: Treat double precision floats as any other basic type
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index b5bb2864c7..756d80cb44 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -570,6 +570,7 @@ type_size(const struct glsl_type *type) case GLSL_TYPE_INT: case GLSL_TYPE_FLOAT: case GLSL_TYPE_BOOL: + case GLSL_TYPE_DOUBLE: if (type->is_matrix()) { return type->matrix_columns; } else { @@ -598,7 +599,6 @@ type_size(const struct glsl_type *type) return 0; case GLSL_TYPE_IMAGE: case GLSL_TYPE_VOID: - case GLSL_TYPE_DOUBLE: case GLSL_TYPE_ERROR: case GLSL_TYPE_INTERFACE: unreachable("not reached"); |