From 401409eff31ed4a47b165806a28c870f63498916 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 30 Apr 2020 17:06:45 -0400 Subject: panfrost: Fix sampler wrap/filter field orders Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/include/panfrost-job.h | 6 +++--- 1 file 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; -- cgit v1.2.3