v3d: Limit shader threading according to our maximum TMU fifo usage.
authorEric Anholt <eric@anholt.net>
Thu, 14 Jun 2018 18:17:11 +0000 (11:17 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 15 Jun 2018 23:09:39 +0000 (16:09 -0700)
commit778594ae12be51110b6b1411e72c5fbb95cbadd3
tree1ecbcb9329343f883a65c90efdc66fb09930bacd
parente130ada24310f0e3adc0349c0fb2098ad20d65d9
v3d: Limit shader threading according to our maximum TMU fifo usage.

Fixes simulator assertion failures in
dEQP-GLES3.functional.shaders.texture_functions.texture.samplercubeshadow_bias_fragment
and similar complicated cases.
src/broadcom/compiler/v3d40_tex.c