Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_ubo_vec4.c96 int chan_size_bytes = intr->dest.ssa.bit_size / 8; in nir_lower_ubo_vec4_lower() local
97 int chans_per_vec4 = 16 / chan_size_bytes; in nir_lower_ubo_vec4_lower()
104 assert(align_offset % chan_size_bytes == 0); in nir_lower_ubo_vec4_lower()
108 align_offset + chan_size_bytes * num_components <= 16); in nir_lower_ubo_vec4_lower()
120 int align_chan_offset = align_offset / chan_size_bytes; in nir_lower_ubo_vec4_lower()
132 nir_udiv_imm(b, byte_offset, chan_size_bytes), in nir_lower_ubo_vec4_lower()
137 align_offset + chan_size_bytes * intr->num_components <= 8) { in nir_lower_ubo_vec4_lower()
144 low_channels << (8 / chan_size_bytes); in nir_lower_ubo_vec4_lower()
161 nir_ssa_def *chan_byte_offset = nir_iadd_imm(b, byte_offset, i * chan_size_bytes); in nir_lower_ubo_vec4_lower()
167 nir_udiv_imm(b, chan_byte_offset, chan_size_bytes), in nir_lower_ubo_vec4_lower()