diff options
author | Nicolai Hähnle <[email protected]> | 2016-05-06 11:52:17 -0500 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-05-09 11:52:46 -0500 |
commit | fe102f7677547a48e2985b78ff6671a2ac9da9c4 (patch) | |
tree | 10886e839dad78a674a70fca0fd1ef02babc7190 /src/mesa/main/api_validate.c | |
parent | d8f3e8e6263214caa9daf914487595e6bd5aa0df (diff) |
radeonsi: workaround for tesselation on SI
We request more than 32KB of LDS here, which SI doesn't have. Since LLVM
recently started checking the size of declared LDS allocations, all shaders
involved in tesselation fail to compile on SI.
Note that the entire calculation here seems wrong, given how we calculate
indices for generic attributes, so the number ends up wrong on CI+ as well.
A proper solution is clearly needed, but this patch should serve as a band-aid
for SI in the meantime.
Also note that the real size of the LDS allocation in hardware is independent
from what we tell LLVM, so this is really more of a "cosmetic" change.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95198
Cc: "11.2" <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/api_validate.c')
0 files changed, 0 insertions, 0 deletions