Searched refs:outer_comps (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_tess_io.cpp | 453 auto outer_comps = outer_tf_components(prim_type); in r600_append_tcs_TF_emission() local 454 if (!outer_comps) in r600_append_tcs_TF_emission() 457 unsigned inner_comps = outer_comps - 2; in r600_append_tcs_TF_emission() 458 unsigned stride = (inner_comps + outer_comps) * 4; in r600_append_tcs_TF_emission() 473 nir_ssa_def *addr_outer = nir_iadd(b, addr0, load_offset_group(b, outer_comps)); in r600_append_tcs_TF_emission() 475 tf_outer->num_components = outer_comps; in r600_append_tcs_TF_emission() 506 if (outer_comps > 2) { in r600_append_tcs_TF_emission() 507 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/ |
D | ac_nir_lower_tess_io_to_mem.c | 474 unsigned outer_comps; in hs_emit_write_tess_factors() local 479 outer_comps = 2; in hs_emit_write_tess_factors() 483 outer_comps = 3; in hs_emit_write_tess_factors() 487 outer_comps = 4; in hs_emit_write_tess_factors() 522 …nir_ssa_def *tessfactors_outer = nir_build_load_shared(b, outer_comps, 32, lds_base, .base = st->t… in hs_emit_write_tess_factors() 531 …nir_ssa_def *tess_factors_offset = nir_imul_imm(b, rel_patch_id, (inner_comps + outer_comps) * 4u); in hs_emit_write_tess_factors() 554 …rs_offset, tess_factors_base, .base = tess_factors_const_offset + 4u * outer_comps, .write_mask = … in hs_emit_write_tess_factors()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_tess.c | 679 unsigned stride, outer_comps, inner_comps, i, offset; in si_write_tess_factors() local 698 outer_comps = 2; in si_write_tess_factors() 703 outer_comps = 3; in si_write_tess_factors() 708 outer_comps = 4; in si_write_tess_factors() 723 for (i = 0; i < outer_comps; i++) in si_write_tess_factors() 726 inner[i] = out[outer_comps + i] = invoc0_tf_inner[i]; in si_write_tess_factors() 740 for (i = 0; i < outer_comps; i++) { in si_write_tess_factors() 744 inner[i] = out[outer_comps + i] = lshs_lds_load(ctx, ctx->ac.i32, i, lds_inner); in si_write_tess_factors() 805 ? outer_comps in si_write_tess_factors() 806 : util_next_power_of_two(outer_comps); in si_write_tess_factors() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_shader.c | 3215 int stride, outer_comps, inner_comps; in r600_emit_tess_factor() local 3242 outer_comps = 2; in r600_emit_tess_factor() 3247 outer_comps = 3; in r600_emit_tess_factor() 3253 outer_comps = 4; in r600_emit_tess_factor() 3279 r = r600_tess_factor_read(ctx, tessouter_idx, outer_comps); in r600_emit_tess_factor() 3303 for (i = 0; i < outer_comps + inner_comps; i++) { in r600_emit_tess_factor() 3304 int out_idx = i >= outer_comps ? tessinner_idx : tessouter_idx; in r600_emit_tess_factor() 3305 int out_comp = i >= outer_comps ? i - outer_comps : i; in r600_emit_tess_factor() 3327 for (i = 0; i < outer_comps + inner_comps; i++) { in r600_emit_tess_factor()
|