Detect out of bounds image pointers
When the out of bounds behavior is defined and any of the
image coordinates is out of bounds, this cl manually pushes
the pointer out of bounds in order to trigger the out of
bounds behavior even if the resulting pointer would still
be within memory bounds.
Bug: b/150464740
Change-Id: I685973dfac440a8bca830810cf974819cfbc0f33
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43950
Presubmit-Ready: Alexis Hétu <sugoi@google.com>
Kokoro-Result: kokoro <noreply+kokoro@google.com>
Tested-by:
Alexis Hétu <sugoi@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Showing
Please
register
or
sign in
to comment