From: Samuel Iglesias Gonsálvez Date: Thu, 10 Nov 2016 11:11:03 +0000 (+0100) Subject: spirv: add support for doubles on OpComposite{Insert,Extract} X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59944a77ae5a01b6fd074def1d5031e0b7d5e47b;p=mesa.git spirv: add support for doubles on OpComposite{Insert,Extract} Signed-off-by: Samuel Iglesias Gonsálvez Reviewed-by: Jason Ekstrand --- diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 00bcdd57799..a305858c928 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -1146,6 +1146,7 @@ vtn_handle_constant(struct vtn_builder *b, SpvOp opcode, case GLSL_TYPE_UINT: case GLSL_TYPE_INT: case GLSL_TYPE_FLOAT: + case GLSL_TYPE_DOUBLE: case GLSL_TYPE_BOOL: /* If we hit this granularity, we're picking off an element */ if (glsl_type_is_matrix(type)) {