Home
last modified time | relevance | path

Searched refs:FullToken (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_iterate.c50 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()
Dtgsi_transform.c163 switch( parse.FullToken.Token.Type ) { in tgsi_transform_shader()
167 = &parse.FullToken.FullInstruction; in tgsi_transform_shader()
241 = &parse.FullToken.FullDeclaration; in tgsi_transform_shader()
253 = &parse.FullToken.FullImmediate; in tgsi_transform_shader()
264 = &parse.FullToken.FullProperty; in tgsi_transform_shader()
Dtgsi_scan.c899 switch( parse.FullToken.Token.Type ) { in tgsi_scan_shader()
901 scan_instruction(info, &parse.FullToken.FullInstruction, in tgsi_scan_shader()
905 scan_declaration(info, &parse.FullToken.FullDeclaration); in tgsi_scan_shader()
911 scan_property(info, &parse.FullToken.FullProperty); in tgsi_scan_shader()
969 if (parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_DECLARATION) { in tgsi_scan_arrays()
970 struct tgsi_full_declaration *decl = &parse.FullToken.FullDeclaration; in tgsi_scan_arrays()
981 if (parse.FullToken.Token.Type != TGSI_TOKEN_TYPE_INSTRUCTION) in tgsi_scan_arrays()
984 inst = &parse.FullToken.FullInstruction; in tgsi_scan_arrays()
1059 assert(parse->FullToken.Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION); in get_block_tessfactor_writemask()
1060 inst = &parse->FullToken.FullInstruction; in get_block_tessfactor_writemask()
[all …]
Dtgsi_parse.c109 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()
Dtgsi_parse.h113 union tgsi_full_token FullToken; member
Dtgsi_exec.c1139 switch( parse.FullToken.Token.Type ) { in tgsi_exec_machine_bind_shader()
1150 if (parse.FullToken.FullDeclaration.Declaration.File == TGSI_FILE_OUTPUT) in tgsi_exec_machine_bind_shader()
1151 … mach->NumOutputs = MAX2(mach->NumOutputs, parse.FullToken.FullDeclaration.Range.Last + 1); in tgsi_exec_machine_bind_shader()
1152 else if (parse.FullToken.FullDeclaration.Declaration.File == TGSI_FILE_SYSTEM_VALUE) { in tgsi_exec_machine_bind_shader()
1153 const struct tgsi_full_declaration *decl = &parse.FullToken.FullDeclaration; in tgsi_exec_machine_bind_shader()
1158 &parse.FullToken.FullDeclaration, in tgsi_exec_machine_bind_shader()
1165 uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in tgsi_exec_machine_bind_shader()
1181 parse.FullToken.FullImmediate.u[i].Float; in tgsi_exec_machine_bind_shader()
1200 &parse.FullToken.FullInstruction, in tgsi_exec_machine_bind_shader()
1208 … if (parse.FullToken.FullProperty.Property.PropertyName == TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES) { in tgsi_exec_machine_bind_shader()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs_analysis.c136 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/auxiliary/gallivm/
Dlp_bld_tgsi_info.c556 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()
Dlp_bld_tgsi.c530 switch( parse.FullToken.Token.Type ) { in lp_build_tgsi_llvm()
533 bld_base->emit_declaration(bld_base, &parse.FullToken.FullDeclaration); in lp_build_tgsi_llvm()
537 lp_bld_tgsi_add_instruction(bld_base, &parse.FullToken.FullInstruction); in lp_build_tgsi_llvm()
541 bld_base->emit_immediate(bld_base, &parse.FullToken.FullImmediate); in lp_build_tgsi_llvm()
Dlp_bld_tgsi_aos.c911 switch(parse.FullToken.Token.Type) { in lp_build_tgsi_aos()
914 lp_emit_declaration_aos(&bld, &parse.FullToken.FullDeclaration); in lp_build_tgsi_aos()
920 &parse.FullToken.FullInstruction); in lp_build_tgsi_aos()
926 const uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in lp_build_tgsi_aos()
935 imm[swizzle] = parse.FullToken.FullImmediate.u[chan].Float; in lp_build_tgsi_aos()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c503 struct tgsi_full_instruction *i = &ctx->parse.FullToken.FullInstruction; in tgsi_is_supported()
1059 struct tgsi_full_declaration *d = &ctx->parse.FullToken.FullDeclaration; in tgsi_declaration()
1302 if (parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION) { in allocate_system_value_inputs()
1303 const struct tgsi_full_instruction *inst = &parse.FullToken.FullInstruction; in allocate_system_value_inputs()
1324 } else if (parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_DECLARATION) { in allocate_system_value_inputs()
1325 struct tgsi_full_declaration *d = &parse.FullToken.FullDeclaration; in allocate_system_value_inputs()
1985 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_gs_inputs()
2275 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_lds_inputs()
2305 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_constant()
2361 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_literal_constant()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c357 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/
Dnvfx_fragprog.c977 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()
Dnvfx_vertprog.c882 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()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_tgsi.c496 switch (ctx.FullToken.Token.Type) { in etna_compile_parse_declarations()
500 const struct tgsi_full_immediate *imm = &ctx.FullToken.FullImmediate; in etna_compile_parse_declarations()
575 switch (ctx.FullToken.Token.Type) { in etna_compile_pass_check_usage()
578 const struct tgsi_full_declaration *decl = &ctx.FullToken.FullDeclaration; in etna_compile_pass_check_usage()
590 const struct tgsi_full_instruction *inst = &ctx.FullToken.FullInstruction; in etna_compile_pass_check_usage()
686 switch (ctx.FullToken.Token.Type) { in etna_compile_pass_optimize_outputs()
688 const struct tgsi_full_instruction *inst = &ctx.FullToken.FullInstruction; in etna_compile_pass_optimize_outputs()
1868 switch (ctx.FullToken.Token.Type) { in etna_compile_pass_generate_code()
1871 inst = &ctx.FullToken.FullInstruction; in etna_compile_pass_generate_code()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c3611 switch (parse.FullToken.Token.Type) { in pre_parse_tokens()
3616 if (parse.FullToken.FullInstruction.Instruction.Opcode == in pre_parse_tokens()
3620 if (!pre_parse_instruction( emit, &parse.FullToken.FullInstruction, in pre_parse_tokens()
3728 switch (parse.FullToken.Token.Type) { in svga_shader_emit_instructions()
3730 ret = svga_emit_immediate( emit, &parse.FullToken.FullImmediate ); in svga_shader_emit_instructions()
3736 ret = svga_translate_decl_sm30( emit, &parse.FullToken.FullDeclaration ); in svga_shader_emit_instructions()
3749 &parse.FullToken.FullInstruction ); in svga_shader_emit_instructions()
Dsvga_tgsi_vgpu10.c3384 assert(parse->FullToken.Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION); in emit_hull_shader_patch_constant_phase()
3386 &parse->FullToken.FullInstruction); in emit_hull_shader_patch_constant_phase()
3396 &parse->FullToken.FullInstruction); in emit_hull_shader_patch_constant_phase()
10694 switch (parse.FullToken.Token.Type) { in emit_vgpu10_instructions()
10696 ret = emit_vgpu10_immediate(emit, &parse.FullToken.FullImmediate); in emit_vgpu10_instructions()
10702 ret = emit_vgpu10_declaration(emit, &parse.FullToken.FullDeclaration); in emit_vgpu10_instructions()
10715 &parse.FullToken.FullInstruction); in emit_vgpu10_instructions()
10725 &parse.FullToken.FullInstruction); in emit_vgpu10_instructions()
10731 &parse.FullToken.FullInstruction); in emit_vgpu10_instructions()
10739 ret = emit_vgpu10_property(emit, &parse.FullToken.FullProperty); in emit_vgpu10_instructions()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c675 if (i915_fpc_useless_mov(&parse.FullToken)) { in i915_optimize()
680 copy_token(&out_tokens->Tokens[i], &parse.FullToken); in i915_optimize()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp1120 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/
Dtgsi_to_nir.c2251 c->token = &parser.FullToken; in ttn_parse_tgsi()
2253 switch (parser.FullToken.Token.Type) { in ttn_parse_tgsi()