gallivm: increase tgsi nesting call stack size

Some VK CTS tests are topping this out around 76, increase it to 80 for now.

Fixes:
dEQP-VK.spirv_assembly.instruction.graphics.float16.opvectorshuffle.*44*

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11816>
This commit is contained in:
Dave Airlie 2021-09-06 14:33:06 +10:00 committed by Marge Bot
parent c118888f92
commit 2277386565

View file

@ -73,11 +73,12 @@
/**
* Maximum control flow nesting
*
* Vulkan CTS tests seem to have up to 76 levels. Add a few for safety.
* SM4.0 requires 64 (per subroutine actually, subroutine nesting itself is 32)
* SM3.0 requires 24 (most likely per subroutine too)
* add 2 more (some translation could add one more)
*/
#define LP_MAX_TGSI_NESTING 66
#define LP_MAX_TGSI_NESTING 80
/**
* Maximum iterations before loop termination