i965: Drop assert about number of uniforms in ARB handling.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 15 Oct 2018 16:29:06 +0000 (09:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 15 Oct 2018 17:56:12 +0000 (10:56 -0700)
commit18cc65edf8480bc83685b3665c8c5268b1da79e6
tree5c6431e449714ea0c4b07fb325eb3aedefaea7a6
parent2241be1d1bbd92b2bfb3f230a25238b317b35b5f
i965: Drop assert about number of uniforms in ARB handling.

My recent prog_to_nir patch started making new sampler uniforms, which
apparently increased the number of parameters.  We used to poke at the
one parameter directly, making it important that there was only one,
but we haven't done that in a while.  It should be safe to just delete
the assertion.

Fixes: 1c0f92d8a8c "nir: Create sampler variables in prog_to_nir."
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp