On Fri, Mar 17, 2017 at 9:05 AM, Jason Ekstrand <[email protected]>
wrote:

> On Fri, Mar 17, 2017 at 8:45 AM, Matt Turner <[email protected]> wrote:
>
>> On Thu, Mar 16, 2017 at 2:09 PM, Jason Ekstrand <[email protected]>
>> wrote:
>> > Older versions of GCC don't like compound literals in static const
>> > variable declarations because they don't think it's an actual constant
>> > value.
>>
>> Probably because the type it was cast to was explicitly non-const.
>>
>
> So you think it will work if we use "(const VkExtent3D) { 1, 1, 1 }"?
>

I would love it if that worked by the way because it would let us clean up
some stuff in anv_formats.c.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to