Home
last modified time | relevance | path

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

/external/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.c164 switch( parse.FullToken.Token.Type ) { in tgsi_transform_shader()
168 = &parse.FullToken.FullInstruction; in tgsi_transform_shader()
198 = &parse.FullToken.FullDeclaration; in tgsi_transform_shader()
210 = &parse.FullToken.FullImmediate; in tgsi_transform_shader()
221 = &parse.FullToken.FullProperty; in tgsi_transform_shader()
Dtgsi_scan.c711 switch( parse.FullToken.Token.Type ) { in tgsi_scan_shader()
713 scan_instruction(info, &parse.FullToken.FullInstruction, in tgsi_scan_shader()
717 scan_declaration(info, &parse.FullToken.FullDeclaration); in tgsi_scan_shader()
723 scan_property(info, &parse.FullToken.FullProperty); in tgsi_scan_shader()
781 if (parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_DECLARATION) { in tgsi_scan_arrays()
782 struct tgsi_full_declaration *decl = &parse.FullToken.FullDeclaration; in tgsi_scan_arrays()
793 if (parse.FullToken.Token.Type != TGSI_TOKEN_TYPE_INSTRUCTION) in tgsi_scan_arrays()
796 inst = &parse.FullToken.FullInstruction; in tgsi_scan_arrays()
855 switch (parse.FullToken.Token.Type) { in tgsi_is_passthrough_shader()
859 &parse.FullToken.FullInstruction; in tgsi_is_passthrough_shader()
Dtgsi_parse.c105 struct tgsi_full_declaration *decl = &ctx->FullToken.FullDeclaration; in tgsi_parse_token()
141 struct tgsi_full_immediate *imm = &ctx->FullToken.FullImmediate; in tgsi_parse_token()
180 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.h114 union tgsi_full_token FullToken; member
Dtgsi_exec.c1204 switch( parse.FullToken.Token.Type ) { in tgsi_exec_machine_bind_shader()
1215 if (parse.FullToken.FullDeclaration.Declaration.File == TGSI_FILE_OUTPUT) { in tgsi_exec_machine_bind_shader()
1217 for (reg = parse.FullToken.FullDeclaration.Range.First; in tgsi_exec_machine_bind_shader()
1218 reg <= parse.FullToken.FullDeclaration.Range.Last; in tgsi_exec_machine_bind_shader()
1223 else if (parse.FullToken.FullDeclaration.Declaration.File == TGSI_FILE_SYSTEM_VALUE) { in tgsi_exec_machine_bind_shader()
1224 const struct tgsi_full_declaration *decl = &parse.FullToken.FullDeclaration; in tgsi_exec_machine_bind_shader()
1229 &parse.FullToken.FullDeclaration, in tgsi_exec_machine_bind_shader()
1236 uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in tgsi_exec_machine_bind_shader()
1242 parse.FullToken.FullImmediate.u[i].Float; in tgsi_exec_machine_bind_shader()
1261 &parse.FullToken.FullInstruction, in tgsi_exec_machine_bind_shader()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c552 switch (parse.FullToken.Token.Type) { in lp_build_tgsi_info()
554 struct tgsi_full_declaration *decl = &parse.FullToken.FullDeclaration; in lp_build_tgsi_info()
566 &parse.FullToken.FullInstruction; in lp_build_tgsi_info()
581 parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in lp_build_tgsi_info()
585 float value = parse.FullToken.FullImmediate.u[chan].Float; in lp_build_tgsi_info()
Dlp_bld_tgsi.c496 switch( parse.FullToken.Token.Type ) { in lp_build_tgsi_llvm()
499 bld_base->emit_declaration(bld_base, &parse.FullToken.FullDeclaration); in lp_build_tgsi_llvm()
503 lp_bld_tgsi_add_instruction(bld_base, &parse.FullToken.FullInstruction); in lp_build_tgsi_llvm()
507 bld_base->emit_immediate(bld_base, &parse.FullToken.FullImmediate); in lp_build_tgsi_llvm()
Dlp_bld_tgsi_aos.c994 switch(parse.FullToken.Token.Type) { in lp_build_tgsi_aos()
997 lp_emit_declaration_aos(&bld, &parse.FullToken.FullDeclaration); in lp_build_tgsi_aos()
1003 &parse.FullToken.FullInstruction); in lp_build_tgsi_aos()
1009 const uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in lp_build_tgsi_aos()
1018 imm[swizzle] = parse.FullToken.FullImmediate.u[chan].Float; in lp_build_tgsi_aos()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c393 struct tgsi_full_instruction *i = &ctx->parse.FullToken.FullInstruction; in tgsi_is_supported()
855 struct tgsi_full_declaration *d = &ctx->parse.FullToken.FullDeclaration; in tgsi_declaration()
1096 if (parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION) { in allocate_system_value_inputs()
1097 const struct tgsi_full_instruction *inst = &parse.FullToken.FullInstruction; in allocate_system_value_inputs()
1118 } else if (parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_DECLARATION) { in allocate_system_value_inputs()
1119 struct tgsi_full_declaration *d = &parse.FullToken.FullDeclaration; in allocate_system_value_inputs()
1194 if (parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION) { in evergreen_gpr_count()
1195 const struct tgsi_full_instruction *inst = &parse.FullToken.FullInstruction; in evergreen_gpr_count()
1582 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_gs_inputs()
1851 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_lds_inputs()
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c342 switch (parser.FullToken.Token.Type) { in r300_tgsi_to_rc()
346 handle_immediate(ttr, &parser.FullToken.FullImmediate, imm_index); in r300_tgsi_to_rc()
350 inst = &parser.FullToken.FullInstruction; in r300_tgsi_to_rc()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c1003 const union tgsi_full_token *tok = &p.FullToken; in nvfx_fragprog_prepare()
1010 fdec = &p.FullToken.FullDeclaration; in nvfx_fragprog_prepare()
1035 imm = &p.FullToken.FullImmediate; in nvfx_fragprog_prepare()
1052 switch(p.FullToken.Token.Type) { in nvfx_fragprog_prepare()
1054 fdec = &p.FullToken.FullDeclaration; in nvfx_fragprog_prepare()
1126 switch (parse.FullToken.Token.Type) { in _nvfx_fragprog_translate()
1132 finst = &parse.FullToken.FullInstruction; in _nvfx_fragprog_translate()
Dnvfx_vertprog.c888 const union tgsi_full_token *tok = &p.FullToken; in nvfx_vertprog_prepare()
899 fdec = &p.FullToken.FullDeclaration; in nvfx_vertprog_prepare()
1006 switch (parse.FullToken.Token.Type) { in _nvfx_vertprog_translate()
1011 imm = &parse.FullToken.FullImmediate; in _nvfx_vertprog_translate()
1027 finst = &parse.FullToken.FullInstruction; in _nvfx_vertprog_translate()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_compiler.c158 switch (ctx->parser.FullToken.Token.Type) { in compile_init()
161 &ctx->parser.FullToken.FullDeclaration; in compile_init()
211 &ctx->parser.FullToken.FullImmediate; in compile_init()
1134 switch (ctx->parser.FullToken.Token.Type) { in compile_instructions()
1137 &ctx->parser.FullToken.FullInstruction); in compile_instructions()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler.c483 switch (ctx.FullToken.Token.Type) { in etna_compile_parse_declarations()
487 const struct tgsi_full_immediate *imm = &ctx.FullToken.FullImmediate; in etna_compile_parse_declarations()
563 switch (ctx.FullToken.Token.Type) { in etna_compile_pass_check_usage()
566 const struct tgsi_full_declaration *decl = &ctx.FullToken.FullDeclaration; in etna_compile_pass_check_usage()
578 const struct tgsi_full_instruction *inst = &ctx.FullToken.FullInstruction; in etna_compile_pass_check_usage()
668 switch (ctx.FullToken.Token.Type) { in etna_compile_pass_optimize_outputs()
670 const struct tgsi_full_instruction *inst = &ctx.FullToken.FullInstruction; in etna_compile_pass_optimize_outputs()
1818 switch (ctx.FullToken.Token.Type) { in etna_compile_pass_generate_code()
1821 inst = &ctx.FullToken.FullInstruction; in etna_compile_pass_generate_code()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c625 if (i915_fpc_useless_mov(&parse.FullToken)) { in i915_optimize()
630 copy_token(&out_tokens->Tokens[i] , &parse.FullToken); in i915_optimize()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c3737 switch (parse.FullToken.Token.Type) { in pre_parse_tokens()
3742 if (parse.FullToken.FullInstruction.Instruction.Opcode == in pre_parse_tokens()
3746 if (!pre_parse_instruction( emit, &parse.FullToken.FullInstruction, in pre_parse_tokens()
3854 switch (parse.FullToken.Token.Type) { in svga_shader_emit_instructions()
3856 ret = svga_emit_immediate( emit, &parse.FullToken.FullImmediate ); in svga_shader_emit_instructions()
3862 ret = svga_translate_decl_sm30( emit, &parse.FullToken.FullDeclaration ); in svga_shader_emit_instructions()
3875 &parse.FullToken.FullInstruction ); in svga_shader_emit_instructions()
Dsvga_tgsi_vgpu10.c6495 switch (parse.FullToken.Token.Type) { in emit_vgpu10_instructions()
6497 ret = emit_vgpu10_immediate(emit, &parse.FullToken.FullImmediate); in emit_vgpu10_instructions()
6503 ret = emit_vgpu10_declaration(emit, &parse.FullToken.FullDeclaration); in emit_vgpu10_instructions()
6516 &parse.FullToken.FullInstruction); in emit_vgpu10_instructions()
6522 ret = emit_vgpu10_property(emit, &parse.FullToken.FullProperty); in emit_vgpu10_instructions()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp1059 switch (parse.FullToken.Token.Type) { in scanSource()
1061 scanImmediate(&parse.FullToken.FullImmediate); in scanSource()
1064 scanDeclaration(&parse.FullToken.FullDeclaration); in scanSource()
1067 insns[insnCount++] = parse.FullToken.FullInstruction; in scanSource()
1068 scanInstruction(&parse.FullToken.FullInstruction); in scanSource()
1071 scanProperty(&parse.FullToken.FullProperty); in scanSource()
1074 INFO("unknown TGSI token type: %d\n", parse.FullToken.Token.Type); in scanSource()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c2032 c->token = &parser.FullToken; in tgsi_to_nir()
2034 switch (parser.FullToken.Token.Type) { in tgsi_to_nir()
/external/mesa3d/src/gallium/drivers/ilo/
Dilo_shader.c465 token = &parse.FullToken; in ilo_shader_info_parse_tokens()
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dtoy_tgsi.c2498 parse_token(tgsi, &parse.FullToken); in toy_compiler_translate_tgsi()