anv_extensions usage from anv_icd was bringing the unwanted dependency
of mako templates for the latter. We don't want that since it will
force the dependency even for distributable tarballs which was not
needed until now.
Jason suggested this approach.
Bugzilla: https://bugs.freedesktop.org/show
On Wed, Jan 10, 2018 at 4:09 AM, Andres Gomez wrote:
> anv_extensions usage from anv_icd was bringing the unwanted dependency
> of mako templates for the latter. We don't want that since it will
> force the dependency even for distributable tarballs which was not
> needed until now.
>
> Jason sug
I also prefer Jason's approach of moving just the creation of the mako Template
inside the if __main__ block, but leaving the actual string at the top level.
Alternatively we could split anv_extensions.py into two files: one that has the
constant data, and one that generates anv_extensions.c. I th