[Mesa-dev] [PATCH] st/mesa: move, clean-up shader variant key decls/inits
Brian Paul
brianp at vmware.com
Fri Mar 8 17:02:07 UTC 2019
On 03/08/2019 09:53 AM, Roland Scheidegger wrote:
> Am 07.03.19 um 17:20 schrieb Brian Paul:
>> Move the variant key declarations inside the scope they're used.
>> Use designated initializers instead of memset() calls.
> I don't think this will always work as intended, since there's
> non-explicit padding bits in the key, and AFAIK even with c11 compilers
> are not required to set such padding to zero too.
Ugh, right. New patch coming...
-Brian
More information about the mesa-dev
mailing list