Displaying 1 result from an estimated 1 matches for "normal_gen".
2009 Dec 31
1
[PATCH] Autogenerate uureg opcode macros
...diff --git a/src/gallium/programs/galliumut/Makefile b/src/gallium/programs/galliumut/Makefile
index ab0d684..4cb9d7c 100644
--- a/src/gallium/programs/galliumut/Makefile
+++ b/src/gallium/programs/galliumut/Makefile
@@ -9,3 +9,8 @@ LIBRARY_DEFINES = --std=gnu99
C_SOURCES = egl_gallium.c image.c normal_gen.c
include ../../Makefile.template
+
+default: uureg_opcodes.h
+
+uureg_opcodes.h: gen_uureg_opcodes.sh
+ bash $^ > $@
diff --git a/src/gallium/programs/galliumut/gen_uureg_opcodes.sh b/src/gallium/programs/galliumut/gen_uureg_opcodes.sh
new file mode 100644
index 0000000..3a56fcb
--- /dev/nul...