diff options
author | Eric Anholt <eric@anholt.net> | 2006-09-01 16:47:17 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-09-01 16:47:17 -0700 |
commit | 1e6e288b8826789f3b2520d12426ff7852a67ccd (patch) | |
tree | fd129aaac4b418f11ec56c94171f4c6fec692bde /src/Makefile.am | |
parent | 1feb733eb8b09a8b07b7a6987add5149c53b0157 (diff) |
Add a check for intel-gen4asm, and rules to compile {wm,sf}_prog.h using it.
This adds assembly source for the two programs used in the textured video
implementation on the 965, which should make them easier to modify in the
future. The compiled versions are also included, so that intel-gen4asm isn't a
build requirement for people that aren't modifying these programs.
There are minor differences in the compiled versions of these programs compared
to their previous versions which were compiled with a different tool. I
believe the changes should be harmless, and video continues to work on my
system.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 63370ab9..ce7b40e4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -33,6 +33,7 @@ i810_drv_ladir = @moduledir@/drivers i810_drv_la_SOURCES = \ brw_defines.h \ brw_structs.h \ + sf_prog.h \ wm_prog.h \ common.h \ i810_accel.c \ @@ -66,6 +67,13 @@ i810_drv_la_SOURCES = \ i915_reg.h \ i915_video.c +if HAVE_GEN4ASM +sf_prog.h: packed_yuv_sf.g4a + intel-gen4asm -o sf_prog.h packed_yuv_sf.g4a +wm_prog.h: packed_yuv_wm.g4a + intel-gen4asm -o wm_prog.h packed_yuv_wm.g4a +endif + if DRI i810_drv_la_SOURCES += \ i810_dri.c \ @@ -74,3 +82,7 @@ i810_drv_la_SOURCES += \ i810_hwmc.c \ i830_dri.h endif + +EXTRA_DIST = \ + packed_yuv_sf.g4a \ + packed_yuv_wm.g4a |