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 | 491 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/ |
D | ac_nir_lower_tess_io_to_mem.c | 524 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/ |
D | si_shader_llvm_tess.c | 292 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/ |
D | r600_shader.c | 3226 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()
|