The spec currently does not define the behaviour of out-of-bound arguments to textureLoad() and textureStore(), which is important for robustness.
Coordinates will almost certainly need to be either clamped, or have the operation be conditional.
We may also need to consider bounds checking other parameters (I've seen bad behaviour of loads and stores where the level is OOB, but this was on old console hardware).
Similar topics: #1722, #1649
The spec currently does not define the behaviour of out-of-bound arguments to
textureLoad()andtextureStore(), which is important for robustness.Coordinates will almost certainly need to be either clamped, or have the operation be conditional.
We may also need to consider bounds checking other parameters (I've seen bad behaviour of loads and stores where the
levelis OOB, but this was on old console hardware).Similar topics: #1722, #1649