From 8c97b3c5466e45f5139040e17c136d62fdd31c8a Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 3 May 2019 09:33:34 -0700 Subject: [PATCH] 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 --- src/freedreno/ir3/ir3_shader.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/freedreno/ir3/ir3_shader.c b/src/freedreno/ir3/ir3_shader.c index d1d7488..92e3e7b 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); -- 2.7.4