diff options
author | Kenneth Graunke <[email protected]> | 2019-10-25 11:18:52 -0700 |
---|---|---|
committer | Kristian H. Kristensen <[email protected]> | 2019-10-25 13:29:09 -0700 |
commit | f306d079320b328199898b15601ac5633b5781bd (patch) | |
tree | 3ad4a6e8f3d7c5c3cd4347f0ece953f789ab140b /src/compiler/Makefile.sources | |
parent | e919c44c3bc9f4aa9ff2e736948be52b03796162 (diff) |
nir: Use VARYING_SLOT_TESS_MAX to size indirect bitmasks
MAX_VARYINGS_INCL_PATCH subtracts VARYING_SLOT_VAR0 giving us a size
that's too small, so BITSET_SET writes words out of bounds, corrupting
the stack and causing all kinds of chaos. VARYING_SLOT_TESS_MAX is
the right value to use here, as it's the largest location.
Closes: 2002
Fixes: ee2050b1111 ("nir: Use BITSET for tracking varyings in lower_io_arrays")
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/compiler/Makefile.sources')
0 files changed, 0 insertions, 0 deletions