freedreno/ir3: remove assert
authorRob Clark <robdclark@chromium.org>
Fri, 3 May 2019 16:33:34 +0000 (09:33 -0700)
committerRob Clark <robdclark@chromium.org>
Sat, 4 May 2019 18:50:44 +0000 (11:50 -0700)
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>
src/freedreno/ir3/ir3_shader.c

index d1d748813af3369af27e752dc18ae0468468aa51..92e3e7b251d5d1a91993a950f6e1bc77ecbddb86 100644 (file)
@@ -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);