summaryrefslogtreecommitdiffstats
path: root/src/glsl/Makefile.sources
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-03-25 12:58:51 -0700
committerEric Anholt <[email protected]>2015-04-01 10:57:01 -0700
commita3a07d46d1a8e89136669dd4bb242c7bd5d10015 (patch)
tree77fd34e4eb4e8790d7375b5bb31bb482d4ece069 /src/glsl/Makefile.sources
parent5604d7675ed40227df9fc6a500eb4f0d2421f4ca (diff)
mesa: Make a shared header for 3D pipeline enum / #defines.
NIR uses these enums/#defines in nir_variables and associated intrinsics, but I want to be able to use them from TGSI->NIR and NIR->TGSI. Otherwise, we had to pull in all of mtypes.h. This doesn't cover all of the enums we might want from a shared compiler core (like varying slots or vert attribs), but it at least covers what I need at the moment (system values and interp qualifiers). v2: Move to src/glsl since util/ is really vague. Include in Makefile.am list. Use plain bitshifts and stdint types instead of undefined BITFIELD64_BIT. v3: Rename to shader_enums.h. Move it into Makefile.sources. Reviewed-by: Kenneth Graunke <[email protected]> (v2, with recommendation to rename)
Diffstat (limited to 'src/glsl/Makefile.sources')
-rw-r--r--src/glsl/Makefile.sources3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/Makefile.sources b/src/glsl/Makefile.sources
index c3b63d1354e..fa5d991b5a0 100644
--- a/src/glsl/Makefile.sources
+++ b/src/glsl/Makefile.sources
@@ -185,7 +185,8 @@ LIBGLSL_FILES = \
opt_vectorize.cpp \
program.h \
s_expression.cpp \
- s_expression.h
+ s_expression.h \
+ shader_enums.h
# glsl_compiler