spirv: add double support to _vtn_block_load_store()
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 10 Nov 2016 09:07:09 +0000 (10: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 3a5c23eff93d6e60f8c42534533a61d398c4feb5..3fd29ff88da1fab77685da21812aa7b06ff2c425 100644 (file)
@@ -527,6 +527,7 @@ _vtn_block_load_store(struct vtn_builder *b, nir_intrinsic_op op, bool load,
    case GLSL_TYPE_UINT:
    case GLSL_TYPE_INT:
    case GLSL_TYPE_FLOAT:
+   case GLSL_TYPE_DOUBLE:
    case GLSL_TYPE_BOOL:
       /* This is where things get interesting.  At this point, we've hit
        * a vector, a scalar, or a matrix.