diff options
author | Kenneth Graunke <[email protected]> | 2016-06-06 21:37:34 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-06-12 00:38:50 -0700 |
commit | 2213ffdb4bb79856f0556bdf2bfd4bdf57720232 (patch) | |
tree | 1b975a49f37f6ae4bddc9e84689634ab99cecd0a /src/SConscript | |
parent | 9cd8f95809c21330e4ccbfbe80ee2eea0f7906ae (diff) |
i965: Allocate scratch space for the maximum number of compute threads.
We were allocating enough space for the number of threads per subslice,
when we should have been allocating space for the number of threads in
the entire GPU.
Even though we currently run with a reduced thread count (due to a bug),
we might still overflow the scratch buffer because the address
calculation is based on the FFTID, which can depend on exactly which
threads, EUs, and threads are executing. We need to allocate enough
for every possible thread that could run.
Fixes rendering corruption in Synmark's Gl43CSDof on Gen8+.
Earlier platforms need additional bug fixes.
Cc: "12.0" <[email protected]>
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/SConscript')
0 files changed, 0 insertions, 0 deletions