[Mesa-dev] [PATCH 1.2/8] spirv: Generate spirv_info.c
Ian Romanick
idr at freedesktop.org
Mon Jul 17 17:42:25 UTC 2017
On 07/17/2017 10:09 AM, Ian Romanick wrote:
> On 07/14/2017 09:22 PM, Jason Ekstrand wrote:
>> What you have is fine here but I've been really liking the style that's
>> used in mesa/main/format_fallbacks.py and the anv_extensions.py that I
>> sent out which does
>>
>> COPYRIGHT="""
>> \* The usual C copyright
>> */
>> """
>
> I've done this in some other places where the same copyright is used
> with multiple templates. In the GLX protocol scripts, I actually had a
> function that generated the copyright boilerplate parameterized with a
> list of copyright holders. Maybe to reduce the copy-and-paste we should
> make something like that generally available?
Now that I've looked at format_fallback.py, I see what you mean. I like
it. Ignore my previous comment.
More information about the mesa-dev
mailing list