Skip to content

Commit

Permalink
Merge pull request #1470 from billhollings/sdk-1.2.198
Browse files Browse the repository at this point in the history
Update library dependencies to match Vulkan SDK 1.2.198.
  • Loading branch information
billhollings authored Nov 15, 2021
2 parents f99384d + a0ed334 commit b3ef160
Show file tree
Hide file tree
Showing 8 changed files with 3,344 additions and 3,117 deletions.
31 changes: 27 additions & 4 deletions Docs/Whats_New.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,47 @@ Copyright (c) 2015-2021 [The Brenwill Workshop Ltd.](http://www.brenwill.com)
MoltenVK 1.1.6
--------------

Released TBD
Released 2021/11/15

- Support maximum point primitive size of 511.
- Set maximum point primitive size based on GPU vendor ID, which can now be as large as `511`.
- Improved checks for timestamp GPU counter support on older devices.
- Fix incorrect validation error on multilayer `VkImage` marked for rendering, when multilayered-rendering
is not supported on platform, but app doesn't actually attempt to render to multiple layers.
- Fix dynamic pipeline state such as `vkCmdSetDepthBias()` sometimes ignoring pipeline dyamic
- Fix dynamic pipeline state such as `vkCmdSetDepthBias()` sometimes ignoring pipeline dynamic
state flags when called before `vkCmdBindPipeline()`.
- Fix incorrect validation of multilayer-rendering validation when `MVKImageView`
does not actually perform multilayer-rendering.
- Fix issue where dynamic pipeline flags were sometimes read from previously bound pipeline.
- Fix issue where correct base layer and mipmap for attachment was sometimes not being used.
- Add `MTLFence` between Metal encoders and timestamp stage counter BLIT encoder
to ensure previous work is finished before being timestamped.
- Fix issue with `BC1_RGB` compressed format where incorrect alpha value returned.
- Add `vkGetMTLCommandQueueMVK()` function to expose underlying `MTLCommandQueue` object.
- Add `vkSetWorkgroupSizeMVK()` function.
- Add unsupported `VkApplicationInfo::apiVersion` warning.
- Update to latest SPIRV-Cross version:
- MSL: Add support for `OpSpecConstantOp` ops `OpQuantizeToF16` and `OpSRem`.
- MSL: Return fragment function value even when last SPIR-V Op is discard (`OpKill`).
- MSL: Fix location and component variable matching between shader stages.
- MSL: Track location component to match vecsize between shader stages.
- MSL: Fix type redirection when struct members are reordered to align with offsets.
- MSL: Remove over-zealous check for struct packing compatibility.
- MSL: Correctly emit user(`clip/cullN`) for clip/cull builtins in tess output struct.
- MSL: Don't output depth and stencil values with explicit early fragment tests.
- MSL: Track location component to match `vecsize` between shader stages.
- MSL: Selectively enable `fast-math` in MSL code to match Vulkan CTS results.
- MSL: Honor `DecorationNoContraction` when compiling using `fast-math`.
- MSL: Honor infinities in `OpQuantizeToF16` when compiling using `fast-math`.
- MSL: Support synthetic functions in function constants.
- MSL: Improve handling of `INT_MIN/INT64_MIN` literals.
- MSL: Consolidate `spvQuantizeToF16()` functions into a single template function.
- MSL: Use `vec<T, n>` in template `SpvHalfTypeSelector` for function `spvQuantizeToF16()`.
- MSL: Support more usecases for unpacked vectors.
- MSL: Workaround compiler crashes when using `threadgroup bool`.
- MSL: Handle non-thread storage class in `Modf/Frexp` pointer versions.
- Improve handling of `INT_MIN/INT64_MIN` literals.
- Per spec, support undefined behavior for out-of-bounds swizzles.
- Correctly reflect declared buffer size for out of order members.
- Separate (partially) the tracking of depth images from depth compare ops.



Expand Down
6,418 changes: 3,310 additions & 3,108 deletions ExternalDependencies.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion ExternalRevisions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ the *SPIRV-Tools* library to the `ExternalDependencies` *Xcode* project as follo
that opens, select the _**Create groups**_ option, add the files to *all* of the `SPIRV-Tools-macOS`,
`SPIRV-Tools-iOS`, and `SPIRV-Tools-tvOS` targets, and click the ***Finish*** button.

5. Remove the *Group* named `fuzz` from under the *Group* named `External/SPIRV-Tools/source`.
5. Remove the following *Groups* from under the *Group* named `External/SPIRV-Tools/source`:
- `fuzz`
- `wasm`

6. In the `Scripts` folder, run `./packagePregenSpirvToolsHeaders`, which will fetch and build the
full `SPIRV-Tools` library and will update `Templates/spirv-tools/build.zip` from the `*.h` and
Expand Down
2 changes: 1 addition & 1 deletion ExternalRevisions/SPIRV-Cross_repo_revision
Original file line number Diff line number Diff line change
@@ -1 +1 @@
97a438d214b24e4958ca137a18639670648cedd0
7c3cb0b12c9965497b08403c82ac1b82846fa7be
2 changes: 1 addition & 1 deletion ExternalRevisions/Vulkan-Headers_repo_revision
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c5b7a2fa18750e435e91e06a50cdc5451c5b9abd
8c1c27d5a9b9de8a17f500053bd08c7ca6bba19c
2 changes: 1 addition & 1 deletion ExternalRevisions/Vulkan-Tools_repo_revision
Original file line number Diff line number Diff line change
@@ -1 +1 @@
58051062663477240484c8904459762ad544ba18
691252756218fcbd1f0f8d7cc14e753123f08940
2 changes: 1 addition & 1 deletion ExternalRevisions/glslang_repo_revision
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2fb89a0072ae7316af1c856f22663fde4928128a
c9706bdda0ac22b9856f1aa8261e5b9e15cd20c5
Binary file modified Templates/spirv-tools/build.zip
Binary file not shown.

0 comments on commit b3ef160

Please sign in to comment.