spirv: add double support to _vtn_block_load_store()

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Samuel Iglesias Gonsálvez
2016-11-10 10:07:09 +01:00
parent 0cd0c32c06
commit 9d71cfeff8

View 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_UINT:
case GLSL_TYPE_INT: case GLSL_TYPE_INT:
case GLSL_TYPE_FLOAT: case GLSL_TYPE_FLOAT:
case GLSL_TYPE_DOUBLE:
case GLSL_TYPE_BOOL: case GLSL_TYPE_BOOL:
/* This is where things get interesting. At this point, we've hit /* This is where things get interesting. At this point, we've hit
* a vector, a scalar, or a matrix. * a vector, a scalar, or a matrix.