Przeglądaj źródła

mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()

tags/mesa_7_3_rc1
Brian Paul 16 lat temu
rodzic
commit
0e2f757413
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3
    0
      src/mesa/shader/slang/slang_compile_variable.c

+ 3
- 0
src/mesa/shader/slang/slang_compile_variable.c Wyświetl plik

@@ -122,6 +122,9 @@ slang_fully_specified_type_copy(slang_fully_specified_type * x,
if (!slang_fully_specified_type_construct(&z))
return 0;
z.qualifier = y->qualifier;
z.precision = y->precision;
z.variant = y->variant;
z.centroid = y->centroid;
if (!slang_type_specifier_copy(&z.specifier, &y->specifier)) {
slang_fully_specified_type_destruct(&z);
return 0;

Ładowanie…
Anuluj
Zapisz