/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_test_dma.c | 216 struct pipe_resource tsrc = {}, tdst = {}, *src, *dst; in r600_test_dma() local 227 tsrc.target = tdst.target = PIPE_TEXTURE_2D_ARRAY; in r600_test_dma() 228 tsrc.depth0 = tdst.depth0 = 1; in r600_test_dma() 231 tsrc.format = tdst.format = get_format_from_bpp(bpp); in r600_test_dma() 248 tdst = tsrc; in r600_test_dma() 254 tdst.width0 = (rand() % max_tex_side_gen) + 1; in r600_test_dma() 255 tdst.height0 = (rand() % max_tex_side_gen) + 1; in r600_test_dma() 256 tdst.array_size = (rand() % max_tex_layers) + 1; in r600_test_dma() 260 tdst.width0 = util_next_power_of_two(tdst.width0); in r600_test_dma() 261 tdst.height0 = util_next_power_of_two(tdst.height0); in r600_test_dma() [all …]
|
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
D | ilo_shader_gs.c | 204 mrf_header = tdst_d(tdst(TOY_FILE_MRF, gcc->first_free_mrf, 0)); in gs_write_so() 233 mrf_header = tdst_d(tdst(TOY_FILE_MRF, gcc->first_free_mrf, 0)); in gs_write_vue() 250 gs_COPY4(tc, tdst(TOY_FILE_MRF, mrf + i / 2, 0), 0, in gs_write_vue() 253 gs_COPY4(tc, tdst(TOY_FILE_MRF, mrf + i / 2, 0), 4, in gs_write_vue() 286 tdst_d(tdst(TOY_FILE_MRF, gcc->first_free_mrf, 0)); in gs_ff_sync() 338 mrf_header = tdst_d(tdst(TOY_FILE_MRF, gcc->first_free_mrf, 0)); in gs_discard() 679 dst = tdst(TOY_FILE_VRF, vrf, 0); in gs_lower_opcode_tgsi_direct() 1171 gcc->vars.urb_write_header = tdst_d(tdst(TOY_FILE_GRF, grf, 0)); in gs_setup_vars() 1174 gcc->vars.tmp = tdst(TOY_FILE_GRF, grf, 0); in gs_setup_vars() 1180 gcc->vars.buffers[i] = tdst(TOY_FILE_GRF, grf, 0); in gs_setup_vars() [all …]
|
D | ilo_shader_fs.c | 263 tdst_ud(tdst(TOY_FILE_MRF, fcc->first_free_mrf, 0)); in fs_lower_opcode_tgsi_indirect_const() 299 tmp = tdst(TOY_FILE_VRF, tc_alloc_vrf(tc, param_size * 4), 0); in fs_lower_opcode_tgsi_indirect_const() 344 tdst_ud(tdst(TOY_FILE_MRF, fcc->first_free_mrf, 0)); in fs_lower_opcode_tgsi_const_gen6() 346 tdst_ud(tdst(TOY_FILE_MRF, fcc->first_free_mrf, 2 * 4)); in fs_lower_opcode_tgsi_const_gen6() 395 tdst_ud(tdst(TOY_FILE_MRF, fcc->first_free_mrf, 0)); in fs_lower_opcode_tgsi_const_gen7() 579 #define SAMPLER_PARAM(p) (tdst(TOY_FILE_MRF, base_mrf + (p) * param_size, 0)) in fs_add_sampler_params_gen6() 652 #define SAMPLER_PARAM(p) (tdst(TOY_FILE_MRF, base_mrf + (p) * param_size, 0)) in fs_add_sampler_params_gen7() 1238 pixel_mask_dst = tdst_uw(tdst(TOY_FILE_GRF, 1, 7 * 4)); in fs_lower_opcode_kil() 1246 struct toy_dst f0_dst = tdst_uw(tdst(TOY_FILE_ARF, GEN6_ARF_F0, 0)); in fs_lower_opcode_kil() 1446 const struct toy_dst header = tdst_ud(tdst(TOY_FILE_MRF, base_mrf, 0)); in fs_write_fb() [all …]
|
D | ilo_shader_vs.c | 109 tdst_ud(tdst(TOY_FILE_MRF, vcc->first_free_mrf, 0)); in vs_lower_opcode_tgsi_const_gen6() 111 tdst_ud(tdst(TOY_FILE_MRF, vcc->first_free_mrf + 1, 0)); in vs_lower_opcode_tgsi_const_gen6() 145 tdst_ud(tdst(TOY_FILE_MRF, vcc->first_free_mrf, 0)); in vs_lower_opcode_tgsi_const_gen7() 333 m[i] = tdst(TOY_FILE_MRF, base_mrf + i, 0); in vs_add_sampler_params() 819 dst = tdst(TOY_FILE_VRF, vrf, 0); in vs_collect_outputs() 917 header = tdst_ud(tdst(TOY_FILE_MRF, vcc->first_free_mrf, 0)); in vs_write_vue() 987 tc_MOV(tc, tdst(TOY_FILE_MRF, mrf++, 0), outs[sent_attrs + i]); in vs_write_vue()
|
D | ilo_shader_cs.c | 131 header = tdst_ud(tdst(TOY_FILE_MRF, ccc->first_free_mrf, 0)); in cs_dummy()
|
D | toy_legalize.c | 226 tdst_type(tdst(TOY_FILE_ARF, GEN6_ARF_ACC0, 0), inst_type); in lower_opcode_mul() 253 const struct toy_dst acc0 = tdst(TOY_FILE_ARF, GEN6_ARF_ACC0, 0); in lower_opcode_mac()
|
D | toy_tgsi.c | 1974 struct toy_dst tdst[4]; in ra_get_src() local 1977 tdst_transpose(dst, tdst); in ra_get_src() 1980 tc_MOV(tgsi->tc, tdst[i], in ra_get_src() 2058 struct toy_dst tdst[4]; in parse_instruction() local 2062 tdst_transpose(real_dst, tdst); in parse_instruction() 2066 tc_MOV(tgsi->tc, tdst[j], tsrc[j]); in parse_instruction() 2214 dst = tdst(TOY_FILE_VRF, vrf, 0); in fetch_source()
|
D | toy_compiler.h | 189 return tdst(TOY_FILE_VRF, tc_alloc_vrf(tc, 1), 0); in tc_alloc_tmp()
|
D | toy_compiler_reg.h | 406 tdst(enum toy_file file, unsigned reg, unsigned subreg_in_bytes) in tdst() function
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_shader.c | 486 struct ureg_dst tdst; /* scratch dst if we need extra modifiers */ member 1334 tx->regs.tdst = ureg_writemask(tx_scratch(tx), param->mask); in tx_dst_param() 1335 return tx->regs.tdst; in tx_dst_param() 1357 ureg_MUL(tx->ureg, rdst, ureg_src(tx->regs.tdst), ureg_imm1f(tx->ureg, f)); in tx_apply_dst0_modifiers()
|