瀏覽代碼

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>
tags/17.0-branchpoint
Samuel Iglesias Gonsálvez 8 年之前
父節點
當前提交
59944a77ae
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      src/compiler/spirv/spirv_to_nir.c

+ 1
- 0
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)) {

Loading…
取消
儲存