summaryrefslogtreecommitdiff
path: root/i965_drv_video/shaders/render/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'i965_drv_video/shaders/render/Makefile.am')
-rw-r--r--i965_drv_video/shaders/render/Makefile.am51
1 files changed, 51 insertions, 0 deletions
diff --git a/i965_drv_video/shaders/render/Makefile.am b/i965_drv_video/shaders/render/Makefile.am
new file mode 100644
index 0000000..f38c234
--- /dev/null
+++ b/i965_drv_video/shaders/render/Makefile.am
@@ -0,0 +1,51 @@
+
+INTEL_G4I = \
+ exa_wm.g4i \
+ exa_wm_affine.g4i
+
+INTEL_G4A = \
+ exa_sf.g4a \
+ exa_wm_xy.g4a \
+ exa_wm_src_affine.g4a \
+ exa_wm_src_sample_planar.g4a \
+ exa_wm_yuv_rgb.g4a \
+ exa_wm_blend_subpicture.g4a \
+ exa_wm_write.g4a
+
+INTEL_G4B = \
+ exa_sf.g4b \
+ exa_wm_xy.g4b \
+ exa_wm_src_affine.g4b \
+ exa_wm_src_sample_planar.g4b \
+ exa_wm_yuv_rgb.g4b \
+ exa_wm_blend_subpicture.g4b \
+ exa_wm_write.g4b
+
+INTEL_G4B_GEN5 = \
+ exa_sf.g4b.gen5 \
+ exa_wm_xy.g4b.gen5 \
+ exa_wm_src_affine.g4b.gen5 \
+ exa_wm_src_sample_planar.g4b.gen5 \
+ exa_wm_yuv_rgb.g4b.gen5 \
+ exa_wm_blend_subpicture.g4b.gen5 \
+ exa_wm_write.g4b.gen5
+
+EXTRA_DIST = $(INTEL_G4I) \
+ $(INTEL_G4A) \
+ $(INTEL_G4B) \
+ $(INTEL_G4B_GEN5)
+
+if HAVE_GEN4ASM
+
+SUFFIXES = .g4a .g4b
+.g4a.g4b:
+ m4 $*.g4a > $*.g4m && intel-gen4asm -o $@ $*.g4m && intel-gen4asm -g 5 -o $@.gen5 $*.g4m && rm $*.g4m
+
+$(INTEL_G4B): $(INTEL_G4I)
+
+BUILT_SOURCES= $(INTEL_G4B)
+
+clean-local:
+ -rm -f $(INTEL_G4B)
+ -rm -f $(INTEL_G4B_GEN5)
+endif