aboutsummaryrefslogtreecommitdiff
path: root/include/defs.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-21 00:25:56 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-21 00:25:56 +0100
commit02673c46445a78324416e08ec61284012f7bcc8d (patch)
tree54cf80ba361b6981cdecebe74e89c8b89dd8680a /include/defs.h
parent68c9781f44bddc7256677668b559cd02f29bb059 (diff)
Fix portal capture on broken amd drivers: fallback to opengl copy instead of vaapi on known buggy mesa version
Diffstat (limited to 'include/defs.h')
-rw-r--r--include/defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/defs.h b/include/defs.h
index 8fd2ddc..76e798e 100644
--- a/include/defs.h
+++ b/include/defs.h
@@ -13,6 +13,11 @@ typedef struct {
gsr_gpu_vendor vendor;
int gpu_version; /* 0 if unknown */
bool is_steam_deck;
+
+ /* Only currently set for Mesa. 0 if unknown format */
+ int driver_major;
+ int driver_minor;
+ int driver_patch;
} gsr_gpu_info;
typedef enum {