summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2019-05-03 09:33:34 -0700
committerRob Clark <robdclark@chromium.org>2019-05-04 11:50:44 -0700
commit8c97b3c5466e45f5139040e17c136d62fdd31c8a (patch)
tree0b95616c9312f360d05472ed0ab3dc39536b139e
parent7f852831030378923311b7b4c17eb16829406d28 (diff)
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 <robdclark@chromium.org>
-rw-r--r--src/freedreno/ir3/ir3_shader.c1
1 files changed, 0 insertions, 1 deletions
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);