From: Samuel Iglesias Gonsálvez Date: Tue, 8 Nov 2016 15:55:46 +0000 (+0100) Subject: spirv: add double support to _vtn_variable_load_store X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0cd0c32c06e03672a95fa7e7cdbb4cd400f92e9f;p=mesa.git spirv: add double support to _vtn_variable_load_store Signed-off-by: Samuel Iglesias Gonsálvez Reviewed-by: Jason Ekstrand --- diff --git a/src/compiler/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c index e3845365bdd..3a5c23eff93 100644 --- a/src/compiler/spirv/vtn_variables.c +++ b/src/compiler/spirv/vtn_variables.c @@ -739,6 +739,7 @@ _vtn_variable_load_store(struct vtn_builder *b, bool load, case GLSL_TYPE_INT: case GLSL_TYPE_FLOAT: case GLSL_TYPE_BOOL: + case GLSL_TYPE_DOUBLE: /* At this point, we have a scalar, vector, or matrix so we know that * there cannot be any structure splitting still in the way. By * stopping at the matrix level rather than the vector level, we