diff options
author | Brian Paul <[email protected]> | 2008-11-24 09:13:14 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-11-24 09:13:14 -0700 |
commit | 0e2f757413a68f0edb6643ea23ad8d879d077f11 (patch) | |
tree | a3f874d97574f32ae668e4c6b052c4addcd7f46f /src/mesa/shader/slang | |
parent | 3197954554bfc492283c7db009d10ab408664cad (diff) |
mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()
Diffstat (limited to 'src/mesa/shader/slang')
-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; |