Enable fragmentStoresAndAtomics
A few changes were made to make this work:
- activeLaneMask now contains cMask. Since it's only used in
loads, stores and atomics, it should be fine to include it
- Added a storesAndAtomicsMask, which also contains sMask
(stencil) and zMask (depth) for early fragment tests.
The mask affects all atomic operations and store operations
into storage buffer and images.
- support for spv::BuiltInHelperInvocation was added
Bug b/140294254
Test: dEQP-VK.*
Change-Id: I42b97a766ddfe331bb2767d80d4360104a221482
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/34114
Presubmit-Ready: Alexis Hétu <sugoi@google.com>
Tested-by:
Alexis Hétu <sugoi@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by:
Chris Forbes <chrisforbes@google.com>
Showing
Please
register
or
sign in
to comment