glsl: move shader_enums into nir
First step towards inverting the dependency between glsl and nir (so nir can be used without glsl). Also solves this issue with 'make distclean' Making distclean in mesa make[2]: Entering directory '/mnt/sdb1/Src64/Mesa-git/mesa/src/mesa' Makefile:2486: ../glsl/.deps/shader_enums.Plo: No such file or directory make[2]: *** No rule to make target '../glsl/.deps/shader_enums.Plo'. Stop. make[2]: Leaving directory '/mnt/sdb1/Src64/Mesa-git/mesa/src/mesa' Makefile:684: recipe for target 'distclean-recursive' failed make[1]: *** [distclean-recursive] Error 1 make[1]: Leaving directory '/mnt/sdb1/Src64/Mesa-git/mesa/src' Makefile:615: recipe for target 'distclean-recursive' failed make: *** [distclean-recursive] Error 1 Reported-by:Andy Furniss <adf.lists@gmail.com> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> Signed-off-by:
Rob Clark <robclark@freedesktop.org>
- src/Makefile.am 0 additions, 1 deletionsrc/Makefile.am
- src/gallium/auxiliary/nir/tgsi_to_nir.c 1 addition, 1 deletionsrc/gallium/auxiliary/nir/tgsi_to_nir.c
- src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c 0 additions, 1 deletionsrc/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
- src/gallium/drivers/freedreno/ir3/ir3_nir.h 1 addition, 0 deletionssrc/gallium/drivers/freedreno/ir3/ir3_nir.h
- src/gallium/drivers/freedreno/ir3/ir3_shader.h 1 addition, 1 deletionsrc/gallium/drivers/freedreno/ir3/ir3_shader.h
- src/glsl/Makefile.sources 4 additions, 3 deletionssrc/glsl/Makefile.sources
- src/glsl/nir/nir.h 1 addition, 1 deletionsrc/glsl/nir/nir.h
- src/glsl/nir/shader_enums.c 1 addition, 1 deletionsrc/glsl/nir/shader_enums.c
- src/glsl/nir/shader_enums.h 0 additions, 0 deletionssrc/glsl/nir/shader_enums.h
- src/mesa/Makefile.sources 1 addition, 3 deletionssrc/mesa/Makefile.sources
- src/mesa/main/mtypes.h 1 addition, 1 deletionsrc/mesa/main/mtypes.h