mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 22:00:31 +01:00
anv/video: disable encoder on untested platforms
Not enough tested on over Gen12 platforms. Turns out to be not working on DG2, for example. Cc: mesa-stable Closes: #14449 Signed-off-by: Hyunjun Ko <zzoon@igalia.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39676>
This commit is contained in:
parent
8c2736e4c4
commit
d2c24a0d8b
1 changed files with 4 additions and 1 deletions
|
|
@ -147,8 +147,11 @@ get_device_extensions(const struct anv_physical_device *device,
|
|||
struct vk_device_extension_table *ext)
|
||||
{
|
||||
const bool rt_enabled = ANV_SUPPORT_RT && device->info.has_ray_tracing;
|
||||
const bool hw_video_encode_supported = device->info.verx10 < 125;
|
||||
const bool video_encode_enabled = hw_video_encode_supported &&
|
||||
(device->instance->debug & ANV_DEBUG_VIDEO_ENCODE);
|
||||
const bool video_decode_enabled = device->instance->debug & ANV_DEBUG_VIDEO_DECODE;
|
||||
const bool video_encode_enabled = device->instance->debug & ANV_DEBUG_VIDEO_ENCODE;
|
||||
|
||||
|
||||
*ext = (struct vk_device_extension_table) {
|
||||
.KHR_8bit_storage = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue