summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state_draw.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2016-05-02 14:55:52 +0200
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2016-05-26 22:07:04 +0200
commita4e2146a9d24592ed7e3bf778e3c21c6cfb89330 (patch)
tree22c833205f564016e5b75c762ab868e52ca9feec /src/gallium/drivers/radeonsi/si_state_draw.c
parent6217716e8f6091f7bbacbb9fa2f52997d3ac5d03 (diff)
downloadexternal_mesa3d-a4e2146a9d24592ed7e3bf778e3c21c6cfb89330.zip
external_mesa3d-a4e2146a9d24592ed7e3bf778e3c21c6cfb89330.tar.gz
external_mesa3d-a4e2146a9d24592ed7e3bf778e3c21c6cfb89330.tar.bz2
radeonsi: Use buffer loads and stores for passing data from TCS to TES.
We always try to use 4-component loads, as LLVM does not combine loads and they bypass the L1 cache. We can't use a similar strategy for stores and this is especially notable with the tess factors, as they are often set with separate MOV's per component in the TGSI. We keep storing to LDS and the LDS space, so we can load the outputs later, either due to the shader, of for wrting the tess factors. Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state_draw.c')
0 files changed, 0 insertions, 0 deletions