Lines Matching refs:Const
74 this->Const.MaxLights = ctx->Const.MaxLights;
75 this->Const.MaxClipPlanes = ctx->Const.MaxClipPlanes;
76 this->Const.MaxTextureUnits = ctx->Const.MaxTextureUnits;
77 this->Const.MaxTextureCoords = ctx->Const.MaxTextureCoordUnits;
78 this->Const.MaxVertexAttribs = ctx->Const.VertexProgram.MaxAttribs;
79 this->Const.MaxVertexUniformComponents = ctx->Const.VertexProgram.MaxUniformComponents;
80 this->Const.MaxVaryingFloats = ctx->Const.MaxVarying * 4;
81 this->Const.MaxVertexTextureImageUnits = ctx->Const.MaxVertexTextureImageUnits;
82 this->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxCombinedTextureImageUnits;
83 this->Const.MaxTextureImageUnits = ctx->Const.MaxTextureImageUnits;
84 this->Const.MaxFragmentUniformComponents = ctx->Const.FragmentProgram.MaxUniformComponents;
86 this->Const.MaxDrawBuffers = ctx->Const.MaxDrawBuffers;
88 const unsigned lowest_version =
91 const unsigned highest_version =
92 _mesa_is_desktop_gl(ctx) ? ctx->Const.GLSLVersion : 100;
96 const char *const prefix = (ver == lowest_version)
108 if (ctx->Const.ForceGLSLExtensionsWarn)
116 const char *
134 _mesa_glsl_msg(const YYLTYPE *locp, _mesa_glsl_parse_state *state,
135 GLenum type, GLuint id, const char *fmt, va_list ap)
151 const char *const msg = &state->info_log[msg_offset];
162 const char *fmt, ...)
176 _mesa_glsl_warning(const YYLTYPE *locp, _mesa_glsl_parse_state *state,
177 const char *fmt, ...)
207 const char *name;
239 const GLboolean gl_extensions::* supported_flag;
260 bool compatible_with_state(const _mesa_glsl_parse_state *state) const;
261 void set_flags(_mesa_glsl_parse_state *state, ext_behavior behavior) const;
273 static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = {
301 bool _mesa_glsl_extension::compatible_with_state(const _mesa_glsl_parse_state *
302 state) const
352 ext_behavior behavior) const
366 static const _mesa_glsl_extension *find_extension(const char *name)
378 _mesa_glsl_process_extension(const char *name, YYLTYPE *name_locp,
379 const char *behavior_string, YYLTYPE *behavior_locp,
407 const _mesa_glsl_extension *extension
415 const _mesa_glsl_extension *extension = find_extension(name);
419 static const char *const fmt = "extension `%s' unsupported in %s shader";
436 _mesa_ast_type_qualifier_print(const struct ast_type_qualifier *q)
439 printf("const ");
474 ast_node::print(void) const
489 ast_opt_array_size_print(bool is_array, const ast_expression *array_size)
503 ast_compound_statement::print(void) const
528 ast_expression::print(void) const
654 ast_expression_statement::print(void) const
671 ast_function::print(void) const
693 ast_fully_specified_type::print(void) const
701 ast_parameter_declarator::print(void) const
711 ast_function_definition::print(void) const
719 ast_declaration::print(void) const
731 ast_declaration::ast_declaration(const char *identifier, int is_array,
743 ast_declarator_list::print(void) const
772 ast_jump_statement::print(void) const
805 ast_selection_statement::print(void) const
832 ast_switch_statement::print(void) const
851 ast_switch_body::print(void) const
867 void ast_case_label::print(void) const
885 void ast_case_label_list::print(void) const
900 void ast_case_statement::print(void) const
917 void ast_case_statement_list::print(void) const
932 ast_iteration_statement::print(void) const
987 ast_struct_specifier::print(void) const
998 ast_struct_specifier::ast_struct_specifier(const char *identifier,