Home
last modified time | relevance | path

Searched refs:constant_expression (Results 1 – 25 of 25) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
Dglslang.y191 %type <interm.intermTypedNode> conditional_expression constant_expression
590 constant_expression
631 …struct struct_declaration_list RIGHT_BRACE IDENTIFIER LEFT_BRACKET constant_expression RIGHT_BRACK…
723 | type_specifier IDENTIFIER LEFT_BRACKET constant_expression RIGHT_BRACKET {
810 | init_declarator_list COMMA IDENTIFIER LEFT_BRACKET constant_expression RIGHT_BRACKET {
819 …| init_declarator_list COMMA IDENTIFIER LEFT_BRACKET constant_expression RIGHT_BRACKET EQUAL initi…
839 | fully_specified_type IDENTIFIER LEFT_BRACKET constant_expression RIGHT_BRACKET {
848 …| fully_specified_type IDENTIFIER LEFT_BRACKET constant_expression RIGHT_BRACKET EQUAL initializer…
1066 | type_specifier_nonarray LEFT_BRACKET constant_expression RIGHT_BRACKET {
1383 | IDENTIFIER LEFT_BRACKET constant_expression RIGHT_BRACKET {
[all …]
/third_party/openGLES/extensions/ARB/
DARB_arrays_of_arrays.txt295 … init_declarator_list COMMA IDENTIFIER LEFT_BRACKET constant_expression RIGHT_BRACKET
300 type_specifier IDENTIFIER LEFT_BRACKET constant_expression RIGHT_BRACKET
307 LEFT_BRACKET constant_expression RIGHT_BRACKET
309 array_specifier LEFT_BRACKET constant_expression RIGHT_BRACKET
DARB_gl_spirv.txt1514 | LEFT_BRACKET constant_expression RIGHT_BRACKET
1522 | array_specifier LEFT_BRACKET constant_expression RIGHT_BRACKET
DARB_geometry_shader4.txt2024 LEFT_BRACKET constant_expression RIGHT_BRACKET
2026 LEFT_BRACKET constant_expression RIGHT_BRACKET
DARB_enhanced_layouts.txt1183 IDENTIFIER EQUAL constant_expression
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_arrays_of_arrays.txt285 … init_declarator_list COMMA IDENTIFIER LEFT_BRACKET constant_expression RIGHT_BRACKET
290 type_specifier IDENTIFIER LEFT_BRACKET constant_expression RIGHT_BRACKET
297 LEFT_BRACKET constant_expression RIGHT_BRACKET
299 array_specifier LEFT_BRACKET constant_expression RIGHT_BRACKET
DARB_gl_spirv.txt1448 | LEFT_BRACKET constant_expression RIGHT_BRACKET
1456 | array_specifier LEFT_BRACKET constant_expression RIGHT_BRACKET
DARB_geometry_shader4.txt2014 LEFT_BRACKET constant_expression RIGHT_BRACKET
2016 LEFT_BRACKET constant_expression RIGHT_BRACKET
DARB_enhanced_layouts.txt1173 IDENTIFIER EQUAL constant_expression
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.y207 %type <interm.intermTypedNode> conditional_expression constant_expression
588 constant_expression
987 | LEFT_BRACKET constant_expression RIGHT_BRACKET {
999 | array_specifier LEFT_BRACKET constant_expression RIGHT_BRACKET {
1579 : CASE constant_expression COLON {
/third_party/ltp/tools/sparse/sparse-src/
Dexpression.h337 #define constant_expression(token,tree) conditional_expression(token, tree) macro
Dparse.c930 next = constant_expression(next->next, &expr); in parse_enum_declaration()
2068 token = constant_expression(token, &cond); in parse_static_assert()
2650 token = constant_expression(token->next, &from); in single_initializer()
2656 token = constant_expression(token->next, &to); in single_initializer()
Dpre-process.c1662 p = constant_expression(*where, &expr); in expression_value()
/third_party/mesa3d/src/compiler/glsl/
Dglsl_parser.yy239 %type <expression> constant_expression
830 constant_expression:
1724 | any_identifier '=' constant_expression
2287 | '[' constant_expression ']'
2303 | array_specifier '[' constant_expression ']'
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_hlsl.cpp850 return constant_expression(*c); in to_initializer_expression()
1171 statement("static const ", variable_decl(type, name), " = ", constant_expression(c), ";"); in emit_composite_constants()
1210 constant_expression(get<SPIRConstant>(workgroup_size_id)), ";"); in emit_specialization_constants_and_structs()
1223 statement("#define ", c.specialization_constant_macro_name, " ", constant_expression(c)); in emit_specialization_constants_and_structs()
Dspirv_glsl.hpp388 std::string constant_expression(const SPIRConstant &c);
Dspirv_glsl.cpp2674 variable_decl(type, name), " = ", constant_expression(constant), ";"); in emit_constant()
2680 statement("#define ", macro_name, " ", constant_expression(constant)); in emit_constant()
2690 statement("const ", variable_decl(type, name), " = ", constant_expression(constant), ";"); in emit_constant()
4464 return constant_expression(tmp); in to_extract_constant_composite_expression()
4604 return constant_expression(c); in to_expression()
4875 string CompilerGLSL::constant_expression(const SPIRConstant &c) in constant_expression() function in CompilerGLSL
4916 res += constant_expression(subc); in constant_expression()
10680 args.push_back(constant_expression(c)); in emit_instruction()
13096 return constant_expression(get<SPIRConstant>(id)); in to_zero_initialized_expression()
13821 …statement(variable_decl(type, join("_", array, "_array_copy")), " = ", constant_expression(c), ";"… in emit_function()
Dspirv_msl.cpp2817 statement(qual_var_name, " = ", constant_expression( in add_plain_member_variable_to_interface_block()
6528 " = ", constant_expression(c), ";"); in declare_constant_arrays()
6558 statement("", variable_decl(type, name), " = ", constant_expression(c), ";"); in declare_complex_constant_arrays()
6628 … " [[maybe_unused]] = ", constant_expression(get<SPIRConstant>(workgroup_size_id)), ";"); in emit_specialization_constants_and_structs()
6651 ") ? ", sc_tmp_name, " : ", constant_expression(c), ";"); in emit_specialization_constants_and_structs()
6660 statement("#define ", c.specialization_constant_macro_name, " ", constant_expression(c)); in emit_specialization_constants_and_structs()
6668 statement("constant ", sc_type_name, " ", sc_name, " = ", constant_expression(c), ";"); in emit_specialization_constants_and_structs()
8651 statement(to_expression(id_lhs), " = ", constant_expression(get<SPIRConstant>(id_rhs)), ";"); in maybe_emit_array_assignment()
15423 expr = constant_expression(get<SPIRConstant>(var.initializer)); in to_initializer_expression()
/third_party/glslang/glslang/MachineIndependent/
Dglslang.y305 %type <interm.intermTypedNode> conditional_expression constant_expression
851 constant_expression
1273 | IDENTIFIER EQUAL constant_expression {
3901 | IDENTIFIER LEFT_PAREN constant_expression RIGHT_PAREN {
Dglslang.m4305 %type <interm.intermTypedNode> conditional_expression constant_expression
851 constant_expression
1273 | IDENTIFIER EQUAL constant_expression {
3901 | IDENTIFIER LEFT_PAREN constant_expression RIGHT_PAREN {
/third_party/openGLES/extensions/EXT/
DEXT_geometry_shader4.txt1943 LEFT_BRACKET constant_expression RIGHT_BRACKET
1945 LEFT_BRACKET constant_expression RIGHT_BRACKET
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_geometry_shader4.txt1943 LEFT_BRACKET constant_expression RIGHT_BRACKET
1945 LEFT_BRACKET constant_expression RIGHT_BRACKET
/third_party/vk-gl-cts/data/gles31/shaders/es32/
Darrays_of_arrays.test5707 case constant_expression
/third_party/vk-gl-cts/data/gles31/shaders/es31/
Darrays_of_arrays.test5688 case constant_expression
/third_party/vk-gl-cts/data/gles31/shaders/gl45/
Darrays_of_arrays.test5688 case constant_expression