diff options
author | Kenneth Graunke <[email protected]> | 2016-06-09 16:56:31 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-06-12 00:40:14 -0700 |
commit | 147a90d82a5de637f968e0d5f383cabcb792f1ce (patch) | |
tree | 274f226d15f40f96c413b767e79f40d532096f41 /docs/llvmpipe.html | |
parent | a7d029d3dfac1da2701be75ff4d1589ac562e916 (diff) |
i965: Fix Haswell CS per-thread scratch space encoding.
Most scratch stages use power of two sizes, in kilobytes, where
0 means 1kB. But compute shaders on Haswell have a minimum of 2kB,
and use a representation where 0 = 2kB.
This meant that we were effectively telling the hardware to allocate
each thread twice as much space as we meant to, while simultaneously
not allocating that much space in the buffer, leading to overflows.
Note that the existing code is completely wrong for Ivybridge,
but that will take additional work to sort out, so I've left it
as is for now. A subsequent commit will take care of that.
Together with the previous patches, this fixes rendering corruption
on Synmark's Gl43CSDof on Haswell.
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 'docs/llvmpipe.html')
0 files changed, 0 insertions, 0 deletions