Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tess_io.cpp491 auto outer_comps = outer_tf_components(prim_type); in r600_append_tcs_TF_emission() local
492 if (!outer_comps) in r600_append_tcs_TF_emission()
495 unsigned inner_comps = outer_comps - 2; in r600_append_tcs_TF_emission()
496 unsigned stride = (inner_comps + outer_comps) * 4; in r600_append_tcs_TF_emission()
511 nir_ssa_def *addr_outer = nir_iadd(b, addr0, load_offset_group(b, outer_comps)); in r600_append_tcs_TF_emission()
513 tf_outer->num_components = outer_comps; in r600_append_tcs_TF_emission()
544 if (outer_comps > 2) { in r600_append_tcs_TF_emission()
545 auto v1 = (outer_comps > 3) ? nir_vec4(b, nir_iadd(b, out_addr0, nir_imm_int(b, 8)), in r600_append_tcs_TF_emission()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_tess_io_to_mem.c524 unsigned outer_comps; in hs_emit_write_tess_factors() local
529 outer_comps = 2; in hs_emit_write_tess_factors()
533 outer_comps = 3; in hs_emit_write_tess_factors()
537 outer_comps = 4; in hs_emit_write_tess_factors()
574 …nir_ssa_def *tessfactors_outer = nir_load_shared(b, outer_comps, 32, lds_base, .base = st->tcs_tes… in hs_emit_write_tess_factors()
583 …nir_ssa_def *tess_factors_offset = nir_imul_imm(b, rel_patch_id, (inner_comps + outer_comps) * 4u); in hs_emit_write_tess_factors()
606 …ing, tess_factors_offset, tess_factors_base, .base = tess_factors_const_offset + 4u * outer_comps); in hs_emit_write_tess_factors()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_tess.c292 unsigned stride, outer_comps, inner_comps, i, offset; in si_write_tess_factors() local
315 outer_comps = 2; in si_write_tess_factors()
320 outer_comps = 3; in si_write_tess_factors()
325 outer_comps = 4; in si_write_tess_factors()
340 for (i = 0; i < outer_comps; i++) in si_write_tess_factors()
343 inner[i] = out[outer_comps + i] = invoc0_tf_inner[i]; in si_write_tess_factors()
357 for (i = 0; i < outer_comps; i++) { in si_write_tess_factors()
361 inner[i] = out[outer_comps + i] = lshs_lds_load(ctx, ctx->ac.i32, i, lds_inner); in si_write_tess_factors()
425 outer_vec = ac_build_gather_values(&ctx->ac, outer, outer_comps); in si_write_tess_factors()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c3226 int stride, outer_comps, inner_comps; in r600_emit_tess_factor() local
3253 outer_comps = 2; in r600_emit_tess_factor()
3258 outer_comps = 3; in r600_emit_tess_factor()
3264 outer_comps = 4; in r600_emit_tess_factor()
3290 r = r600_tess_factor_read(ctx, tessouter_idx, outer_comps); in r600_emit_tess_factor()
3314 for (i = 0; i < outer_comps + inner_comps; i++) { in r600_emit_tess_factor()
3315 int out_idx = i >= outer_comps ? tessinner_idx : tessouter_idx; in r600_emit_tess_factor()
3316 int out_comp = i >= outer_comps ? i - outer_comps : i; in r600_emit_tess_factor()
3338 for (i = 0; i < outer_comps + inner_comps; i++) { in r600_emit_tess_factor()