Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c218 summarize_repack(nir_builder *b, nir_ssa_def *packed_counts, unsigned num_lds_dwords) in summarize_repack() argument
237 nir_ssa_def *shift = nir_iadd_imm(b, nir_imul_imm(b, lane_id, -4u), num_lds_dwords * 16); in summarize_repack()
240 if (num_lds_dwords == 1) { in summarize_repack()
253 } else if (num_lds_dwords == 2) { in summarize_repack()
315 const unsigned num_lds_dwords = DIV_ROUND_UP(max_num_waves, 4); in repack_invocations_in_workgroup() local
316 assert(num_lds_dwords <= 2); in repack_invocations_in_workgroup()
319 nir_ssa_def *dont_care = nir_ssa_undef(b, 1, num_lds_dwords * 32); in repack_invocations_in_workgroup()
327 …nir_ssa_def *packed_counts = nir_load_shared(b, 1, num_lds_dwords * 32, nir_imm_int(b, 0), .base =… in repack_invocations_in_workgroup()
349 nir_ssa_def *sum = summarize_repack(b, packed_counts, num_lds_dwords); in repack_invocations_in_workgroup()