diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-07 10:26:35 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-07 13:32:43 -0600 |
commit | a78f295f7ca0a93fdaeda559668fda013c2a03b0 (patch) | |
tree | 6cf6006bc61e18f122560f9af9b3ad4131113371 /src/mesa/shader/slang/slang_compile_variable.h | |
parent | 1ffd6908d4153d647f8a3bf1ba9fe9d33c206185 (diff) |
mesa: glsl: finish up support for precision qualifiers
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_variable.h')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_variable.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.h b/src/mesa/shader/slang/slang_compile_variable.h index 9b0f85859a..d81a3d2869 100644 --- a/src/mesa/shader/slang/slang_compile_variable.h +++ b/src/mesa/shader/slang/slang_compile_variable.h @@ -51,10 +51,20 @@ slang_type_specifier_type_to_string(slang_type_specifier_type); +typedef enum slang_type_precision_ +{ + SLANG_PREC_DEFAULT, + SLANG_PREC_LOW, + SLANG_PREC_MEDIUM, + SLANG_PREC_HIGH +} slang_type_precision; + + typedef struct slang_fully_specified_type_ { slang_type_qualifier qualifier; slang_type_specifier specifier; + slang_type_precision precision; } slang_fully_specified_type; extern int |