[Mesa-dev] [PATCH v2] etnaviv: Allow clearing constant buffer using buffer==NULL user_buffer==NULL

Wladimir J. van der Laan laanwj at gmail.com
Mon Oct 30 16:14:44 UTC 2017


On Mon, Oct 30, 2017 at 02:21:07PM +0100, Lucas Stach wrote:
> I would prefer the shorter expression (!cb->buffer && !cb->user_buffer) 
> here, which seems more consistent with the rest of the codebase.

Well, I mimiced the style from other assertion in the function which compares
explicitly with NULL. But ok, I'll update it some time.

Wladimir


More information about the mesa-dev mailing list