Home
last modified time | relevance | path

Searched refs:TGSI_FILE_TEMPORARY (Results 1 – 25 of 39) 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.c141 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in psprite_decl()
256 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY, in psprite_prolog()
287 TGSI_FILE_TEMPORARY, ts->point_pos_tmp); in psprite_emit_vertex_inst()
297 TGSI_FILE_TEMPORARY, ts->point_scale_tmp, TGSI_WRITEMASK_X, in psprite_emit_vertex_inst()
298 TGSI_FILE_TEMPORARY, ts->point_size_tmp, TGSI_SWIZZLE_X, in psprite_emit_vertex_inst()
299 TGSI_FILE_TEMPORARY, ts->point_pos_tmp, TGSI_SWIZZLE_W, false); in psprite_emit_vertex_inst()
305 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY, in psprite_emit_vertex_inst()
308 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_TEMPORARY, in psprite_emit_vertex_inst()
322 TGSI_FILE_TEMPORARY, ts->point_coord_k, in psprite_emit_vertex_inst()
326 TGSI_FILE_TEMPORARY, ts->point_size_tmp, in psprite_emit_vertex_inst()
[all …]
Dtgsi_dynamic_indexing.c71 if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in dIndexing_decl()
124 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY, in remove_dynamic_indexes()
152 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY, in remove_dynamic_indexes()
205 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY, in remove_dynamic_indexes()
208 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_TEMPORARY, in remove_dynamic_indexes()
212 tgsi_transform_src_reg(&inst.Src[1], TGSI_FILE_TEMPORARY, in remove_dynamic_indexes()
222 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_TEMPORARY, in remove_dynamic_indexes()
259 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY, in remove_dynamic_indexes()
262 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_TEMPORARY, in remove_dynamic_indexes()
Dtgsi_two_side.c89 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in xform_decl()
126 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_prolog()
153 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in emit_prolog()
187 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/mesa/state_tracker/
Dst_tgsi_lower_depth_clamp.c91 ctx->pos_output_temp = ctx->info.file_max[TGSI_FILE_TEMPORARY] + 1; in prolog_common()
118 int mad_dst_file = TGSI_FILE_TEMPORARY; in epilog_last_vertex_stage()
130 TGSI_FILE_TEMPORARY, ctx->pos_output_temp); in epilog_last_vertex_stage()
147 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in epilog_last_vertex_stage()
151 tgsi_transform_src_reg_xyzw(&inst.Src[0], TGSI_FILE_TEMPORARY, ctx->pos_output_temp); in epilog_last_vertex_stage()
152 tgsi_transform_src_reg_xyzw(&inst.Src[1], TGSI_FILE_TEMPORARY, ctx->pos_output_temp); in epilog_last_vertex_stage()
177 TGSI_FILE_TEMPORARY, ctx->pos_output_temp, in epilog_last_vertex_stage()
193 TGSI_FILE_TEMPORARY, ctx->pos_output_temp, in epilog_last_vertex_stage()
195 TGSI_FILE_TEMPORARY, ctx->pos_output_temp, in epilog_last_vertex_stage()
203 TGSI_FILE_TEMPORARY, ctx->pos_output_temp, in epilog_last_vertex_stage()
[all …]
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.c677 ctx->fog_factor_temp = ctx->info.file_max[TGSI_FILE_TEMPORARY] + 1; in transform_instr()
717 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
733 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
744 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
748 SET_SRC(&inst, 0, TGSI_FILE_TEMPORARY, ctx->fog_factor_temp, X, Y, Z, W); in transform_instr()
759 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
770 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
774 SET_SRC(&inst, 0, TGSI_FILE_TEMPORARY, ctx->fog_factor_temp, X, Y, Z, W); in transform_instr()
775 SET_SRC(&inst, 1, TGSI_FILE_TEMPORARY, ctx->fog_factor_temp, X, Y, Z, W); in transform_instr()
781 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
[all …]
Dst_cb_bitmap_shader.c69 if (ctx->info.file_max[TGSI_FILE_TEMPORARY] == -1) { in transform_instr()
99 TGSI_FILE_TEMPORARY, 0, in transform_instr()
109 inst.Src[0].Register.File = TGSI_FILE_TEMPORARY; in transform_instr()
Dst_tgsi_lower_yuv.c222 tempbase = info->file_max[TGSI_FILE_TEMPORARY] + 1; in emit_decls()
226 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_decls()
230 ctx->tmp[i].src.Register.File = TGSI_FILE_TEMPORARY; in emit_decls()
237 ctx->tmp[i].dst.Register.File = TGSI_FILE_TEMPORARY; in emit_decls()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c152 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in aa_transform_decl()
216 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_XY, in aa_transform_prolog()
222 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_transform_prolog()
223 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_X, in aa_transform_prolog()
224 TGSI_FILE_TEMPORARY, tmp0, TGSI_SWIZZLE_Y, false); in aa_transform_prolog()
229 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_transform_prolog()
230 TGSI_FILE_TEMPORARY, tmp0); in aa_transform_prolog()
234 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_X, in aa_transform_prolog()
235 TGSI_FILE_TEMPORARY, tmp0); in aa_transform_prolog()
240 TGSI_FILE_TEMPORARY, tmp0, TGSI_WRITEMASK_Y, in aa_transform_prolog()
[all …]
Ddraw_pipe_aaline.c136 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in aa_transform_decl()
205 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY, in aa_transform_epilog()
220 TGSI_FILE_TEMPORARY, aactx->aaTemp, in aa_transform_epilog()
222 TGSI_FILE_TEMPORARY, aactx->aaTemp, in aa_transform_epilog()
224 TGSI_FILE_TEMPORARY, aactx->aaTemp, in aa_transform_epilog()
231 TGSI_FILE_TEMPORARY, aactx->colorTemp); in aa_transform_epilog()
237 TGSI_FILE_TEMPORARY, aactx->colorTemp, in aa_transform_epilog()
238 TGSI_FILE_TEMPORARY, aactx->aaTemp, false); in aa_transform_epilog()
261 dst->Register.File = TGSI_FILE_TEMPORARY; in aa_transform_inst()
/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/svga/
Dsvga_tgsi.c205 emit.nr_hw_temp = emit.info.file_max[TGSI_FILE_TEMPORARY] + 1; in svga_tgsi_vgpu9_translate()
213 if (emit.info.indirect_files & (1 << TGSI_FILE_TEMPORARY)) { in svga_tgsi_vgpu9_translate()
Dsvga_tgsi_vgpu10.c1012 case TGSI_FILE_TEMPORARY: in translate_register_file()
1058 if (file == TGSI_FILE_TEMPORARY) { in get_temp_array_id()
1075 if (file == TGSI_FILE_TEMPORARY) { in remap_temp_index()
1180 emit_dword(emit, remap_temp_index(emit, TGSI_FILE_TEMPORARY, tmp_reg_index)); in emit_indirect_register()
1203 if (file == TGSI_FILE_TEMPORARY) { in emit_dst_register()
1217 file = TGSI_FILE_TEMPORARY; in emit_dst_register()
1227 file = TGSI_FILE_TEMPORARY; in emit_dst_register()
1235 file = TGSI_FILE_TEMPORARY; in emit_dst_register()
1250 file = TGSI_FILE_TEMPORARY; in emit_dst_register()
1279 file = TGSI_FILE_TEMPORARY; in emit_dst_register()
[all …]
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.h1009 assert(addr.File == TGSI_FILE_ADDRESS || addr.File == TGSI_FILE_TEMPORARY); in ureg_dst_indirect()
1021 assert(addr.File == TGSI_FILE_ADDRESS || addr.File == TGSI_FILE_TEMPORARY); in ureg_src_indirect()
1057 assert(reg.File == TGSI_FILE_TEMPORARY); in ureg_dst_array_offset()
1069 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.c451 case TGSI_FILE_TEMPORARY: in get_file_ptr()
495 return get_file_ptr(bld, TGSI_FILE_TEMPORARY, index, chan); in lp_get_temp_ptr_soa()
698 case TGSI_FILE_TEMPORARY: in get_indirect_index()
2862 } else if (file == TGSI_FILE_TEMPORARY) { in emit_dump_file()
2897 case TGSI_FILE_TEMPORARY: in lp_emit_declaration_soa()
2898 if (!(bld->indirect_files & (1 << TGSI_FILE_TEMPORARY))) { in lp_emit_declaration_soa()
4270 if (bld->indirect_files & (1 << TGSI_FILE_TEMPORARY)) { in emit_prologue()
4271 unsigned array_size = bld_base->info->file_max[TGSI_FILE_TEMPORARY] * 4 + 4; in emit_prologue()
4370 emit_dump_file(bld, TGSI_FILE_TEMPORARY); in emit_epilogue()
4464 if (params->info->file_max[TGSI_FILE_TEMPORARY] >= LP_MAX_INLINED_TEMPS) { in lp_build_tgsi_soa()
[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/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp422 case TGSI_FILE_TEMPORARY: return nv50_ir::FILE_GPR; in translateFile()
1093 tempArrayId.resize(scan.file_max[TGSI_FILE_TEMPORARY] + 1); in scanSource()
1429 case TGSI_FILE_TEMPORARY: in scanDeclaration()
1464 if (src.getFile() == TGSI_FILE_TEMPORARY) { in scanInstructionSrc()
1559 if (dst.getFile() == TGSI_FILE_TEMPORARY) { in scanInstruction()
1962 case TGSI_FILE_TEMPORARY: in getArrayForFile()
2062 case TGSI_FILE_TEMPORARY: { in fetchSrc()
2092 if (f == TGSI_FILE_TEMPORARY) { in acquireDst()
2151 if (f == TGSI_FILE_TEMPORARY || in storeDst()
2154 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()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h68 TGSI_FILE_TEMPORARY, enumerator

12