[Mesa-dev] [PATCH] gallium: reorder fields in pipe_draw_info
sroland at vmware.com
Mon Feb 20 19:36:36 UTC 2017
Am 20.02.2017 um 20:08 schrieb Marek Olšák:
> On Mon, Feb 20, 2017 at 8:03 PM, Roland Scheidegger <sroland at vmware.com> wrote:
>> This doesn't quite just do what the commit log says, since at least one
>> parameter is changed from unsigned to ubyte (I hope vertices_per_patch
>> can't exceed that for any driver...)
> vertices_per_patch must be in [1, 32]. Only 5 bits are necessary to
> represent it.
Well as far as I can tell at a very quick glance this is an
implementation dependent limit.
But I don't have any objections making it a ubyte if no implementations
could handle more than 32 (or even 64, 128,...) anyway (should just
mention it in the log that it's changed to ubyte).
More information about the mesa-dev