anv: Fix architecture in intel_icd.{arch}.json
authorChad Versace <chadversary@chromium.org>
Thu, 9 Nov 2017 23:02:13 +0000 (15:02 -0800)
committerChad Versace <chadversary@chromium.org>
Fri, 10 Nov 2017 00:29:31 +0000 (16:29 -0800)
commitb7441ef25288c669adcbe8708a458ceea13b8ff9
tree0faeb9f3b1fa400f2b7eee88c0dd1f2fce9cc2d6
parent9ec33972cc15e67b89f94e388f43c5186e4592f0
anv: Fix architecture in intel_icd.{arch}.json

Use the host arch, not the target arch. In Meson and in recent
Autotools, the host arch is where the binary will be used. The target
arch is useful only when compiling a compiler.

See: http://mesonbuild.com/Cross-compilation.html
See: https://www.gnu.org/software/automake/manual/html_node/Cross_002dCompilation.html
Reported-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/intel/vulkan/meson.build