diff options
author | Chip Davis <cdavis@codeweavers.com> | 2020-04-10 09:13:33 +0300 |
---|---|---|
committer | Chip Davis <cdavis@codeweavers.com> | 2020-04-13 23:29:11 +0300 |
commit | b29f83c3834667445054ff6b986a7c8ff3e89537 (patch) | |
tree | b6812cd6ada9eaf4f580b06ae720672475be992a /CMakeLists.txt | |
parent | fcbc590937f5903cd44cad580cb4e8bf51bfd773 (diff) |
MSL: Add options to control emission of fragment outputs.
Like with `point_size` when not rendering points, Metal complains when
writing to a variable using the `[[depth]]` qualifier when no depth
buffer be attached. In that case, we must avoid emitting `FragDepth`,
just like with `PointSize`.
I assume it will also complain if there be no stencil attachment and the
shader write to `[[stencil]]`, or it write to `[[color(n)]]` but there
be no color attachment at n.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 737fd637..3932914e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -323,7 +323,7 @@ if (SPIRV_CROSS_STATIC) endif() set(spirv-cross-abi-major 0) -set(spirv-cross-abi-minor 30) +set(spirv-cross-abi-minor 31) set(spirv-cross-abi-patch 0) if (SPIRV_CROSS_SHARED) |