diff options
author | Eric Anholt <[email protected]> | 2015-03-25 12:58:51 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-04-01 10:57:01 -0700 |
commit | a3a07d46d1a8e89136669dd4bb242c7bd5d10015 (patch) | |
tree | 77fd34e4eb4e8790d7375b5bb31bb482d4ece069 /src/util/u_atomic.h | |
parent | 5604d7675ed40227df9fc6a500eb4f0d2421f4ca (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/util/u_atomic.h')
0 files changed, 0 insertions, 0 deletions