spirv: add support for doubles on OpComposite{Insert,Extract}

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 12:11:03 +01:00
parent e6bebb9982
commit 59944a77ae

View File

@@ -1146,6 +1146,7 @@ vtn_handle_constant(struct vtn_builder *b, SpvOp opcode,
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:
/* If we hit this granularity, we're picking off an element */ /* If we hit this granularity, we're picking off an element */
if (glsl_type_is_matrix(type)) { if (glsl_type_is_matrix(type)) {