mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 10:58:03 +03:00
hasvk: Gate video decode behind HASVK_DEBUG=video-decode.
Assisted-by: Claude
This commit is contained in:
1 parent
31fd4c3ded
commit
bd3d4fc732
3 files changed
+20
-3
No files matched your search
@@ -940,6 +940,15 @@ struct anv_instance {
|
||||
bool no_16bit;
|
||||
};
|
||||
|
||||
/* Parsed from the HASVK_DEBUG environment variable. */
|
||||
enum anv_debug {
|
||||
ANV_DEBUG_VIDEO_DECODE = BITFIELD_BIT(0),
|
||||
};
|
||||
|
||||
extern enum anv_debug anv_debug;
|
||||
|
||||
#define ANV_DEBUG(name) unlikely(anv_debug & ANV_DEBUG_##name)
|
||||
|
||||
VkResult anv_init_wsi(struct anv_physical_device *physical_device);
|
||||
void anv_finish_wsi(struct anv_physical_device *physical_device);
|
||||
|
||||
|
||||
Reference in new issue
Block a user