<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Dec 8, 2017 at 10:04 AM, Pohjolainen, Topi <span dir="ltr"><<a href="mailto:topi.pohjolainen@gmail.com" target="_blank">topi.pohjolainen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Dec 08, 2017 at 08:55:56AM -0800, Jason Ekstrand wrote:<br>
> On Fri, Dec 8, 2017 at 12:40 AM, Pohjolainen, Topi <<br>
> <a href="mailto:topi.pohjolainen@gmail.com">topi.pohjolainen@gmail.com</a>> wrote:<br>
><br>
> > On Wed, Dec 06, 2017 at 08:34:19PM -0800, Jason Ekstrand wrote:<br>
> > > This rewires the logic for assigning uniform locations to work in terms<br>
> > > of "complex alignments". The basic idea is that, as we walk the list of<br>
> > > instructions, we keep track of the alignment and continuity requirements<br>
> > > of each slot and assert that the alignments all match up. We then use<br>
> > > those alignments in the compaction stage to ensure that everything gets<br>
> > > placed at a properly aligned register. The old mechanism handled<br>
> > > alignments by special-casing each of the bit sizes and placing 64-bit<br>
> > > values first followed by 32-bit values.<br>
> > ><br>
> > > The old scheme had the advantage of never leaving a hole since all the<br>
> > > 64-bit values could be tightly packed and so could the 32-bit values.<br>
> > > However, the new scheme has no type size special cases so it handles not<br>
> > > only 32 and 64-bit types but should gracefully extend to 16 and 8-bit<br>
> > > types as the need arises.<br>
> > ><br>
> > > Tested-by: Jose Maria Casanova Crespo <<a href="mailto:jmcasanova@igalia.com">jmcasanova@igalia.com</a>><br>
> > > ---<br>
> > > src/intel/compiler/brw_fs.cpp | 307 ++++++++++++++++++++++++------<br>
> > ------------<br>
> > > 1 file changed, 174 insertions(+), 133 deletions(-)<br>
> > ><br>
> > > diff --git a/src/intel/compiler/brw_fs.<wbr>cpp b/src/intel/compiler/brw_fs.<br>
> > cpp<br>
> > > index 93bb6b4..41260b4 100644<br>
> > > --- a/src/intel/compiler/brw_fs.<wbr>cpp<br>
> > > +++ b/src/intel/compiler/brw_fs.<wbr>cpp<br>
> > > @@ -1906,62 +1906,6 @@ fs_visitor::compact_virtual_<wbr>grfs()<br>
> > > return progress;<br>
> > > }<br>
> > ><br>
> > > -static void<br>
> > > -set_push_pull_constant_loc(<wbr>unsigned uniform, int *chunk_start,<br>
> > > - unsigned *max_chunk_bitsize,<br>
> > > - bool contiguous, unsigned bitsize,<br>
> > > - const unsigned target_bitsize,<br>
> > > - int *push_constant_loc, int<br>
> > *pull_constant_loc,<br>
> > > - unsigned *num_push_constants,<br>
> > > - unsigned *num_pull_constants,<br>
> > > - const unsigned max_push_components,<br>
> > > - const unsigned max_chunk_size,<br>
> > > - bool allow_pull_constants,<br>
> > > - struct brw_stage_prog_data *stage_prog_data)<br>
> > > -{<br>
> > > - /* This is the first live uniform in the chunk */<br>
> > > - if (*chunk_start < 0)<br>
> > > - *chunk_start = uniform;<br>
> > > -<br>
> > > - /* Keep track of the maximum bit size access in contiguous uniforms<br>
> > */<br>
> > > - *max_chunk_bitsize = MAX2(*max_chunk_bitsize, bitsize);<br>
> > > -<br>
> > > - /* If this element does not need to be contiguous with the next, we<br>
> > > - * split at this point and everything between chunk_start and u<br>
> > forms a<br>
> > > - * single chunk.<br>
> > > - */<br>
> > > - if (!contiguous) {<br>
> > > - /* If bitsize doesn't match the target one, skip it */<br>
> > > - if (*max_chunk_bitsize != target_bitsize) {<br>
> > > - /* FIXME: right now we only support 32 and 64-bit accesses */<br>
> > > - assert(*max_chunk_bitsize == 4 || *max_chunk_bitsize == 8);<br>
> > > - *max_chunk_bitsize = 0;<br>
> > > - *chunk_start = -1;<br>
> > > - return;<br>
> > > - }<br>
> > > -<br>
> > > - unsigned chunk_size = uniform - *chunk_start + 1;<br>
> > > -<br>
> > > - /* Decide whether we should push or pull this parameter. In the<br>
> > > - * Vulkan driver, push constants are explicitly exposed via the<br>
> > API<br>
> > > - * so we push everything. In GL, we only push small arrays.<br>
> > > - */<br>
> > > - if (!allow_pull_constants ||<br>
> > > - (*num_push_constants + chunk_size <= max_push_components &&<br>
> > > - chunk_size <= max_chunk_size)) {<br>
> > > - assert(*num_push_constants + chunk_size <=<br>
> > max_push_components);<br>
> > > - for (unsigned j = *chunk_start; j <= uniform; j++)<br>
> > > - push_constant_loc[j] = (*num_push_constants)++;<br>
> > > - } else {<br>
> > > - for (unsigned j = *chunk_start; j <= uniform; j++)<br>
> > > - pull_constant_loc[j] = (*num_pull_constants)++;<br>
> > > - }<br>
> > > -<br>
> > > - *max_chunk_bitsize = 0;<br>
> > > - *chunk_start = -1;<br>
> > > - }<br>
> > > -}<br>
> > > -<br>
> > > static int<br>
> > > get_subgroup_id_param_index(<wbr>const brw_stage_prog_data *prog_data)<br>
> > > {<br>
> > > @@ -1977,6 +1921,98 @@ get_subgroup_id_param_index(<wbr>const<br>
> > brw_stage_prog_data *prog_data)<br>
> > > }<br>
> > ><br>
> > > /**<br>
> > > + * Struct for handling complex alignments.<br>
> > > + *<br>
> > > + * A complex alignment is stored as multiplier and an offset. A value<br>
> > is<br>
> > > + * considered to be aligned if it is congruent to the offset modulo the<br>
> > > + * multiplier.<br>
> > > + */<br>
> > > +struct cplx_align {<br>
> > > + unsigned mul:4;<br>
> > > + unsigned offset:4;<br>
> > > +};<br>
> > > +<br>
> > > +#define CPLX_ALIGN_MAX_MUL 8<br>
> > > +<br>
> > > +static void<br>
> > > +cplx_align_assert_sane(struct cplx_align a)<br>
> > > +{<br>
> > > + assert(a.mul > 0 && util_is_power_of_two(a.mul));<br>
> > > + assert(a.offset < a.mul);<br>
> > > +}<br>
> > > +<br>
> > > +/**<br>
> > > + * Combines two alignments to produce a least multiple of sorts.<br>
> > > + *<br>
> > > + * The returned alignment is the smallest (in terms of multiplier) such<br>
> > that<br>
> > > + * anything aligned to both a and b will be aligned to the new<br>
> > alignment.<br>
> > > + * This function will assert-fail if a and b are not compatible, i.e.<br>
> > if the<br>
> > > + * offset parameters are such that no common alignment is possible.<br>
> > > + */<br>
> > > +static struct cplx_align<br>
> > > +cplx_align_combine(struct cplx_align a, struct cplx_align b)<br>
> > > +{<br>
> > > + cplx_align_assert_sane(a);<br>
> > > + cplx_align_assert_sane(b);<br>
> > > +<br>
> > > + /* Assert that the alignments agree. */<br>
> > > + assert((a.offset & (b.mul - 1)) == (b.offset & (a.mul - 1)));<br>
> > > +<br>
> > > + return a.mul > b.mul ? a : b;<br>
> > > +}<br>
> > > +<br>
> > > +/**<br>
> > > + * Apply a complex alignment<br>
> > > + *<br>
> > > + * This function will return the smallest number greater than or equal<br>
> > to<br>
> > > + * offset that is aligned to align.<br>
> > > + */<br>
> > > +static unsigned<br>
> > > +cplx_align_apply(struct cplx_align align, unsigned offset)<br>
> > > +{<br>
> > > + return ALIGN(offset - align.offset, align.mul) + align.offset;<br>
> > > +}<br>
> > > +<br>
> > > +#define UNIFORM_SLOT_SIZE 4<br>
> > > +<br>
> > > +struct uniform_slot_info {<br>
> > > + /** True if the given uniform slot is live */<br>
> > > + unsigned is_live:1;<br>
> > > +<br>
> > > + /** True if this slot and the slot must remain contiguous */<br>
> ><br>
> > Missing a word? Maybe "...this slot and the slot after must..."?<br>
> ><br>
><br>
> Yes, "slot after" and "next slot" both work. I'll fix that up.<br>
><br>
><br>
> > > + unsigned contiguous:1;<br>
> > > +<br>
> > > + struct cplx_align align;<br>
> > > +};<br>
> > > +<br>
> > > +static void<br>
> > > +mark_uniform_slots_read(<wbr>struct uniform_slot_info *slots,<br>
> > > + unsigned num_slots, unsigned alignment)<br>
> > > +{<br>
> > > + assert(alignment > 0 && util_is_power_of_two(<wbr>alignment));<br>
> > > + assert(alignment <= CPLX_ALIGN_MAX_MUL);<br>
> > > +<br>
> > > + /* We can't align a slot to anything less than the slot size */<br>
> > > + alignment = MAX2(alignment, UNIFORM_SLOT_SIZE);<br>
> > > +<br>
> > > + struct cplx_align align = {alignment, 0};<br>
> > > + cplx_align_assert_sane(align);<br>
> > > +<br>
> > > + for (unsigned i = 0; i < num_slots; i++) {<br>
> > > + slots[i].is_live = true;<br>
> > > + if (i < num_slots - 1)<br>
> > > + slots[i].contiguous = true;<br>
> > > +<br>
> > > + align.offset = (i * UNIFORM_SLOT_SIZE) & (align.mul - 1);<br>
> > > + if (slots[i].align.mul == 0) {<br>
> > > + slots[i].align = align;<br>
> > > + } else {<br>
> > > + slots[i].align = cplx_align_combine(slots[i].<wbr>align, align);<br>
> > > + }<br>
> > > + }<br>
> > > +}<br>
> > > +<br>
> > > +/**<br>
> > > * Assign UNIFORM file registers to either push constants or pull<br>
> > constants.<br>
> > > *<br>
> > > * We allow a fragment shader to have more than the specified minimum<br>
> > > @@ -1994,60 +2030,44 @@ fs_visitor::assign_constant_<wbr>locations()<br>
> > > return;<br>
> > > }<br>
> > ><br>
> > > - bool is_live[uniforms];<br>
> > > - memset(is_live, 0, sizeof(is_live));<br>
> > > - unsigned bitsize_access[uniforms];<br>
> > > - memset(bitsize_access, 0, sizeof(bitsize_access));<br>
> > > -<br>
> > > - /* For each uniform slot, a value of true indicates that the given<br>
> > slot and<br>
> > > - * the next slot must remain contiguous. This is used to keep us<br>
> > from<br>
> > > - * splitting arrays and 64-bit values apart.<br>
> > > - */<br>
> > > - bool contiguous[uniforms];<br>
> > > - memset(contiguous, 0, sizeof(contiguous));<br>
> > > + struct uniform_slot_info slots[uniforms];<br>
> > > + memset(slots, 0, sizeof(slots));<br>
> > ><br>
> > > - /* First, we walk through the instructions and do two things:<br>
> > > - *<br>
> > > - * 1) Figure out which uniforms are live.<br>
> > > - *<br>
> > > - * 2) Mark any indirectly used ranges of registers as contiguous.<br>
> > > - *<br>
> > > - * Note that we don't move constant-indexed accesses to arrays. No<br>
> > > - * testing has been done of the performance impact of this choice.<br>
> > > - */<br>
> > > foreach_block_and_inst_safe(<wbr>block, fs_inst, inst, cfg) {<br>
> > > for (int i = 0 ; i < inst->sources; i++) {<br>
> > > if (inst->src[i].file != UNIFORM)<br>
> > > continue;<br>
> > ><br>
> > > - int constant_nr = inst->src[i].nr + inst->src[i].offset / 4;<br>
> > > + /* NIR tightly packs things so the uniform number might not be<br>
> > > + * aligned (if we have a double right after a float, for<br>
> > instance).<br>
> > > + * This is fine because the process of re-arranging them will<br>
> > ensure<br>
> > > + * that things are properly aligned. The offset into that<br>
> > uniform,<br>
> > > + * however, must be aligned.<br>
> ><br>
> > What about in case of types having size less than 32-bits (i.e., smaller<br>
> > than<br>
> > uniform slot size? Take, for example, invididual components of 16-bits<br>
> > vectors. Their offsets are not necessarily aligned on 32-bit slot<br>
> > boundaries.<br>
> ><br>
><br>
> I did think about that. :-) My plan was that they would have their uniform<br>
> nr set to floor(offset/4) with an offset of offset % 4. Then their slot<br>
> would get aligned to MAX(2, UNIFORM_SLOT_SIZE) = 4 (see<br>
> mark_uniform_slots_read above). Assuming things are reasonably aligned<br>
> (i.e., no one puts a float at an offset of 2 bytes), this should work out<br>
> ok.<br>
<br>
</div></div>Right, I did notice the MAX2() in mark_uniform_slots_read(), and like said<br>
below, things here seem to work also. Mostly I was thinking the division<br>
inst->src[i].offset / UNIFORM_SLOT_SIZE. A little note saying that the offset<br>
may not align to slots but that it doesn't need to. One is only interested if<br>
the slot itself is used and that it is insignificant which part of the slot<br>
the instruction sources.<br>
<br>
Took me a while to crasp things but this is actually clearer than what we had<br>
before:<br>
<br>
Reviewed-by: Topi Pohjolainen <<a href="mailto:topi.pohjolainen@intel.com">topi.pohjolainen@intel.com</a>><br>
<span class=""><br>
><br>
> Unfortunately, I see that we still have asserts that byte_offset % 4 == 0<br>
> in our handling of nir_intrinsic_load_uniform and we're passing the tests.<br>
> They must be pretty bad.<br>
<br>
</span>Yeah, I've been wondering how many things get exercised. I seemed to hit<br>
number of things in liveness analysis and optimization passes with SIMD8<br>
and 16-bit regs with glsl. Then again, I don't have clear picture how much<br>
the 16-bit storage support requires from the 16-bit compiler infrastructure.<br><div class="HOEnZb"><div class="h5"></div></div></blockquote><div><br></div><div>I just realized why this is Ok. Vulkan has a single variable for all push constants and it's at offset 0. That said, we also have an assert that the offset is a multiple of 4 and that definitely doesn't hold.</div><div><br></div><div>--Jason<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
><br>
> --Jason<br>
><br>
><br>
> > See also related question a few lines further.<br>
> ><br>
> > > + *<br>
> > > + * In Vulkan, we have explicit offsets but everything is<br>
> > crammed<br>
> > > + * into a single "variable" so inst->src[i].nr will always be<br>
> > 0.<br>
> > > + * Everything will be properly aligned relative to that one<br>
> > base.<br>
> > > + */<br>
> > > + assert(inst->src[i].offset % type_sz(inst->src[i].type) == 0);<br>
> > > +<br>
> > > + unsigned u = inst->src[i].nr +<br>
> > > + inst->src[i].offset / UNIFORM_SLOT_SIZE;<br>
> ><br>
> > This effectively gives the same uniform slot no matter which individual<br>
> > byte(s) within are addressed. The logic here is about slots so this seems<br>
> > fine. Just wanted to check that this is your intention. And if so, should<br>
> > we<br>
> > comment here a little?<br>
> ><br>
> > ><br>
> > > + if (u >= uniforms)<br>
> > > + continue;<br>
> > > +<br>
> > > + unsigned slots_read;<br>
> > > if (inst->opcode == SHADER_OPCODE_MOV_INDIRECT && i == 0) {<br>
> > > - assert(inst->src[2].ud % 4 == 0);<br>
> > > - unsigned last = constant_nr + (inst->src[2].ud / 4) - 1;<br>
> > > - assert(last < uniforms);<br>
> > > -<br>
> > > - for (unsigned j = constant_nr; j < last; j++) {<br>
> > > - is_live[j] = true;<br>
> > > - contiguous[j] = true;<br>
> > > - bitsize_access[j] = MAX2(bitsize_access[j],<br>
> > type_sz(inst->src[i].type));<br>
> > > - }<br>
> > > - is_live[last] = true;<br>
> > > - bitsize_access[last] = MAX2(bitsize_access[last],<br>
> > type_sz(inst->src[i].type));<br>
> > > + slots_read = DIV_ROUND_UP(inst->src[2].ud,<br>
> > UNIFORM_SLOT_SIZE);<br>
> > > } else {<br>
> > > - if (constant_nr >= 0 && constant_nr < (int) uniforms) {<br>
> > > - int regs_read = inst->components_read(i) *<br>
> > > - type_sz(inst->src[i].type) / 4;<br>
> > > - assert(regs_read <= 2);<br>
> > > - if (regs_read == 2)<br>
> > > - contiguous[constant_nr] = true;<br>
> > > - for (int j = 0; j < regs_read; j++) {<br>
> > > - is_live[constant_nr + j] = true;<br>
> > > - bitsize_access[constant_nr + j] =<br>
> > > - MAX2(bitsize_access[constant_<wbr>nr + j],<br>
> > type_sz(inst->src[i].type));<br>
> > > - }<br>
> > > - }<br>
> > > + unsigned bytes_read = inst->components_read(i) *<br>
> > > + type_sz(inst->src[i].type);<br>
> > > + slots_read = DIV_ROUND_UP(bytes_read, UNIFORM_SLOT_SIZE);<br>
> > > }<br>
> > > +<br>
> > > + assert(u + slots_read <= uniforms);<br>
> > > + mark_uniform_slots_read(&<wbr>slots[u], slots_read,<br>
> > > + type_sz(inst->src[i].type));<br>
> > > }<br>
> > > }<br>
> > ><br>
> > > @@ -2082,43 +2102,64 @@ fs_visitor::assign_constant_<wbr>locations()<br>
> > > memset(pull_constant_loc, -1, uniforms * sizeof(*pull_constant_loc));<br>
> > ><br>
> > > int chunk_start = -1;<br>
> > > - unsigned max_chunk_bitsize = 0;<br>
> > > -<br>
> > > - /* First push 64-bit uniforms to ensure they are properly aligned */<br>
> > > - const unsigned uniform_64_bit_size = type_sz(BRW_REGISTER_TYPE_DF);<br>
> > > + struct cplx_align align;<br>
> > > for (unsigned u = 0; u < uniforms; u++) {<br>
> > > - if (!is_live[u])<br>
> > > + if (!slots[u].is_live) {<br>
> > > + assert(chunk_start == -1);<br>
> > > continue;<br>
> > > + }<br>
> > ><br>
> > > - set_push_pull_constant_loc(u, &chunk_start, &max_chunk_bitsize,<br>
> > > - contiguous[u], bitsize_access[u],<br>
> > > - uniform_64_bit_size,<br>
> > > - push_constant_loc, pull_constant_loc,<br>
> > > - &num_push_constants,<br>
> > &num_pull_constants,<br>
> > > - max_push_components, max_chunk_size,<br>
> > > - compiler->supports_pull_<wbr>constants,<br>
> > > - stage_prog_data);<br>
> > > + /* Skip subgroup_id_index to put it in the last push register. */<br>
> > > + if (subgroup_id_index == (int)u)<br>
> > > + continue;<br>
> > ><br>
> > > - }<br>
> > > + if (chunk_start == -1) {<br>
> > > + chunk_start = u;<br>
> > > + align = slots[u].align;<br>
> > > + } else {<br>
> > > + /* Offset into the chunk */<br>
> > > + unsigned chunk_offset = (u - chunk_start) * UNIFORM_SLOT_SIZE;<br>
> > ><br>
> > > - /* Then push the rest of uniforms */<br>
> > > - const unsigned uniform_32_bit_size = type_sz(BRW_REGISTER_TYPE_F);<br>
> > > - for (unsigned u = 0; u < uniforms; u++) {<br>
> > > - if (!is_live[u])<br>
> > > - continue;<br>
> > > + /* Shift the slot alignment down by the chunk offset so it is<br>
> > > + * comparable with the base chunk alignment.<br>
> > > + */<br>
> > > + struct cplx_align slot_align = slots[u].align;<br>
> > > + slot_align.offset =<br>
> > > + (slot_align.offset - chunk_offset) & (align.mul - 1);<br>
> > ><br>
> > > - /* Skip subgroup_id_index to put it in the last push register. */<br>
> > > - if (subgroup_id_index == (int)u)<br>
> > > + align = cplx_align_combine(align, slot_align);<br>
> > > + }<br>
> > > +<br>
> > > + /* Sanity check the alignment */<br>
> > > + cplx_align_assert_sane(align);<br>
> > > +<br>
> > > + if (slots[u].contiguous)<br>
> > > continue;<br>
> > ><br>
> > > - set_push_pull_constant_loc(u, &chunk_start, &max_chunk_bitsize,<br>
> > > - contiguous[u], bitsize_access[u],<br>
> > > - uniform_32_bit_size,<br>
> > > - push_constant_loc, pull_constant_loc,<br>
> > > - &num_push_constants,<br>
> > &num_pull_constants,<br>
> > > - max_push_components, max_chunk_size,<br>
> > > - compiler->supports_pull_<wbr>constants,<br>
> > > - stage_prog_data);<br>
> > > + /* Adjust the alignment to be in terms of slots, not bytes */<br>
> > > + assert((align.mul & (UNIFORM_SLOT_SIZE - 1)) == 0);<br>
> > > + assert((align.offset & (UNIFORM_SLOT_SIZE - 1)) == 0);<br>
> > > + align.mul /= UNIFORM_SLOT_SIZE;<br>
> > > + align.offset /= UNIFORM_SLOT_SIZE;<br>
> > > +<br>
> > > + unsigned push_start_align = cplx_align_apply(align,<br>
> > num_push_constants);<br>
> > > + unsigned chunk_size = u - chunk_start + 1;<br>
> > > + if (!compiler->supports_pull_<wbr>constants ||<br>
> > > + (chunk_size < max_chunk_size &&<br>
> > > + push_start_align + chunk_size <= max_push_components)) {<br>
> > > + /* Align up the number of push constants */<br>
> > > + num_push_constants = push_start_align;<br>
> > > + for (unsigned i = 0; i < chunk_size; i++)<br>
> > > + push_constant_loc[chunk_start + i] = num_push_constants++;<br>
> > > + } else {<br>
> > > + /* We need to pull this one */<br>
> > > + num_pull_constants = cplx_align_apply(align,<br>
> > num_pull_constants);<br>
> > > + for (unsigned i = 0; i < chunk_size; i++)<br>
> > > + pull_constant_loc[chunk_start + i] = num_pull_constants++;<br>
> > > + }<br>
> > > +<br>
> > > + /* Reset the chunk and start again */<br>
> > > + chunk_start = -1;<br>
> > > }<br>
> > ><br>
> > > /* Add the CS local thread ID uniform at the end of the push<br>
> > constants */<br>
> > > @@ -2131,8 +2172,8 @@ fs_visitor::assign_constant_<wbr>locations()<br>
> > > uint32_t *param = stage_prog_data->param;<br>
> > > stage_prog_data->nr_params = num_push_constants;<br>
> > > if (num_push_constants) {<br>
> > > - stage_prog_data->param = ralloc_array(mem_ctx, uint32_t,<br>
> > > - num_push_constants);<br>
> > > + stage_prog_data->param = rzalloc_array(mem_ctx, uint32_t,<br>
> > > + num_push_constants);<br>
> > > } else {<br>
> > > stage_prog_data->param = NULL;<br>
> > > }<br>
> > > @@ -2140,8 +2181,8 @@ fs_visitor::assign_constant_<wbr>locations()<br>
> > > assert(stage_prog_data->pull_<wbr>param == NULL);<br>
> > > if (num_pull_constants > 0) {<br>
> > > stage_prog_data->nr_pull_<wbr>params = num_pull_constants;<br>
> > > - stage_prog_data->pull_param = ralloc_array(mem_ctx, uint32_t,<br>
> > > - num_pull_constants);<br>
> > > + stage_prog_data->pull_param = rzalloc_array(mem_ctx, uint32_t,<br>
> > > + num_pull_constants);<br>
> > > }<br>
> > ><br>
> > > /* Now that we know how many regular uniforms we'll push, reduce the<br>
> > > --<br>
> > > 2.5.0.400.gff86faf<br>
> > ><br>
> > > ______________________________<wbr>_________________<br>
> > > mesa-dev mailing list<br>
> > > <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> > > <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
> ><br>
</div></div></blockquote></div><br></div></div>