Lines Matching defs:add_uniform
494 ir_variable *add_uniform(const glsl_type *type, int precision,
496 ir_variable *add_uniform(const glsl_type *type, const char *name)
498 return add_uniform(type, GLSL_PRECISION_NONE, name);
661 builtin_variable_generator::add_uniform(const glsl_type *type,
1030 add_uniform(int_t, GLSL_PRECISION_LOW, "gl_NumSamples");
1031 add_uniform(type("gl_DepthRangeParameters"), "gl_DepthRange");
1037 add_uniform(vec4_t, name);
1041 add_uniform(mat4_t, "gl_ModelViewMatrix");
1042 add_uniform(mat4_t, "gl_ProjectionMatrix");
1043 add_uniform(mat4_t, "gl_ModelViewProjectionMatrix");
1044 add_uniform(mat3_t, "gl_NormalMatrix");
1045 add_uniform(mat4_t, "gl_ModelViewMatrixInverse");
1046 add_uniform(mat4_t, "gl_ProjectionMatrixInverse");
1047 add_uniform(mat4_t, "gl_ModelViewProjectionMatrixInverse");
1048 add_uniform(mat4_t, "gl_ModelViewMatrixTranspose");
1049 add_uniform(mat4_t, "gl_ProjectionMatrixTranspose");
1050 add_uniform(mat4_t, "gl_ModelViewProjectionMatrixTranspose");
1051 add_uniform(mat4_t, "gl_ModelViewMatrixInverseTranspose");
1052 add_uniform(mat4_t, "gl_ProjectionMatrixInverseTranspose");
1053 add_uniform(mat4_t, "gl_ModelViewProjectionMatrixInverseTranspose");
1054 add_uniform(float_t, "gl_NormalScale");
1055 add_uniform(type("gl_LightModelParameters"), "gl_LightModel");
1056 add_uniform(vec4_t, "gl_FogParamsOptimizedMESA");
1060 add_uniform(mat4_array_type, "gl_TextureMatrix");
1061 add_uniform(mat4_array_type, "gl_TextureMatrixInverse");
1062 add_uniform(mat4_array_type, "gl_TextureMatrixTranspose");
1063 add_uniform(mat4_array_type, "gl_TextureMatrixInverseTranspose");
1065 add_uniform(array(vec4_t, state->Const.MaxClipPlanes), "gl_ClipPlane");
1066 add_uniform(type("gl_PointParameters"), "gl_Point");
1070 add_uniform(material_parameters_type, "gl_FrontMaterial");
1071 add_uniform(material_parameters_type, "gl_BackMaterial");
1073 add_uniform(array(type("gl_LightSourceParameters"),
1079 add_uniform(light_model_products_type, "gl_FrontLightModelProduct");
1080 add_uniform(light_model_products_type, "gl_BackLightModelProduct");
1084 add_uniform(light_products_type, "gl_FrontLightProduct");
1085 add_uniform(light_products_type, "gl_BackLightProduct");
1087 add_uniform(array(vec4_t, state->Const.MaxTextureUnits),
1092 add_uniform(texcoords_vec4, "gl_EyePlaneS");
1093 add_uniform(texcoords_vec4, "gl_EyePlaneT");
1094 add_uniform(texcoords_vec4, "gl_EyePlaneR");
1095 add_uniform(texcoords_vec4, "gl_EyePlaneQ");
1096 add_uniform(texcoords_vec4, "gl_ObjectPlaneS");
1097 add_uniform(texcoords_vec4, "gl_ObjectPlaneT");
1098 add_uniform(texcoords_vec4, "gl_ObjectPlaneR");
1099 add_uniform(texcoords_vec4, "gl_ObjectPlaneQ");
1101 add_uniform(type("gl_FogParameters"), "gl_Fog");