Browse Source

spirv: Enable double floating points when copying variables in _vtn_variable_copy()

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 years ago
parent
commit
e6bebb9982
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/compiler/spirv/vtn_variables.c

+ 1
- 0
src/compiler/spirv/vtn_variables.c View File

@@ -816,6 +816,7 @@ _vtn_variable_copy(struct vtn_builder *b, struct vtn_access_chain *dest,
case GLSL_TYPE_UINT:
case GLSL_TYPE_INT:
case GLSL_TYPE_FLOAT:
case GLSL_TYPE_DOUBLE:
case GLSL_TYPE_BOOL:
/* At this point, we have a scalar, vector, or matrix so we know that
* there cannot be any structure splitting still in the way. By

Loading…
Cancel
Save