diff options
author | Jason Ekstrand <[email protected]> | 2019-07-22 00:28:27 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-07-22 16:16:39 -0500 |
commit | fa63fad3332309afa14fea68c87cf6aa138fb45c (patch) | |
tree | 5e90fd54f18bdf6c03f752e34dad8a8d96796200 /src/compiler/nir/nir_constant_expressions.py | |
parent | 0661c357c60313905f35ee31a270bd5d5cf555b7 (diff) |
intel/fs: Stop stack allocating large arrays
Normally, we haven't worried too much about stack sizes as Linux tends
to be fairly friendly towards large stacks. However, when running DXVK
apps under wine, we're suddenly subject to Windows' more stringent stack
limitations and can run out of space more easily. In particular, some
of the shaders in Elite Dangerous: Horizons have quite a few registers
and the arrays in split_virtual_grfs are large enough to blow a 1 MiB
stack leading to crashes during shader compilation.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108662
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/compiler/nir/nir_constant_expressions.py')
0 files changed, 0 insertions, 0 deletions