[Mesa-dev] [PATCH 1/8] spirv: Import the latest 1.0.2 header from Khronos
Ian Romanick
idr at freedesktop.org
Sat Jul 15 01:32:11 UTC 2017
On 07/14/2017 05:45 AM, Emil Velikov wrote:
> Hi gents,
>
> On 14 July 2017 at 02:57, Jason Ekstrand <jason at jlekstrand.net> wrote:
>> On Thu, Jul 13, 2017 at 6:38 PM, Ian Romanick <idr at freedesktop.org> wrote:
>
>>>
>>> This will cause spirv_capability_to_string() to
>>> happily return NULL pointers that none of the callers are prepared to
>>> handle.
>>
> If this is an issue we'd want fixed in -stable, can I suggest a simple
> NULL check.
I believe the NULL pointers would only be consumed by printf, which
won't explode. I don't think a -stable fix is necessary.
> Hmm the spirv_*_to_string helpers are used by vtn_warn() so there's no
> big need for stable fix?
>
> Out of curiosity: is vtn_warn() meant to aid developers, or there's
> something about it in the spirc/vulkan spec?
>
> Thanks
> Emil
>
More information about the mesa-dev
mailing list