Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_ubo_vec4.c104 int chan_size_bytes = intr->dest.ssa.bit_size / 8; in nir_lower_ubo_vec4_lower() local
105 int chans_per_vec4 = 16 / chan_size_bytes; in nir_lower_ubo_vec4_lower()
112 assert(align_offset % chan_size_bytes == 0); in nir_lower_ubo_vec4_lower()
116 align_offset + chan_size_bytes * num_components <= 16); in nir_lower_ubo_vec4_lower()
127 int align_chan_offset = align_offset / chan_size_bytes; in nir_lower_ubo_vec4_lower()
139 nir_udiv_imm(b, byte_offset, chan_size_bytes), in nir_lower_ubo_vec4_lower()
144 align_offset + chan_size_bytes * intr->num_components <= 16) { in nir_lower_ubo_vec4_lower()
151 low_channels << (8 / chan_size_bytes); in nir_lower_ubo_vec4_lower()
169 nir_ssa_def *chan_byte_offset = nir_iadd_imm(b, byte_offset, i * chan_size_bytes); in nir_lower_ubo_vec4_lower()
175 nir_udiv_imm(b, chan_byte_offset, chan_size_bytes), in nir_lower_ubo_vec4_lower()