Home
last modified time | relevance | path

Searched refs:outer_comps (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tess_io.cpp370 auto outer_comps = outer_tf_components(prim_type); in r600_append_tcs_TF_emission() local
371 if (!outer_comps) in r600_append_tcs_TF_emission()
374 unsigned inner_comps = outer_comps - 2; in r600_append_tcs_TF_emission()
375 unsigned stride = (inner_comps + outer_comps) * 4; in r600_append_tcs_TF_emission()
390 nir_ssa_def *addr_outer = nir_iadd(b, addr0, load_offset_group(b, outer_comps)); in r600_append_tcs_TF_emission()
392 tf_outer->num_components = outer_comps; in r600_append_tcs_TF_emission()
424 if (outer_comps > 2) { in r600_append_tcs_TF_emission()
425 auto v1 = (outer_comps > 3) ? nir_vec4(b, nir_iadd(b, out_addr0, nir_imm_int(b, 8)), in r600_append_tcs_TF_emission()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_tess.c686 unsigned stride, outer_comps, inner_comps, i, offset; in si_write_tess_factors() local
705 outer_comps = 2; in si_write_tess_factors()
710 outer_comps = 3; in si_write_tess_factors()
715 outer_comps = 4; in si_write_tess_factors()
730 for (i = 0; i < outer_comps; i++) in si_write_tess_factors()
733 inner[i] = out[outer_comps + i] = invoc0_tf_inner[i]; in si_write_tess_factors()
747 for (i = 0; i < outer_comps; i++) { in si_write_tess_factors()
751 inner[i] = out[outer_comps + i] = lshs_lds_load(ctx, ctx->ac.i32, i, lds_inner); in si_write_tess_factors()
814 ? outer_comps in si_write_tess_factors()
815 : util_next_power_of_two(outer_comps); in si_write_tess_factors()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c3312 unsigned stride, outer_comps, inner_comps; in write_tess_factors() local
3324 outer_comps = 2; in write_tess_factors()
3329 outer_comps = 3; in write_tess_factors()
3334 outer_comps = 4; in write_tess_factors()
3367 for (i = 0; i < outer_comps; i++) { in write_tess_factors()
3374 inner[i] = out[outer_comps+i] = in write_tess_factors()
3428 util_next_power_of_two(outer_comps)); in write_tess_factors()
3431 outer_comps, tf_outer_offset, in write_tess_factors()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c3210 int stride, outer_comps, inner_comps; in r600_emit_tess_factor() local
3237 outer_comps = 2; in r600_emit_tess_factor()
3242 outer_comps = 3; in r600_emit_tess_factor()
3248 outer_comps = 4; in r600_emit_tess_factor()
3274 r = r600_tess_factor_read(ctx, tessouter_idx, outer_comps); in r600_emit_tess_factor()
3298 for (i = 0; i < outer_comps + inner_comps; i++) { in r600_emit_tess_factor()
3299 int out_idx = i >= outer_comps ? tessinner_idx : tessouter_idx; in r600_emit_tess_factor()
3300 int out_comp = i >= outer_comps ? i - outer_comps : i; in r600_emit_tess_factor()
3322 for (i = 0; i < outer_comps + inner_comps; i++) { in r600_emit_tess_factor()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp10584 unsigned outer_comps; in write_tcs_tess_factors() local
10589 outer_comps = 2; in write_tcs_tess_factors()
10593 outer_comps = 3; in write_tcs_tess_factors()
10597 outer_comps = 4; in write_tcs_tess_factors()
10619 unsigned stride = inner_comps + outer_comps; in write_tcs_tess_factors()
10632 …tf_outer_vec = load_lds(ctx, 4, bld.tmp(RegClass(RegType::vgpr, outer_comps)), lds_base.first, lds… in write_tcs_tess_factors()
10635 for (unsigned i = 0; i < outer_comps; ++i) in write_tcs_tess_factors()
10638 out[outer_comps + i] = emit_extract_vector(ctx, tf_inner_vec, i, v1); in write_tcs_tess_factors()
10675 …fchip, vmem_offs_outer.first, oc_lds, vmem_offs_outer.second, 4, (1 << outer_comps) - 1, true, mem… in write_tcs_tess_factors()