Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_aa_point.c75 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in aa_decl()
152 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_XY, in aa_prolog()
158 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_prolog()
159 TGSI_FILE_TEMPORARY, tmp0, in aa_prolog()
160 TGSI_FILE_TEMPORARY, tmp0, false); in aa_prolog()
164 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_prolog()
165 TGSI_FILE_TEMPORARY, tmp0); in aa_prolog()
171 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_W, in aa_prolog()
177 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_prolog()
179 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, true); in aa_prolog()
[all …]
Dtgsi_point_sprite.c140 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in psprite_decl()
255 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY, in psprite_prolog()
286 TGSI_FILE_TEMPORARY, ts->point_pos_tmp); in psprite_emit_vertex_inst()
296 TGSI_FILE_TEMPORARY, ts->point_scale_tmp, TGSI_WRITEMASK_X, in psprite_emit_vertex_inst()
297 TGSI_FILE_TEMPORARY, ts->point_size_tmp, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst()
298 TGSI_FILE_TEMPORARY, ts->point_pos_tmp, TGSI_SWIZZLE_W, false); in psprite_emit_vertex_inst()
304 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY, in psprite_emit_vertex_inst()
307 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_TEMPORARY, in psprite_emit_vertex_inst()
321 TGSI_FILE_TEMPORARY, ts->point_coord_k, in psprite_emit_vertex_inst()
325 TGSI_FILE_TEMPORARY, ts->point_size_tmp, in psprite_emit_vertex_inst()
[all …]
Dtgsi_two_side.c88 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in xform_decl()
125 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_prolog()
152 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in emit_prolog()
186 inst->Src[i].Register.File = TGSI_FILE_TEMPORARY; in xform_inst()
Dtgsi_lowering.c1176 tmpbase = info->file_max[TGSI_FILE_TEMPORARY] + 1; in emit_twoside()
1210 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_twoside()
1221 new_inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in emit_twoside()
1259 tmpbase = info->file_max[TGSI_FILE_TEMPORARY] + 1; in emit_decls()
1282 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_decls()
1286 ctx->tmp[i].src.Register.File = TGSI_FILE_TEMPORARY; in emit_decls()
1293 ctx->tmp[i].dst.Register.File = TGSI_FILE_TEMPORARY; in emit_decls()
1312 src->File = TGSI_FILE_TEMPORARY; in rename_color_inputs()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c150 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in aa_transform_decl()
214 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_XY, in aa_transform_prolog()
220 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_transform_prolog()
221 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, in aa_transform_prolog()
222 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_Y, false); in aa_transform_prolog()
227 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_transform_prolog()
228 TGSI_FILE_TEMPORARY, tmp0); in aa_transform_prolog()
232 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_transform_prolog()
233 TGSI_FILE_TEMPORARY, tmp0); in aa_transform_prolog()
238 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_transform_prolog()
[all …]
Ddraw_pipe_aaline.c182 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in aa_transform_decl()
273 TGSI_FILE_TEMPORARY, aactx->texTemp, in aa_transform_epilog()
281 TGSI_FILE_TEMPORARY, aactx->colorTemp); in aa_transform_epilog()
287 TGSI_FILE_TEMPORARY, aactx->colorTemp, in aa_transform_epilog()
288 TGSI_FILE_TEMPORARY, aactx->texTemp, false); in aa_transform_epilog()
311 dst->Register.File = TGSI_FILE_TEMPORARY; in aa_transform_inst()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels_shader.c103 ctx->color_temp = ctx->info.file_max[TGSI_FILE_TEMPORARY] + 1; in transform_instr()
143 tgsi_transform_tex_inst(tctx, TGSI_FILE_TEMPORARY, ctx->color_temp, in transform_instr()
151 TGSI_FILE_TEMPORARY, ctx->color_temp, in transform_instr()
153 TGSI_FILE_TEMPORARY, ctx->color_temp, in transform_instr()
169 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
174 SET_SRC(&inst, 0, TGSI_FILE_TEMPORARY, ctx->color_temp, X, Y, Y, Y); in transform_instr()
182 SET_SRC(&inst, 0, TGSI_FILE_TEMPORARY, ctx->color_temp, Z, W, W, W); in transform_instr()
201 src->Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
Dst_atifs_to_tgsi.c675 ctx->fog_factor_temp = ctx->info.file_max[TGSI_FILE_TEMPORARY] + 1; in transform_instr()
715 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
731 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
742 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
746 SET_SRC(&inst, 0, TGSI_FILE_TEMPORARY, ctx->fog_factor_temp, X, Y, Z, W); in transform_instr()
757 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
768 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
772 SET_SRC(&inst, 0, TGSI_FILE_TEMPORARY, ctx->fog_factor_temp, X, Y, Z, W); in transform_instr()
773 SET_SRC(&inst, 1, TGSI_FILE_TEMPORARY, ctx->fog_factor_temp, X, Y, Z, W); in transform_instr()
779 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
[all …]
Dst_cb_bitmap_shader.c70 if (ctx->info.file_max[TGSI_FILE_TEMPORARY] == -1) { in transform_instr()
100 TGSI_FILE_TEMPORARY, 0, in transform_instr()
110 inst.Src[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
Dst_tgsi_lower_yuv.c223 tempbase = info->file_max[TGSI_FILE_TEMPORARY] + 1; in emit_decls()
227 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_decls()
231 ctx->tmp[i].src.Register.File = TGSI_FILE_TEMPORARY; in emit_decls()
238 ctx->tmp[i].dst.Register.File = TGSI_FILE_TEMPORARY; in emit_decls()
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c215 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in pstip_transform_decl()
344 TGSI_FILE_TEMPORARY, texTemp, in pstip_transform_prolog()
351 TGSI_FILE_TEMPORARY, texTemp, in pstip_transform_prolog()
352 TGSI_FILE_TEMPORARY, texTemp, in pstip_transform_prolog()
357 TGSI_FILE_TEMPORARY, texTemp, in pstip_transform_prolog()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_vs_draw.c83 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_temp()
205 } else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in transform_decl()
255 new_inst.Src[0].Register.File = TGSI_FILE_TEMPORARY; in transform_inst()
267 new_inst.Src[0].Register.File = TGSI_FILE_TEMPORARY; in transform_inst()
280 dst->Register.File = TGSI_FILE_TEMPORARY; in transform_inst()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c250 unsigned num_arrays = ctx->bld_base.info->array_max[TGSI_FILE_TEMPORARY]; in get_temp_array_id()
274 if (File == TGSI_FILE_TEMPORARY) { in get_array_range()
306 if (file != TGSI_FILE_TEMPORARY) in get_pointer_into_array()
465 case TGSI_FILE_TEMPORARY: in store_value_to_array()
572 case TGSI_FILE_TEMPORARY: in si_llvm_emit_fetch()
657 case TGSI_FILE_TEMPORARY: in emit_declaration()
704 ctx->temps_count = bld_base->info->file_max[TGSI_FILE_TEMPORARY] + 1; in emit_declaration()
878 case TGSI_FILE_TEMPORARY: in si_llvm_emit_store()
1127 if (info->array_max[TGSI_FILE_TEMPORARY] > 0) { in si_llvm_context_set_tgsi()
1128 int size = info->array_max[TGSI_FILE_TEMPORARY]; in si_llvm_context_set_tgsi()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi.c204 emit.nr_hw_temp = emit.info.file_max[TGSI_FILE_TEMPORARY] + 1; in svga_tgsi_vgpu9_translate()
212 if (emit.info.indirect_files & (1 << TGSI_FILE_TEMPORARY)) { in svga_tgsi_vgpu9_translate()
Dsvga_tgsi_vgpu10.c667 case TGSI_FILE_TEMPORARY: in translate_register_file()
713 if (file == TGSI_FILE_TEMPORARY) { in get_temp_array_id()
730 if (file == TGSI_FILE_TEMPORARY) { in remap_temp_index()
776 assert(file == TGSI_FILE_TEMPORARY); in setup_operand0_indexing()
841 emit_dword(emit, remap_temp_index(emit, TGSI_FILE_TEMPORARY, tmp_reg_index)); in emit_indirect_register()
873 file = TGSI_FILE_TEMPORARY; in emit_dst_register()
883 file = TGSI_FILE_TEMPORARY; in emit_dst_register()
891 file = TGSI_FILE_TEMPORARY; in emit_dst_register()
911 file = TGSI_FILE_TEMPORARY; in emit_dst_register()
992 file = TGSI_FILE_TEMPORARY; in emit_src_register()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_compiler.c338 case TGSI_FILE_TEMPORARY: in add_dst_reg()
380 case TGSI_FILE_TEMPORARY: in add_src_reg()
528 tmp_dst->File = TGSI_FILE_TEMPORARY; in get_internal_temp()
538 tmp_dst->Index = ctx->num_regs[TGSI_FILE_TEMPORARY] + n; in get_internal_temp()
549 dst->File = TGSI_FILE_TEMPORARY; in get_predicate()
577 ctx->pred_reg = ctx->num_regs[TGSI_FILE_TEMPORARY]; in push_predicate()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.h1002 assert(addr.File == TGSI_FILE_ADDRESS || addr.File == TGSI_FILE_TEMPORARY); in ureg_dst_indirect()
1014 assert(addr.File == TGSI_FILE_ADDRESS || addr.File == TGSI_FILE_TEMPORARY); in ureg_src_indirect()
1050 assert(reg.File == TGSI_FILE_TEMPORARY); in ureg_dst_array_offset()
1062 src.IndirectFile == TGSI_FILE_TEMPORARY)); in ureg_dst()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_aos.c251 case TGSI_FILE_TEMPORARY: in lp_emit_store_aos()
384 case TGSI_FILE_TEMPORARY: in lp_emit_declaration_aos()
386 if (bld->indirect_files & (1 << TGSI_FILE_TEMPORARY)) { in lp_emit_declaration_aos()
897 bld.bld_base.emit_fetch_funcs[TGSI_FILE_TEMPORARY] = emit_fetch_temporary; in lp_build_tgsi_aos()
Dlp_bld_tgsi_info.c69 if (src->File == TGSI_FILE_TEMPORARY) { in analyse_src()
302 if (dst->File == TGSI_FILE_TEMPORARY) { in analyse_instruction()
Dlp_bld_tgsi_soa.c834 case TGSI_FILE_TEMPORARY: in get_file_ptr()
871 return get_file_ptr(bld, TGSI_FILE_TEMPORARY, index, chan); in lp_get_temp_ptr_soa()
1073 case TGSI_FILE_TEMPORARY: in get_indirect_index()
1823 case TGSI_FILE_TEMPORARY: in emit_store_chan()
2807 } else if (file == TGSI_FILE_TEMPORARY) { in emit_dump_file()
2842 case TGSI_FILE_TEMPORARY: in lp_emit_declaration_soa()
2843 if (!(bld->indirect_files & (1 << TGSI_FILE_TEMPORARY))) { in lp_emit_declaration_soa()
3647 if (bld->indirect_files & (1 << TGSI_FILE_TEMPORARY)) { in emit_prologue()
3650 bld_base->info->file_max[TGSI_FILE_TEMPORARY] * 4 + 4); in emit_prologue()
3741 emit_dump_file(bld, TGSI_FILE_TEMPORARY); in emit_epilogue()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_vertprog.c384 case TGSI_FILE_TEMPORARY: in tgsi_src()
431 case TGSI_FILE_TEMPORARY: in tgsi_dst()
480 if (fsrc->Register.File == TGSI_FILE_TEMPORARY) { in nvfx_vertprog_parse_instruction()
523 case TGSI_FILE_TEMPORARY: in nvfx_vertprog_parse_instruction()
894 case TGSI_FILE_TEMPORARY: in nvfx_vertprog_prepare()
Dnvfx_fragprog.c392 case TGSI_FILE_TEMPORARY: in tgsi_src()
423 case TGSI_FILE_TEMPORARY: in tgsi_dst()
464 if (fsrc->Register.File == TGSI_FILE_TEMPORARY) { in nvfx_fragprog_parse_instruction()
518 case TGSI_FILE_TEMPORARY: in nvfx_fragprog_parse_instruction()
994 case TGSI_FILE_TEMPORARY: in nvfx_fragprog_prepare()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c248 if (file == TGSI_FILE_TEMPORARY) { in ttn_emit_declaration()
524 case TGSI_FILE_TEMPORARY: in ttn_src_for_file_and_index()
713 if (tgsi_dst->File == TGSI_FILE_TEMPORARY) { in ttn_get_dest()
744 if (tgsi_dst->Indirect && (tgsi_dst->File != TGSI_FILE_TEMPORARY)) { in ttn_get_dest()
759 if (tgsi_dst->File == TGSI_FILE_TEMPORARY) { in ttn_get_var()
1932 scan.file_max[TGSI_FILE_TEMPORARY] + 1); in tgsi_to_nir()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp424 case TGSI_FILE_TEMPORARY: return nv50_ir::FILE_GPR; in translateFile()
1136 tempArrayId.resize(scan.file_max[TGSI_FILE_TEMPORARY] + 1); in scanSource()
1477 case TGSI_FILE_TEMPORARY: in scanDeclaration()
1509 if (src.getFile() == TGSI_FILE_TEMPORARY) { in scanInstructionSrc()
1587 if (dst.getFile() == TGSI_FILE_TEMPORARY) { in scanInstruction()
2032 case TGSI_FILE_TEMPORARY: in getArrayForFile()
2132 case TGSI_FILE_TEMPORARY: { in fetchSrc()
2162 if (f == TGSI_FILE_TEMPORARY) { in acquireDst()
2221 if (f == TGSI_FILE_TEMPORARY || in storeDst()
2224 if (f == TGSI_FILE_TEMPORARY) { in storeDst()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_translate.c174 case TGSI_FILE_TEMPORARY: in src_vector()
298 case TGSI_FILE_TEMPORARY: in get_result_vector()
988 == TGSI_FILE_TEMPORARY) { in i915_translate_token()

12