/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_iterate.c | 50 switch (parse.FullToken.Token.Type) { in tgsi_iterate_shader() 53 if (!ctx->iterate_instruction( ctx, &parse.FullToken.FullInstruction )) in tgsi_iterate_shader() 59 if (!ctx->iterate_declaration( ctx, &parse.FullToken.FullDeclaration )) in tgsi_iterate_shader() 65 if (!ctx->iterate_immediate( ctx, &parse.FullToken.FullImmediate )) in tgsi_iterate_shader() 71 if (!ctx->iterate_property( ctx, &parse.FullToken.FullProperty )) in tgsi_iterate_shader()
|
H A D | tgsi_transform.c | 213 switch( parse.FullToken.Token.Type ) { in tgsi_transform_shader() 217 = &parse.FullToken.FullInstruction; in tgsi_transform_shader() 291 = &parse.FullToken.FullDeclaration; in tgsi_transform_shader() 303 = &parse.FullToken.FullImmediate; in tgsi_transform_shader() 314 = &parse.FullToken.FullProperty; in tgsi_transform_shader()
|
H A D | tgsi_scan.c | 901 switch( parse.FullToken.Token.Type ) { in tgsi_scan_shader() 903 scan_instruction(info, &parse.FullToken.FullInstruction, in tgsi_scan_shader() 907 scan_declaration(info, &parse.FullToken.FullDeclaration); in tgsi_scan_shader() 913 scan_property(info, &parse.FullToken.FullProperty); in tgsi_scan_shader() 971 if (parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_DECLARATION) { in tgsi_scan_arrays() 972 struct tgsi_full_declaration *decl = &parse.FullToken.FullDeclaration; in tgsi_scan_arrays() 983 if (parse.FullToken.Token.Type != TGSI_TOKEN_TYPE_INSTRUCTION) in tgsi_scan_arrays() 986 inst = &parse.FullToken.FullInstruction; in tgsi_scan_arrays() 1061 assert(parse->FullToken.Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION); in get_block_tessfactor_writemask() 1062 inst = &parse->FullToken in get_block_tessfactor_writemask() [all...] |
H A D | tgsi_parse.c | 109 struct tgsi_full_declaration *decl = &ctx->FullToken.FullDeclaration; in tgsi_parse_token() 145 struct tgsi_full_immediate *imm = &ctx->FullToken.FullImmediate; in tgsi_parse_token() 184 struct tgsi_full_instruction *inst = &ctx->FullToken.FullInstruction; in tgsi_parse_token() 253 struct tgsi_full_property *prop = &ctx->FullToken.FullProperty; in tgsi_parse_token()
|
H A D | tgsi_parse.h | 113 union tgsi_full_token FullToken; member
|
H A D | tgsi_exec.c | 1122 switch( parse.FullToken.Token.Type ) { in tgsi_exec_machine_bind_shader() 1133 if (parse.FullToken.FullDeclaration.Declaration.File == TGSI_FILE_OUTPUT) in tgsi_exec_machine_bind_shader() 1134 mach->NumOutputs = MAX2(mach->NumOutputs, parse.FullToken.FullDeclaration.Range.Last + 1); in tgsi_exec_machine_bind_shader() 1135 else if (parse.FullToken.FullDeclaration.Declaration.File == TGSI_FILE_SYSTEM_VALUE) { in tgsi_exec_machine_bind_shader() 1136 const struct tgsi_full_declaration *decl = &parse.FullToken.FullDeclaration; in tgsi_exec_machine_bind_shader() 1141 &parse.FullToken.FullDeclaration, in tgsi_exec_machine_bind_shader() 1148 uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in tgsi_exec_machine_bind_shader() 1164 parse.FullToken.FullImmediate.u[i].Float; in tgsi_exec_machine_bind_shader() 1183 &parse.FullToken.FullInstruction, in tgsi_exec_machine_bind_shader() 1191 if (parse.FullToken in tgsi_exec_machine_bind_shader() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_tgsi_info.c | 556 switch (parse.FullToken.Token.Type) { in lp_build_tgsi_info() 558 struct tgsi_full_declaration *decl = &parse.FullToken.FullDeclaration; in lp_build_tgsi_info() 570 &parse.FullToken.FullInstruction; in lp_build_tgsi_info() 585 parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in lp_build_tgsi_info() 589 float value = parse.FullToken.FullImmediate.u[chan].Float; in lp_build_tgsi_info()
|
H A D | lp_bld_tgsi.c | 529 switch(parse.FullToken.Token.Type) { in lp_build_tgsi_llvm() 532 bld_base->emit_declaration(bld_base, &parse.FullToken.FullDeclaration); in lp_build_tgsi_llvm() 535 lp_bld_tgsi_add_instruction(bld_base, &parse.FullToken.FullInstruction); in lp_build_tgsi_llvm() 538 bld_base->emit_immediate(bld_base, &parse.FullToken.FullImmediate); in lp_build_tgsi_llvm()
|
H A D | lp_bld_tgsi_aos.c | 912 switch(parse.FullToken.Token.Type) { in lp_build_tgsi_aos() 915 lp_emit_declaration_aos(&bld, &parse.FullToken.FullDeclaration); in lp_build_tgsi_aos() 921 &parse.FullToken.FullInstruction); in lp_build_tgsi_aos() 927 const uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in lp_build_tgsi_aos() 936 imm[swizzle] = parse.FullToken.FullImmediate.u[chan].Float; in lp_build_tgsi_aos()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_shader.c | 509 struct tgsi_full_instruction *i = &ctx->parse.FullToken.FullInstruction; in tgsi_is_supported() 1080 struct tgsi_full_declaration *d = &ctx->parse.FullToken.FullDeclaration; in tgsi_declaration() 1316 if (parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION) { in allocate_system_value_inputs() 1317 const struct tgsi_full_instruction *inst = &parse.FullToken.FullInstruction; in allocate_system_value_inputs() 1338 } else if (parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_DECLARATION) { in allocate_system_value_inputs() 1339 struct tgsi_full_declaration *d = &parse.FullToken.FullDeclaration; in allocate_system_value_inputs() 1996 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_gs_inputs() 2286 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_lds_inputs() 2316 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_constant() 2372 struct tgsi_full_instruction *inst = &ctx->parse.FullToken in tgsi_split_literal_constant() [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_fs_analysis.c | 136 switch (parse.FullToken.Token.Type) { in match_aero_minification_shader() 146 parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in match_aero_minification_shader() 149 if (parse.FullToken.FullImmediate.u[chan].Float == 0.25f) { in match_aero_minification_shader()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_tgsi_to_rc.c | 357 switch (parser.FullToken.Token.Type) { in r300_tgsi_to_rc() 361 handle_immediate(ttr, &parser.FullToken.FullImmediate, imm_index); in r300_tgsi_to_rc() 365 inst = &parser.FullToken.FullInstruction; in r300_tgsi_to_rc()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nvfx_vertprog.c | 882 const union tgsi_full_token *tok = &p.FullToken; in nvfx_vertprog_prepare() 893 fdec = &p.FullToken.FullDeclaration; in nvfx_vertprog_prepare() 1000 switch (parse.FullToken.Token.Type) { in _nvfx_vertprog_translate() 1005 imm = &parse.FullToken.FullImmediate; in _nvfx_vertprog_translate() 1021 finst = &parse.FullToken.FullInstruction; in _nvfx_vertprog_translate()
|
H A D | nvfx_fragprog.c | 977 const union tgsi_full_token *tok = &p.FullToken; in nvfx_fragprog_prepare() 984 fdec = &p.FullToken.FullDeclaration; in nvfx_fragprog_prepare() 1009 imm = &p.FullToken.FullImmediate; in nvfx_fragprog_prepare() 1026 switch(p.FullToken.Token.Type) { in nvfx_fragprog_prepare() 1028 fdec = &p.FullToken.FullDeclaration; in nvfx_fragprog_prepare() 1100 switch (parse.FullToken.Token.Type) { in _nvfx_fragprog_translate() 1106 finst = &parse.FullToken.FullInstruction; in _nvfx_fragprog_translate()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_fpc_optimize.c | 647 if (i915_fpc_useless_mov(&parse.FullToken)) { in i915_optimize() 652 copy_token(&out_tokens->Tokens[i], &parse.FullToken); in i915_optimize()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_tgsi_insn.c | 3683 switch (parse.FullToken.Token.Type) { in pre_parse_tokens() 3688 if (parse.FullToken.FullInstruction.Instruction.Opcode == in pre_parse_tokens() 3692 if (!pre_parse_instruction( emit, &parse.FullToken.FullInstruction, in pre_parse_tokens() 3800 switch (parse.FullToken.Token.Type) { in svga_shader_emit_instructions() 3802 ret = svga_emit_immediate( emit, &parse.FullToken.FullImmediate ); in svga_shader_emit_instructions() 3808 ret = svga_translate_decl_sm30( emit, &parse.FullToken.FullDeclaration ); in svga_shader_emit_instructions() 3821 &parse.FullToken.FullInstruction ); in svga_shader_emit_instructions()
|
H A D | svga_tgsi_vgpu10.c | 3612 assert(parse->FullToken.Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION); in emit_hull_shader_patch_constant_phase() 3614 &parse->FullToken.FullInstruction); in emit_hull_shader_patch_constant_phase() 3625 &parse->FullToken.FullInstruction); in emit_hull_shader_patch_constant_phase() 3628 &parse->FullToken.FullInstruction); in emit_hull_shader_patch_constant_phase() 12483 switch (parse.FullToken.Token.Type) { in emit_vgpu10_instructions() 12485 ret = emit_vgpu10_immediate(emit, &parse.FullToken.FullImmediate); in emit_vgpu10_instructions() 12491 ret = emit_vgpu10_declaration(emit, &parse.FullToken.FullDeclaration); in emit_vgpu10_instructions() 12504 &parse.FullToken.FullInstruction); in emit_vgpu10_instructions() 12514 &parse.FullToken.FullInstruction); in emit_vgpu10_instructions() 12520 &parse.FullToken in emit_vgpu10_instructions() [all...] |
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_from_tgsi.cpp | 1120 switch (parse.FullToken.Token.Type) { in scanSource() 1122 scanImmediate(&parse.FullToken.FullImmediate); in scanSource() 1125 scanDeclaration(&parse.FullToken.FullDeclaration); in scanSource() 1128 insns[insnCount++] = parse.FullToken.FullInstruction; in scanSource() 1129 scanInstruction(&parse.FullToken.FullInstruction); in scanSource() 1132 scanProperty(&parse.FullToken.FullProperty); in scanSource() 1135 INFO("unknown TGSI token type: %d\n", parse.FullToken.Token.Type); in scanSource()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
H A D | tgsi_to_nir.c | 2255 c->token = &parser.FullToken; in ttn_parse_tgsi() 2257 switch (parser.FullToken.Token.Type) { in ttn_parse_tgsi()
|