Skip to content
Snippets Groups Projects
Commit 8c97b3c5 authored by Rob Clark's avatar Rob Clark :speech_balloon:
Browse files

freedreno/ir3: remove assert


Fixes dEQP-GLES31.functional.ubo.random.all_per_block_buffers.13 and .20

ca3eb5db 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: default avatarRob Clark <robdclark@chromium.org>
parent 7f852831
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment