[Mesa-dev] [PATCH 14/14] radeonsi: increase the maximum UBO size to 2 GB

Roland Scheidegger sroland at vmware.com
Thu Aug 9 16:06:39 UTC 2018


Am 09.08.2018 um 17:57 schrieb Marek Olšák:
> On Thu, Aug 9, 2018 at 1:35 AM, Roland Scheidegger <sroland at vmware.com> wrote:
>> I'm not quite convinced you can really use huge ubos safely? At least
>> direct addressing in tgsi can't work (you've only got a 16bit register
>> index, and it's signed too).
> 
> UBOs use the LOAD instruction if PIPE_CAP_LOAD_CONSTBUF is supported.
> 
> Marek
> 

Ahh I thought you could still get "ordinary" constant buffer addressing.
But you're right it shouldn't be an issue then. Maybe the sanity stuff
doesn't take this into account (although I wouldn't know why the limit
there would be 4096 exactly).

Roland



More information about the mesa-dev mailing list