freedreno/a6xx: fix hangs with large shaders
authorRob Clark <robdclark@gmail.com>
Fri, 22 Feb 2019 20:01:17 +0000 (15:01 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 26 Feb 2019 18:19:44 +0000 (13:19 -0500)
commit04c2520d91920725d91a7be6e415d6ab56aeeaab
tree0ef563b077609f7fa43df2ffcff12ff0e4a9245e
parent6dabcb5bcfd5dc4c62dbdb1cfd1ea95e45a47f8a
freedreno/a6xx: fix hangs with large shaders

We were overflowing instrlen (which is # of groups of 16 instructions)
in a couple dEQP tests, causing gpu hangs:

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

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_program.c