libs/vkd3d-shader: Use libSPIRV-Tools for tracing and validating generated SPIR-V shaders.

SPIRV-Tools are an optional dependency.

We link with stdc++ because libSPIRV-Tools is a static library written
in C++.
This commit is contained in:
Józef Kucia
2017-06-19 18:05:53 +02:00
parent dd31e5e918
commit 786a31ca4e
3 changed files with 81 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ libvkd3d_shader_la_SOURCES = \
libs/vkd3d-shader/spirv.c \
libs/vkd3d-shader/vkd3d_shader_main.c \
libs/vkd3d-shader/vkd3d_shader_private.h
libvkd3d_shader_la_LIBADD = libvkd3d-common.la
libvkd3d_shader_la_LIBADD = libvkd3d-common.la @SPIRV_TOOLS_LIBS@
libvkd3d_la_SOURCES = \
include/d3d12.idl \