Lines Matching refs:add_uniform
408 ir_variable *add_uniform(const glsl_type *type, const char *name);
548 builtin_variable_generator::add_uniform(const glsl_type *type, in add_uniform() function in __anonf17808ff0111::builtin_variable_generator
915 add_uniform(int_t, "gl_NumSamples"); in generate_uniforms()
916 add_uniform(type("gl_DepthRangeParameters"), "gl_DepthRange"); in generate_uniforms()
917 add_uniform(array(vec4_t, VERT_ATTRIB_MAX), "gl_CurrentAttribVertMESA"); in generate_uniforms()
918 add_uniform(array(vec4_t, VARYING_SLOT_MAX), "gl_CurrentAttribFragMESA"); in generate_uniforms()
921 add_uniform(mat4_t, "gl_ModelViewMatrix"); in generate_uniforms()
922 add_uniform(mat4_t, "gl_ProjectionMatrix"); in generate_uniforms()
923 add_uniform(mat4_t, "gl_ModelViewProjectionMatrix"); in generate_uniforms()
924 add_uniform(mat3_t, "gl_NormalMatrix"); in generate_uniforms()
925 add_uniform(mat4_t, "gl_ModelViewMatrixInverse"); in generate_uniforms()
926 add_uniform(mat4_t, "gl_ProjectionMatrixInverse"); in generate_uniforms()
927 add_uniform(mat4_t, "gl_ModelViewProjectionMatrixInverse"); in generate_uniforms()
928 add_uniform(mat4_t, "gl_ModelViewMatrixTranspose"); in generate_uniforms()
929 add_uniform(mat4_t, "gl_ProjectionMatrixTranspose"); in generate_uniforms()
930 add_uniform(mat4_t, "gl_ModelViewProjectionMatrixTranspose"); in generate_uniforms()
931 add_uniform(mat4_t, "gl_ModelViewMatrixInverseTranspose"); in generate_uniforms()
932 add_uniform(mat4_t, "gl_ProjectionMatrixInverseTranspose"); in generate_uniforms()
933 add_uniform(mat4_t, "gl_ModelViewProjectionMatrixInverseTranspose"); in generate_uniforms()
934 add_uniform(float_t, "gl_NormalScale"); in generate_uniforms()
935 add_uniform(type("gl_LightModelParameters"), "gl_LightModel"); in generate_uniforms()
936 add_uniform(vec4_t, "gl_FogParamsOptimizedMESA"); in generate_uniforms()
940 add_uniform(mat4_array_type, "gl_TextureMatrix"); in generate_uniforms()
941 add_uniform(mat4_array_type, "gl_TextureMatrixInverse"); in generate_uniforms()
942 add_uniform(mat4_array_type, "gl_TextureMatrixTranspose"); in generate_uniforms()
943 add_uniform(mat4_array_type, "gl_TextureMatrixInverseTranspose"); in generate_uniforms()
945 add_uniform(array(vec4_t, state->Const.MaxClipPlanes), "gl_ClipPlane"); in generate_uniforms()
946 add_uniform(type("gl_PointParameters"), "gl_Point"); in generate_uniforms()
950 add_uniform(material_parameters_type, "gl_FrontMaterial"); in generate_uniforms()
951 add_uniform(material_parameters_type, "gl_BackMaterial"); in generate_uniforms()
953 add_uniform(array(type("gl_LightSourceParameters"), in generate_uniforms()
959 add_uniform(light_model_products_type, "gl_FrontLightModelProduct"); in generate_uniforms()
960 add_uniform(light_model_products_type, "gl_BackLightModelProduct"); in generate_uniforms()
964 add_uniform(light_products_type, "gl_FrontLightProduct"); in generate_uniforms()
965 add_uniform(light_products_type, "gl_BackLightProduct"); in generate_uniforms()
967 add_uniform(array(vec4_t, state->Const.MaxTextureUnits), in generate_uniforms()
972 add_uniform(texcoords_vec4, "gl_EyePlaneS"); in generate_uniforms()
973 add_uniform(texcoords_vec4, "gl_EyePlaneT"); in generate_uniforms()
974 add_uniform(texcoords_vec4, "gl_EyePlaneR"); in generate_uniforms()
975 add_uniform(texcoords_vec4, "gl_EyePlaneQ"); in generate_uniforms()
976 add_uniform(texcoords_vec4, "gl_ObjectPlaneS"); in generate_uniforms()
977 add_uniform(texcoords_vec4, "gl_ObjectPlaneT"); in generate_uniforms()
978 add_uniform(texcoords_vec4, "gl_ObjectPlaneR"); in generate_uniforms()
979 add_uniform(texcoords_vec4, "gl_ObjectPlaneQ"); in generate_uniforms()
981 add_uniform(type("gl_FogParameters"), "gl_Fog"); in generate_uniforms()