[Mesa-dev] [PATCH 1/2] mesa: Move varying slots and FS output names to shader_enums.h

Kenneth Graunke kenneth at whitecape.org
Sun Aug 9 18:06:23 PDT 2015

On Tuesday, August 04, 2015 02:28:01 PM Eric Anholt wrote:
> They're used by glsl_to_nir.cpp, and I want to use them in TGSI-to-NIR as
> well (our use of the var->index slot to store slot properties no longer
> works since it got truncated).
> The *_MAX defines are left in mtypes.h, because they depend on config.h.
> ---
>  src/glsl/shader_enums.h |  98 ++++++++++++++++++++++++++++++++++++++++++
>  src/mesa/main/mtypes.h  | 110 ++----------------------------------------------
>  2 files changed, 102 insertions(+), 106 deletions(-)

I'm pretty sure Jason had to do this in his SPIR-V branch as well;
it certainly seems like a good idea.

Acked-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150809/10a11f27/attachment-0001.sig>

More information about the mesa-dev mailing list