aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/include
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-04-30 17:01:33 -0400
committerMarge Bot <[email protected]>2020-05-01 00:27:23 +0000
commit6148d1be4bb52039ccda57f25a9d27ecb7aa7541 (patch)
treeaaa36cb81279a92115860859857ba37d8d513b5c /src/panfrost/include
parent884f8699925b51f7032b4cd0e8d6ef1a8d48bc8c (diff)
panfrost: Fix size of bifrost sampler descriptor
Should be 32-bytes, it looks like. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4844>
Diffstat (limited to 'src/panfrost/include')
-rw-r--r--src/panfrost/include/panfrost-job.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h
index 051fe27a5af..0a2afc32685 100644
--- a/src/panfrost/include/panfrost-job.h
+++ b/src/panfrost/include/panfrost-job.h
@@ -1361,11 +1361,10 @@ struct bifrost_sampler_descriptor {
int16_t min_lod;
int16_t max_lod;
- int8_t zero2;
- int8_t zero3;
- uint32_t zero4;
- uint32_t zero5;
+ uint64_t zero2;
+ uint64_t zero3;
+ uint64_t zero4;
} __attribute__((packed));
/* viewport0/viewport1 form the arguments to glViewport. viewport1 is