-
Fix shader call stack size mismatch · f9694885Nicolas Capens authored
https://swiftshader-review.googlesource.com/c/SwiftShader/+/16328 increased the maximum call depth validated by the GLSL ES compiler, without increasing the stack size supported by our back-end. The sw::MAX_SHADER_CALL_STACK_SIZE of the back-end is now statically passed to an es2::MAX_SHADER_CALL_STACK_SIZE (has to remain equal or smaller) and then passed to the GLSL compiler's resources limits. Bug b/123587120 Change-Id: I9a56d5b4e980dc0881c238669d2b786bb3c855e3 Reviewed-on: https://swiftshader-review.googlesource.com/c/24628Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Ben Clayton <bclayton@google.com> Reviewed-by:
Chris Forbes <chrisforbes@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
f9694885
×