radeonsi: unify and align down the max SSBO/TBO/UBO buffer binding size
authorMarek Olšák <marek.olsak@amd.com>
Sun, 26 Apr 2020 05:23:11 +0000 (01:23 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Apr 2020 22:27:31 +0000 (22:27 +0000)
commite58dcc47c3bd4d3f22e9d0a943e339b4866bc616
treebdb9a37fe3ba3b79ef7fcf568ac361b52459f404
parentb7ffa1560c3eed9bf89d546a1d86d11476ad5f05
radeonsi: unify and align down the max SSBO/TBO/UBO buffer binding size

Rounding down the size fixes:
    KHR-GL45.enhanced_layouts.ssb_member_invalid_offset_alignment

Fixes: 03e2adc990d239119619f22599204c1b37b83134
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4761>
src/gallium/drivers/radeonsi/si_get.c