aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.h
diff options
context:
space:
mode:
authorFritz Koenig <[email protected]>2018-11-01 17:08:39 -0700
committerRob Clark <[email protected]>2019-01-22 16:33:27 -0500
commit7c4b9510d1dac14336f208118559a377b9acc464 (patch)
tree0abb22fae45fce02845d8cba6bcc7996e0d8c2bd /src/gallium/drivers/freedreno/freedreno_screen.h
parentddbe6171e6a9e5c12a3a55cd45c1b035ab26abba (diff)
freedreno: add query for dmabuf modifiers
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h
index fedb8ffc906..243770ffd90 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.h
+++ b/src/gallium/drivers/freedreno/freedreno_screen.h
@@ -97,6 +97,9 @@ struct fd_screen {
bool reorder;
uint16_t rsc_seqno;
+
+ unsigned num_supported_modifiers;
+ const uint64_t *supported_modifiers;
};
static inline struct fd_screen *