diff options
author | Bas Nieuwenhuizen <[email protected]> | 2016-05-02 15:00:21 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2016-05-26 22:07:04 +0200 |
commit | f91c85b29b8261ab3f44d292ed2130d4f577d976 (patch) | |
tree | ae9cea7c227e4df9673c25204acf2fa04fe22d37 /src/gallium/drivers/radeonsi/Automake.inc | |
parent | fd0a7a382f2accea67396584826f5f8e40239ef3 (diff) |
radeonsi: Process multiple patches per threadgroup.
Using more than 1 wave per threadgroup does increase performance
generally. Not using too many patches per threadgroup also
increases performance. Both catalyst and amdgpu-pro seem to
use 40 patches as their maximum, but I haven't really seen
any performance increase from limiting the number of patches
to 40 instead of 64.
Note that the trick where we overlap the input and output LDS
does not work anymore as the insertion of the tess factors
changes the patch stride.
v2: - Add comment about LDS assumptions.
- Add constant for buffer size.
- Fix code style.
v3: - Correct limits for not splitting patches between waves.
- Set max num_patches to 40 as in the proprietary driver.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/Automake.inc')
0 files changed, 0 insertions, 0 deletions