From a562c0787fc3bfc23105901a255b9c23b849b383 Mon Sep 17 00:00:00 2001 From: Sil Vilerino Date: Wed, 21 May 2025 18:04:53 -0400 Subject: [PATCH] d3d12: Add D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_DISABLE_LOOP_FILTER_ACROSS_SLICES when querying HEVC capabilities Reviewed-by: Pohsiang (John) Hsu Reviewed-by: Jesse Natalie Part-of: --- src/gallium/drivers/d3d12/d3d12_video_screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/d3d12/d3d12_video_screen.cpp b/src/gallium/drivers/d3d12/d3d12_video_screen.cpp index 6f7a7c828f6..71aa6d37410 100644 --- a/src/gallium/drivers/d3d12/d3d12_video_screen.cpp +++ b/src/gallium/drivers/d3d12/d3d12_video_screen.cpp @@ -661,7 +661,7 @@ d3d12_video_encode_support_caps(const D3D12_VIDEO_ENCODER_CODEC &argTargetCodec, /* Only read from codecSupport.pHEVCSupport in this case (union of pointers definition) */ assert(codecSupport.pHEVCSupport); cap_allocations.hevcConfig = { - D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_NONE, + D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_DISABLE_LOOP_FILTER_ACROSS_SLICES, codecSupport.pHEVCSupport->MinLumaCodingUnitSize, codecSupport.pHEVCSupport->MaxLumaCodingUnitSize, codecSupport.pHEVCSupport->MinLumaTransformUnitSize,