mesa: Move varying slots and FS output names to shader_enums.h
authorEric Anholt <eric@anholt.net>
Tue, 4 Aug 2015 17:43:58 +0000 (10:43 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 19 Aug 2015 00:40:21 +0000 (17:40 -0700)
commit6ff3341fc77c8e22a62505eb374938db3c95144f
tree0cba9fc15dfcaf2a99b06ef1d81a2e722d492818
parentfdacadc87c708b519a8a4e35b1d551773ca95f4c
mesa: Move varying slots and FS output names to shader_enums.h

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.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/shader_enums.h
src/mesa/main/mtypes.h