spirv: add double support to _vtn_variable_load_store
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 8 Nov 2016 15:55:46 +0000 (16:55 +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 e3845365bddb7bcfdb0785f40b443fcb57a2384d..3a5c23eff93d6e60f8c42534533a61d398c4feb5 100644 (file)
@@ -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