diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-04-30 17:06:45 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-01 00:27:23 +0000 |
commit | 401409eff31ed4a47b165806a28c870f63498916 (patch) | |
tree | a247c192211079039626454b5a8f6c1fc7dc9c85 | |
parent | 6148d1be4bb52039ccda57f25a9d27ecb7aa7541 (diff) |
panfrost: Fix sampler wrap/filter field orders
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4844>
-rw-r--r-- | src/panfrost/include/panfrost-job.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 0a2afc32685..7c570829ccd 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -1347,17 +1347,17 @@ struct mali_sampler_descriptor { struct bifrost_sampler_descriptor { uint8_t unk1; - enum mali_wrap_mode wrap_s : 4; - enum mali_wrap_mode wrap_t : 4; enum mali_wrap_mode wrap_r : 4; + enum mali_wrap_mode wrap_t : 4; + enum mali_wrap_mode wrap_s : 4; uint8_t unk8 : 4; uint8_t unk2 : 3; uint8_t min_filter : 1; uint8_t norm_coords : 1; uint8_t zero1 : 1; - uint8_t mip_filter : 1; uint8_t mag_filter : 1; + uint8_t mip_filter : 1; int16_t min_lod; int16_t max_lod; |