Searched refs:locp (Results 1 - 18 of 18) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/glcpp/
H A Dpp.c31 glcpp_error (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...) argument
39 locp->source,
40 locp->first_line,
41 locp->first_column);
49 glcpp_warning (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...) argument
56 locp->source,
57 locp->first_line,
58 locp->first_column);
H A Dglcpp.h254 glcpp_error (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...);
257 glcpp_warning (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...);
H A Dglcpp-parse.y46 yyerror(YYLTYPE *locp, glcpp_parser_t *parser, const char *error);
1449 yyerror(YYLTYPE *locp, glcpp_parser_t *parser, const char *error)
1451 glcpp_error(locp, parser, "%s", error);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/glcpp/
H A Dpp.c31 glcpp_error (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...) argument
39 locp->source,
40 locp->first_line,
41 locp->first_column);
49 glcpp_warning (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...) argument
56 locp->source,
57 locp->first_line,
58 locp->first_column);
H A Dglcpp.h252 glcpp_error (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...);
255 glcpp_warning (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...);
H A Dglcpp-parse.y35 yyerror(YYLTYPE *locp, glcpp_parser_t *parser, const char *error);
1336 yyerror(YYLTYPE *locp, glcpp_parser_t *parser, const char *error)
1338 glcpp_error(locp, parser, "%s", error);
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dglsl_parser_extras.h77 extern void _mesa_glsl_error(YYLTYPE *locp, _mesa_glsl_parse_state *state,
122 YYLTYPE *locp, const char *fmt, ...) PRINTFLIKE(5, 6);
124 bool check_arrays_of_arrays_allowed(YYLTYPE *locp) argument
130 _mesa_glsl_error(locp, this,
138 bool check_precision_qualifiers_allowed(YYLTYPE *locp) argument
140 return check_version(130, 100, locp,
144 bool check_bitwise_operations_allowed(YYLTYPE *locp) argument
147 check_version(130, 300, locp, "bit-wise operations are forbidden");
150 bool check_explicit_attrib_stream_allowed(YYLTYPE *locp) argument
155 _mesa_glsl_error(locp, thi
163 check_explicit_attrib_location_allowed(YYLTYPE * locp,const ir_variable * var) argument
179 check_separate_shader_objects_allowed(YYLTYPE * locp,const ir_variable * var) argument
195 check_explicit_uniform_location_allowed(YYLTYPE * locp,const ir_variable *) argument
[all...]
H A Dast.h78 struct YYLTYPE locp; local in function:ast_node::get_location
80 locp.path = this->location.path;
81 locp.source = this->location.source;
82 locp.first_line = this->location.first_line;
83 locp.first_column = this->location.first_column;
84 locp.last_line = this->location.last_line;
85 locp.last_column = this->location.last_column;
87 return locp;
95 void set_location(const struct YYLTYPE &locp) argument
97 this->location.path = locp
354 ast_array_specifier(const struct YYLTYPE & locp,ast_expression * dim) argument
381 ast_layout_expression(const struct YYLTYPE & locp,ast_expression * expr) argument
1300 ast_tcs_output_layout(const struct YYLTYPE & locp) argument
1317 ast_gs_input_layout(const struct YYLTYPE & locp,GLenum prim_type) argument
1338 ast_cs_input_layout(const struct YYLTYPE & locp,ast_layout_expression * const * local_size) argument
[all...]
H A Dglsl_parser_extras.cpp347 * \param locp is the parser location where the error should be reported.
352 * the GLSL version being compiled is 1.20, and check_version(130, 300, locp,
359 YYLTYPE *locp, const char *fmt, ...)
384 _mesa_glsl_error(locp, this, "%s in %s%s",
396 _mesa_glsl_parse_state::set_valid_gl_and_glsl_versions(YYLTYPE *locp) argument
409 if (locp) {
410 _mesa_glsl_error(locp, this, "%s is not supported. "
445 _mesa_glsl_parse_state::process_version_directive(YYLTYPE *locp, int version, argument
462 _mesa_glsl_error(locp, this,
466 _mesa_glsl_error(locp, thi
357 check_version(unsigned required_glsl_version,unsigned required_glsl_es_version,YYLTYPE * locp,const char * fmt,...) argument
510 _mesa_glsl_msg(const YYLTYPE * locp,_mesa_glsl_parse_state * state,GLenum type,const char * fmt,va_list ap) argument
542 _mesa_glsl_error(YYLTYPE * locp,_mesa_glsl_parse_state * state,const char * fmt,...) argument
556 _mesa_glsl_warning(const YYLTYPE * locp,_mesa_glsl_parse_state * state,const char * fmt,...) argument
1012 _mesa_ast_process_interface_block(YYLTYPE * locp,_mesa_glsl_parse_state * state,ast_interface_block * const block,const struct ast_type_qualifier & q) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dglsl_parser_extras.h75 extern void _mesa_glsl_error(YYLTYPE *locp, _mesa_glsl_parse_state *state,
120 YYLTYPE *locp, const char *fmt, ...) PRINTFLIKE(5, 6);
122 bool check_arrays_of_arrays_allowed(YYLTYPE *locp) argument
128 _mesa_glsl_error(locp, this,
136 bool check_precision_qualifiers_allowed(YYLTYPE *locp) argument
138 return check_version(130, 100, locp,
142 bool check_bitwise_operations_allowed(YYLTYPE *locp) argument
145 check_version(130, 300, locp, "bit-wise operations are forbidden");
148 bool check_explicit_attrib_stream_allowed(YYLTYPE *locp) argument
153 _mesa_glsl_error(locp, thi
161 check_explicit_attrib_location_allowed(YYLTYPE * locp,const ir_variable * var) argument
177 check_separate_shader_objects_allowed(YYLTYPE * locp,const ir_variable * var) argument
193 check_explicit_uniform_location_allowed(YYLTYPE * locp,const ir_variable *) argument
[all...]
H A Dast.h78 struct YYLTYPE locp; local in function:ast_node::get_location
80 locp.source = this->location.source;
81 locp.first_line = this->location.first_line;
82 locp.first_column = this->location.first_column;
83 locp.last_line = this->location.last_line;
84 locp.last_column = this->location.last_column;
86 return locp;
94 void set_location(const struct YYLTYPE &locp) argument
96 this->location.source = locp.source;
97 this->location.first_line = locp
350 ast_array_specifier(const struct YYLTYPE & locp,ast_expression * dim) argument
377 ast_layout_expression(const struct YYLTYPE & locp,ast_expression * expr) argument
1275 ast_tcs_output_layout(const struct YYLTYPE & locp) argument
1292 ast_gs_input_layout(const struct YYLTYPE & locp,GLenum prim_type) argument
1313 ast_cs_input_layout(const struct YYLTYPE & locp,ast_layout_expression * const * local_size) argument
[all...]
H A Dglsl_parser_extras.cpp333 * \param locp is the parser location where the error should be reported.
338 * the GLSL version being compiled is 1.20, and check_version(130, 300, locp,
345 YYLTYPE *locp, const char *fmt, ...)
370 _mesa_glsl_error(locp, this, "%s in %s%s",
386 _mesa_glsl_parse_state::process_version_directive(YYLTYPE *locp, int version, argument
403 _mesa_glsl_error(locp, this,
407 _mesa_glsl_error(locp, this,
412 _mesa_glsl_error(locp, this,
420 _mesa_glsl_error(locp, this,
453 _mesa_glsl_error(locp, thi
343 check_version(unsigned required_glsl_version,unsigned required_glsl_es_version,YYLTYPE * locp,const char * fmt,...) argument
485 _mesa_glsl_msg(const YYLTYPE * locp,_mesa_glsl_parse_state * state,GLenum type,const char * fmt,va_list ap) argument
513 _mesa_glsl_error(YYLTYPE * locp,_mesa_glsl_parse_state * state,const char * fmt,...) argument
527 _mesa_glsl_warning(const YYLTYPE * locp,_mesa_glsl_parse_state * state,const char * fmt,...) argument
974 _mesa_ast_process_interface_block(YYLTYPE * locp,_mesa_glsl_parse_state * state,ast_interface_block * const block,const struct ast_type_qualifier & q) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprogram_parse.y48 char *name, enum asm_type t, struct YYLTYPE *locp);
67 static void yyerror(struct YYLTYPE *locp, struct asm_parser_state *state,
70 static int validate_inputs(struct YYLTYPE *locp,
2216 validate_inputs(struct YYLTYPE *locp, struct asm_parser_state *state)
2242 yyerror(locp, state, "illegal use of generic attribute and name attribute");
2252 struct YYLTYPE *locp)
2260 yyerror(locp, state, "redeclared identifier");
2269 yyerror(locp, state, "too many temporaries declared");
2281 yyerror(locp, state, "too many address registers declared");
2495 yyerror(YYLTYPE *locp, struc
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprogram_parse.y56 char *name, enum asm_type t, struct YYLTYPE *locp);
75 static void yyerror(struct YYLTYPE *locp, struct asm_parser_state *state,
78 static int validate_inputs(struct YYLTYPE *locp,
2237 validate_inputs(struct YYLTYPE *locp, struct asm_parser_state *state)
2263 yyerror(locp, state, "illegal use of generic attribute and name attribute");
2273 struct YYLTYPE *locp)
2281 yyerror(locp, state, "redeclared identifier");
2290 yyerror(locp, state, "too many temporaries declared");
2302 yyerror(locp, state, "too many address registers declared");
2513 yyerror(YYLTYPE *locp, struc
[all...]
/xsrc/external/mit/MesaLib.old/src/mesa/program/
H A Dprogram_parse.tab.c122 char *name, enum asm_type t, struct YYLTYPE *locp);
141 static void yyerror(struct YYLTYPE *locp, struct asm_parser_state *state,
144 static int validate_inputs(struct YYLTYPE *locp,
4740 validate_inputs(struct YYLTYPE *locp, struct asm_parser_state *state) argument
4766 yyerror(locp, state, "illegal use of generic attribute and name attribute");
4776 struct YYLTYPE *locp)
4784 yyerror(locp, state, "redeclared identifier");
4793 yyerror(locp, state, "too many temporaries declared");
4805 yyerror(locp, state, "too many address registers declared");
5019 yyerror(YYLTYPE *locp, struc argument
4775 declare_variable(struct asm_parser_state * state,char * name,enum asm_type t,struct YYLTYPE * locp) argument
[all...]
/xsrc/external/mit/MesaLib/src/mesa/program/
H A Dprogram_parse.tab.c126 char *name, enum asm_type t, struct YYLTYPE *locp);
145 static void yyerror(struct YYLTYPE *locp, struct asm_parser_state *state,
148 static int validate_inputs(struct YYLTYPE *locp,
5006 validate_inputs(struct YYLTYPE *locp, struct asm_parser_state *state) argument
5032 yyerror(locp, state, "illegal use of generic attribute and name attribute");
5042 struct YYLTYPE *locp)
5050 yyerror(locp, state, "redeclared identifier");
5059 yyerror(locp, state, "too many temporaries declared");
5071 yyerror(locp, state, "too many address registers declared");
5282 yyerror(YYLTYPE *locp, struc argument
5041 declare_variable(struct asm_parser_state * state,char * name,enum asm_type t,struct YYLTYPE * locp) argument
[all...]
/xsrc/external/mit/MesaLib.old/src/compiler/glsl/glcpp/
H A Dglcpp-parse.c109 yyerror(YYLTYPE *locp, glcpp_parser_t *parser, const char *error);
3566 yyerror(YYLTYPE *locp, glcpp_parser_t *parser, const char *error) argument
3568 glcpp_error(locp, parser, "%s", error);
/xsrc/external/mit/MesaLib/src/compiler/glsl/glcpp/
H A Dglcpp-parse.c121 yyerror(YYLTYPE *locp, glcpp_parser_t *parser, const char *error);
3873 yyerror(YYLTYPE *locp, glcpp_parser_t *parser, const char *error) argument
3875 glcpp_error(locp, parser, "%s", error);

Completed in 48 milliseconds