aboutsummaryrefslogtreecommitdiff
path: root/src/codec_query/vulkan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/codec_query/vulkan.c')
-rw-r--r--src/codec_query/vulkan.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/codec_query/vulkan.c b/src/codec_query/vulkan.c
index c19c4f7..15dd98b 100644
--- a/src/codec_query/vulkan.c
+++ b/src/codec_query/vulkan.c
@@ -4,7 +4,8 @@
#include <string.h>
#include <stdlib.h>
#include <xf86drm.h>
-#include <vulkan/vulkan.h>
+#define VK_NO_PROTOTYPES
+//#include <vulkan/vulkan.h>
#define MAX_PHYSICAL_DEVICES 32
@@ -147,7 +148,9 @@ bool gsr_get_supported_video_codecs_vulkan(gsr_supported_video_codecs *video_cod
free(device_extensions);
return success;
#else
- video_codecs->h264 = true;
+ // TODO: Low power query
+ video_codecs->h264 = (gsr_supported_video_codec){ true, false };
+ video_codecs->hevc = (gsr_supported_video_codec){ true, false };
return true;
#endif
}