Quellcode durchsuchen

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 vor 8 Jahren
Ursprung
Commit
e6bebb9982
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1
    0
      src/compiler/spirv/vtn_variables.c

+ 1
- 0
src/compiler/spirv/vtn_variables.c Datei anzeigen

@@ -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

Laden…
Abbrechen
Speichern