From: Rob Clark Date: Fri, 3 May 2019 16:33:34 +0000 (-0700) Subject: freedreno/ir3: remove assert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c97b3c5466e45f5139040e17c136d62fdd31c8a;p=mesa.git freedreno/ir3: remove assert Fixes dEQP-GLES31.functional.ubo.random.all_per_block_buffers.13 and .20 ca3eb5db665cbcc2de5a5d3158e3dc68f86e5822 went from silently truncating the constant state, which was also the wrong thing to do, to an assert. Which then showed up in a couple of dEQPs. Actually there is nothing wrong with larger constant file so just drop the assert. Signed-off-by: Rob Clark --- diff --git a/src/freedreno/ir3/ir3_shader.c b/src/freedreno/ir3/ir3_shader.c index d1d748813af..92e3e7b251d 100644 --- a/src/freedreno/ir3/ir3_shader.c +++ b/src/freedreno/ir3/ir3_shader.c @@ -132,7 +132,6 @@ void * ir3_shader_assemble(struct ir3_shader_variant *v, uint32_t gpu_id) * the assembler what the max addr reg value can be: */ v->constlen = MAX2(v->constlen, v->info.max_const + 1); - debug_assert(v->constlen < 256); fixup_regfootprint(v, gpu_id);