diff options
author | Brian Paul <[email protected]> | 2008-11-24 09:13:14 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-11-24 13:11:05 -0700 |
commit | ed225446588a145879e21ae4d4e3440fcc2d11ca (patch) | |
tree | e96efacf6736da37efe95515254a3049c5b2857d | |
parent | 891cf754b3c6d624cd5f29d04033831adde59848 (diff) |
mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()
-rw-r--r-- | src/mesa/shader/slang/slang_compile_variable.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.c b/src/mesa/shader/slang/slang_compile_variable.c index 37fb2eedb1f..abe9c55d799 100644 --- a/src/mesa/shader/slang/slang_compile_variable.c +++ b/src/mesa/shader/slang/slang_compile_variable.c @@ -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; |