X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglsl%2Fir_uniform.h;h=225da3fc5efaab02530b7498dd1512ea14ad27d1;hb=2bb91274e2cc2290ce8e790335f1e57b81d9d783;hp=f53388c5e4d5837e5a0497d1c114382d4a5189d1;hpb=4ad460991cb1f4d8904b075133af414a624a27f3;p=mesa.git diff --git a/src/glsl/ir_uniform.h b/src/glsl/ir_uniform.h index f53388c5e4d..225da3fc5ef 100644 --- a/src/glsl/ir_uniform.h +++ b/src/glsl/ir_uniform.h @@ -25,15 +25,18 @@ #ifndef IR_UNIFORM_H #define IR_UNIFORM_H -#ifdef __cplusplus -extern "C" { -#endif /* stdbool.h is necessary because this file is included in both C and C++ code. */ #include + #include "program/prog_parameter.h" /* For union gl_constant_value. */ + +#ifdef __cplusplus +extern "C" { +#endif + enum gl_uniform_driver_format { uniform_native = 0, /**< Store data in the native format. */ uniform_int_float, /**< Store integer data as floats. */ @@ -47,7 +50,7 @@ enum gl_uniform_driver_format { /** * Store boolean data as integer using ~0 for \c true. */ - uniform_bool_int_0_not0, + uniform_bool_int_0_not0 }; struct gl_uniform_driver_storage {