VK_EXT_image_robustness requires loads and stores using a pointer produced by OpImageTexelPointer to be bounds checked. Out-of-bounds reads must result in [0,0,0,0] or [0,0,0,1] values. We always return all-zero. Out-of-bounds writes must be ignored. This also includes the read-modify-write operations performed by atomic instructions. Bug: b/159329067 Tests: dEQP-VK.robustness.image_robustness.* Change-Id: I4f5c2e8ae0bc89e61207fd1f7f1c449a35ca621e Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/47069 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by:Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| BUILD.gn | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| MetalSurface.hpp | Loading commit data... | |
| MetalSurface.mm | Loading commit data... | |
| VkSurfaceKHR.cpp | Loading commit data... | |
| VkSurfaceKHR.hpp | Loading commit data... | |
| VkSwapchainKHR.cpp | Loading commit data... | |
| VkSwapchainKHR.hpp | Loading commit data... | |
| WaylandSurfaceKHR.cpp | Loading commit data... | |
| WaylandSurfaceKHR.hpp | Loading commit data... | |
| Win32SurfaceKHR.cpp | Loading commit data... | |
| Win32SurfaceKHR.hpp | Loading commit data... | |
| XcbSurfaceKHR.cpp | Loading commit data... | |
| XcbSurfaceKHR.hpp | Loading commit data... | |
| XlibSurfaceKHR.cpp | Loading commit data... | |
| XlibSurfaceKHR.hpp | Loading commit data... | |
| libX11.cpp | Loading commit data... | |
| libX11.hpp | Loading commit data... |