vkd3d-shader: Introduce VKD3D_SHADER_TARGET_MSL.

This commit is contained in:
Feifan He
2024-08-27 10:34:57 +08:00
committed by Henri Verbeet
parent ab525f31e4
commit 23ba1a5e07
Notes: Henri Verbeet 2024-09-12 18:55:53 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1055
7 changed files with 52 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ rm -fr build
mkdir build
cd build
if ../configure CFLAGS="-I/opt/homebrew/opt/vulkan-headers/include -I/opt/homebrew/opt/spirv-headers/include -g -O2 -Wno-implicit-fallthrough -Wno-ignored-attributes -Wno-unknown-attributes -Wno-unused-but-set-variable -Werror" \
CPPFLAGS="-DVKD3D_ABORT_ON_ERR" \
CPPFLAGS="-DVKD3D_ABORT_ON_ERR -DVKD3D_SHADER_UNSUPPORTED_MSL" \
VULKAN_LIBS=-L/opt/homebrew/opt/vulkan-loader/lib --with-spirv-tools && \
make -j$(sysctl -n hw.ncpu) ; then
make -j$(sysctl -n hw.ncpu) AM_COLOR_TESTS=always check || \