diff options
author | Lionel Landwerlin <[email protected]> | 2019-10-01 11:55:46 +0300 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2019-10-01 21:49:13 +0300 |
commit | 2208d79ddeebd1673f477611d508566ef82bd7c0 (patch) | |
tree | 1a57f39778f67a0db4d57b7eca3380251ac8b37a /src/mesa/math | |
parent | 563f8974d81c3716538036781df3ecbf7e7686c0 (diff) |
mesa: don't forget to clear _Layer field on texture unit
On the Android Antutu benchmark we ran into an assert in ISL where the
(base layer + num layers) > total layers. It turns out the core of
mesa forgot to clear the _Layer variable, potentially leaving an
inconsistent value.
v2: Pull setting u->_Layer out of the conditional blocks (Jason)
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/math')
0 files changed, 0 insertions, 0 deletions