Searched refs:full_dwords (Results 1 – 1 of 1) sorted by relevance
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_esgs_io_to_mem.c | 62 unsigned full_dwords = total_bytes / 4u; in emit_split_buffer_load() local 63 unsigned remaining_bytes = total_bytes - full_dwords * 4u; in emit_split_buffer_load() 71 full_dwords++; in emit_split_buffer_load() 74 for (unsigned i = 0; i < full_dwords; ++i) in emit_split_buffer_load() 79 comps[full_dwords] = nir_build_load_buffer_amd(b, 1, remaining_bytes * 8, desc, v_off, s_off, in emit_split_buffer_load() 80 … .base = component_stride * full_dwords, .memory_modes = nir_var_shader_in); in emit_split_buffer_load() 82 return nir_extract_bits(b, comps, full_dwords + !!remaining_bytes, 0, num_components, bit_size); in emit_split_buffer_load()
|