summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao, Yakui <yakui.zhao@intel.com>2014-07-01 09:43:56 +0800
committerZhao, Yakui <yakui.zhao@intel.com>2014-07-01 09:43:56 +0800
commitc5cb17ea86f0065a939d3636dd26651c93d497c8 (patch)
treedbd30ba61319dee10e708fe990295027102839c3
parent745340dd013399f64507de73401ab3adb712dad5 (diff)
downloadlibva-intel-driver-c5cb17ea86f0065a939d3636dd26651c93d497c8.tar.gz
libva-intel-driver-c5cb17ea86f0065a939d3636dd26651c93d497c8.tar.bz2
libva-intel-driver-c5cb17ea86f0065a939d3636dd26651c93d497c8.zip
remove fixed uses of inte-gen4asm tool
In the gen7 and gen8 post processing Makefiles the GEN4ASM variable is not honored when calling intel-gen4asm. This causes build errors when GEN4ASM is set to a different value This was discovered when using intel-gpu-tools version 1.7 where the shaders are actually compiled. Signed-off-by: Daniel Charles <daniel.charles@intel.com> Reviewed-by: Zhao, Yakui <yakui.zhao@intel.com> (cherry picked from commit f574f2e8a8da27b96abc3936c5b2372ff2b7eefb)
-rw-r--r--src/shaders/post_processing/gen7/Makefile.am4
-rw-r--r--src/shaders/post_processing/gen8/Makefile.am2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/shaders/post_processing/gen7/Makefile.am b/src/shaders/post_processing/gen7/Makefile.am
index 0bb572d..1ffc1cd 100644
--- a/src/shaders/post_processing/gen7/Makefile.am
+++ b/src/shaders/post_processing/gen7/Makefile.am
@@ -88,10 +88,10 @@ $(INTEL_PP_GEN7_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G4A)
../../gpp.py _pp0.$@ $@; \
rm _pp0.$@
.g7s.g7b:
- $(AM_V_GEN)intel-gen4asm -a -o $@ -g 7 $<
+ $(AM_V_GEN)$(GEN4ASM) -a -o $@ -g 7 $<
.g7s.g75b:
- $(AM_V_GEN)intel-gen4asm -a -o $@ -g 7.5 $<
+ $(AM_V_GEN)$(GEN4ASM) -a -o $@ -g 7.5 $<
CLEANFILES = $(INTEL_PP_GEN7_ASM)
diff --git a/src/shaders/post_processing/gen8/Makefile.am b/src/shaders/post_processing/gen8/Makefile.am
index b41ab46..9898a45 100644
--- a/src/shaders/post_processing/gen8/Makefile.am
+++ b/src/shaders/post_processing/gen8/Makefile.am
@@ -63,7 +63,7 @@ $(INTEL_PP_GEN8_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G8A)
../../gpp.py _pp0.$@ $@; \
rm _pp0.$@
.g8s.g8b:
- $(AM_V_GEN)intel-gen4asm -a -o $@ -g 8 $<
+ $(AM_V_GEN)$(GEN4ASM) -a -o $@ -g 8 $<
CLEANFILES = $(INTEL_PP_GEN7_ASM)