summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2018-08-29 15:35:11 +0200
committerErik Faye-Lund <[email protected]>2018-09-05 05:46:27 +0100
commit38f0c078de9628bd5d429021d9c6e210b66da0fa (patch)
tree6c2e14b0390b50715536361862be94a8e0669fd4 /.gitattributes
parenta805e4e9de2540ec7a7115efb76337f39826e017 (diff)
st/mesa: clean up atomic vs ssbo code
This makes the code a bit easier to follow; we first set up MaxShaderStorageBlocks, then we either set up a dedicated MaxAtomicBuffers, or we split MaxShaderStorageBlocks in two. While we're at it, also make the SSBO-splitting code tolerate the hypothetical case of having an odd number of SSBOs without incorrectly dropping the last SSBO. This has the nice result that the SSBOs and atomic buffers are dealt with almost completely orthogonally, easing some upcoming patches. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions