Home
last modified time | relevance | path

Searched refs:FullToken (Results 1 – 19 of 19) 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.c163 switch( parse.FullToken.Token.Type ) { in tgsi_transform_shader()
167 = &parse.FullToken.FullInstruction; in tgsi_transform_shader()
179 = &parse.FullToken.FullDeclaration; in tgsi_transform_shader()
191 = &parse.FullToken.FullImmediate; in tgsi_transform_shader()
202 = &parse.FullToken.FullProperty; in tgsi_transform_shader()
Dtgsi_scan.c84 switch( parse.FullToken.Token.Type ) { in tgsi_scan_shader()
88 = &parse.FullToken.FullInstruction; in tgsi_scan_shader()
146 = &parse.FullToken.FullDeclaration; in tgsi_scan_shader()
230 = &parse.FullToken.FullProperty; in tgsi_scan_shader()
296 switch (parse.FullToken.Token.Type) { in tgsi_is_passthrough_shader()
300 &parse.FullToken.FullInstruction; in tgsi_is_passthrough_shader()
Dtgsi_parse.c105 struct tgsi_full_declaration *decl = &ctx->FullToken.FullDeclaration; in tgsi_parse_token()
148 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()
280 struct tgsi_full_property *prop = &ctx->FullToken.FullProperty; in tgsi_parse_token()
Dtgsi_ppc.c1286 switch (parse.FullToken.Token.Type) { in tgsi_emit_ppc()
1289 emit_declaration(func, &parse.FullToken.FullDeclaration ); in tgsi_emit_ppc()
1297 tgsi_dump_instruction(&parse.FullToken.FullInstruction, ic); in tgsi_emit_ppc()
1300 ok = emit_instruction(&gen, &parse.FullToken.FullInstruction); in tgsi_emit_ppc()
1303 uint opcode = parse.FullToken.FullInstruction.Instruction.Opcode; in tgsi_emit_ppc()
1315 const uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in tgsi_emit_ppc()
1321 parse.FullToken.FullImmediate.u[i].Float; in tgsi_emit_ppc()
Dtgsi_parse.h118 union tgsi_full_token FullToken; member
Dtgsi_exec.c727 switch( parse.FullToken.Token.Type ) { in tgsi_exec_machine_bind_shader()
738 if (parse.FullToken.FullDeclaration.Declaration.File == TGSI_FILE_OUTPUT) { in tgsi_exec_machine_bind_shader()
740 for (reg = parse.FullToken.FullDeclaration.Range.First; in tgsi_exec_machine_bind_shader()
741 reg <= parse.FullToken.FullDeclaration.Range.Last; in tgsi_exec_machine_bind_shader()
746 if (parse.FullToken.FullDeclaration.Declaration.File == in tgsi_exec_machine_bind_shader()
750 &parse.FullToken.FullDeclaration; in tgsi_exec_machine_bind_shader()
760 &parse.FullToken.FullDeclaration, in tgsi_exec_machine_bind_shader()
767 uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in tgsi_exec_machine_bind_shader()
773 parse.FullToken.FullImmediate.u[i].Float; in tgsi_exec_machine_bind_shader()
792 &parse.FullToken.FullInstruction, in tgsi_exec_machine_bind_shader()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c357 switch( parse.FullToken.Token.Type ) { in lp_build_tgsi_llvm()
360 bld_base->emit_declaration(bld_base, &parse.FullToken.FullDeclaration); in lp_build_tgsi_llvm()
364 lp_bld_tgsi_add_instruction(bld_base, &parse.FullToken.FullInstruction); in lp_build_tgsi_llvm()
368 bld_base->emit_immediate(bld_base, &parse.FullToken.FullImmediate); in lp_build_tgsi_llvm()
Dlp_bld_tgsi_info.c419 switch (parse.FullToken.Token.Type) { in lp_build_tgsi_info()
426 &parse.FullToken.FullInstruction; in lp_build_tgsi_info()
441 parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in lp_build_tgsi_info()
445 float value = parse.FullToken.FullImmediate.u[chan].Float; in lp_build_tgsi_info()
Dlp_bld_tgsi_aos.c1036 switch(parse.FullToken.Token.Type) { in lp_build_tgsi_aos()
1039 lp_emit_declaration_aos(&bld, &parse.FullToken.FullDeclaration); in lp_build_tgsi_aos()
1045 &parse.FullToken.FullInstruction); in lp_build_tgsi_aos()
1051 const uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1; in lp_build_tgsi_aos()
1060 imm[swizzle] = parse.FullToken.FullImmediate.u[chan].Float; in lp_build_tgsi_aos()
/external/mesa3d/src/gallium/auxiliary/util/
Du_linkage.c79 if(parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION) in util_semantic_set_from_program_file()
81 const struct tgsi_full_instruction *finst = &parse.FullToken.FullInstruction; in util_semantic_set_from_program_file()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c363 switch (parser.FullToken.Token.Type) { in r300_tgsi_to_rc()
367 handle_immediate(ttr, &parser.FullToken.FullImmediate, imm_index); in r300_tgsi_to_rc()
371 inst = &parser.FullToken.FullInstruction; in r300_tgsi_to_rc()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c561 struct tgsi_full_instruction *i = &ctx->parse.FullToken.FullInstruction; in tgsi_is_supported()
790 struct tgsi_full_declaration *d = &ctx->parse.FullToken.FullDeclaration; in tgsi_declaration()
1037 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_constant()
1088 struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction; in tgsi_split_literal_constant()
1298 switch (ctx.parse.FullToken.Token.Type) { in r600_shader_from_tgsi()
1300 immediate = &ctx.parse.FullToken.FullImmediate; in r600_shader_from_tgsi()
1320 property = &ctx.parse.FullToken.FullProperty; in r600_shader_from_tgsi()
1333 R600_ERR("unsupported token type %d\n", ctx.parse.FullToken.Token.Type); in r600_shader_from_tgsi()
1382 switch (ctx.parse.FullToken.Token.Type) { in r600_shader_from_tgsi()
1394 opcode = ctx.parse.FullToken.FullInstruction.Instruction.Opcode; in r600_shader_from_tgsi()
[all …]
/external/mesa3d/src/gallium/drivers/nv30/
Dnvfx_fragprog.c1027 const union tgsi_full_token *tok = &p.FullToken; in nvfx_fragprog_prepare()
1034 fdec = &p.FullToken.FullDeclaration; in nvfx_fragprog_prepare()
1059 imm = &p.FullToken.FullImmediate; in nvfx_fragprog_prepare()
1076 switch(p.FullToken.Token.Type) { in nvfx_fragprog_prepare()
1078 fdec = &p.FullToken.FullDeclaration; in nvfx_fragprog_prepare()
1163 switch (parse.FullToken.Token.Type) { in _nvfx_fragprog_translate()
1169 finst = &parse.FullToken.FullInstruction; in _nvfx_fragprog_translate()
Dnvfx_vertprog.c896 const union tgsi_full_token *tok = &p.FullToken; in nvfx_vertprog_prepare()
907 fdec = &p.FullToken.FullDeclaration; in nvfx_vertprog_prepare()
1014 switch (parse.FullToken.Token.Type) { in _nvfx_vertprog_translate()
1019 imm = &parse.FullToken.FullImmediate; in _nvfx_vertprog_translate()
1035 finst = &parse.FullToken.FullInstruction; in _nvfx_vertprog_translate()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c326 if (i915_fpc_useless_mov(&parse.FullToken)) { in i915_optimize()
331 copy_token(&out_tokens->Tokens[i] , &parse.FullToken); in i915_optimize()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_shader.c472 &parse->FullToken.FullDeclaration; in si_llvm_emit_epilogue()
479 if (parse->FullToken.Token.Type != TGSI_TOKEN_TYPE_DECLARATION) in si_llvm_emit_epilogue()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_from_tgsi.cpp682 switch (parse.FullToken.Token.Type) { in scanSource()
684 scanImmediate(&parse.FullToken.FullImmediate); in scanSource()
687 scanDeclaration(&parse.FullToken.FullDeclaration); in scanSource()
690 insns[insnCount++] = parse.FullToken.FullInstruction; in scanSource()
691 scanInstruction(&parse.FullToken.FullInstruction); in scanSource()
694 scanProperty(&parse.FullToken.FullProperty); in scanSource()
697 INFO("unknown TGSI token type: %d\n", parse.FullToken.Token.Type); in scanSource()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c3238 switch (parse.FullToken.Token.Type) { in pre_parse_tokens()
3243 if (parse.FullToken.FullInstruction.Instruction.Opcode == in pre_parse_tokens()
3247 if (!pre_parse_instruction( emit, &parse.FullToken.FullInstruction, in pre_parse_tokens()
3315 switch (parse.FullToken.Token.Type) { in svga_shader_emit_instructions()
3317 ret = svga_emit_immediate( emit, &parse.FullToken.FullImmediate ); in svga_shader_emit_instructions()
3323 ret = svga_translate_decl_sm30( emit, &parse.FullToken.FullDeclaration ); in svga_shader_emit_instructions()
3336 &parse.FullToken.FullInstruction ); in svga_shader_emit_instructions()