spirv: Enable double floating points when copying variables in _vtn_variable_copy()
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 10 Nov 2016 11:07:53 +0000 (12:07 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 9 Jan 2017 08:10:13 +0000 (09:10 +0100)
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/vtn_variables.c

index 3fd29ff88da1fab77685da21812aa7b06ff2c425..9b84c970af714cea7a16261010f29d46a80905b8 100644 (file)
@@ -816,6 +816,7 @@ _vtn_variable_copy(struct vtn_builder *b, struct vtn_access_chain *dest,
    case GLSL_TYPE_UINT:
    case GLSL_TYPE_INT:
    case GLSL_TYPE_FLOAT:
+   case GLSL_TYPE_DOUBLE:
    case GLSL_TYPE_BOOL:
       /* 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