Browse Source

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

tags/mesa_7_3_rc1
Brian Paul 16 years ago
parent
commit
0e2f757413
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/mesa/shader/slang/slang_compile_variable.c

+ 3
- 0
src/mesa/shader/slang/slang_compile_variable.c View File

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

Loading…
Cancel
Save