summaryrefslogtreecommitdiff
path: root/src/intel/compiler/brw_fs_nir.cpp
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2020-02-18 12:12:01 +0100
committerDylan Baker <dylan@pnwbakers.com>2020-02-20 13:36:38 -0800
commit2a807e98b235bc7198c08f6b7fe8c2b1cc2d834b (patch)
treed97e92087bdefe092efe07c7ca374960c9e0247a /src/intel/compiler/brw_fs_nir.cpp
parent735a90abe50bb288eabfdd71f48cd229754ce62d (diff)
downloadmesa-2a807e98b235bc7198c08f6b7fe8c2b1cc2d834b.tar.gz
st/vdpau: Only call is_video_format_supported hook if needed
Namely only if *is_supported is true, otherwise the hook result can't affect it. Avoids ../src/gallium/state_trackers/vdpau/vdpau_private.h:138: FormatYCBCRToPipe: Assertion `0' failed. with assertions enabled. Fixes: 5d5b414a7b84 "st/vdpau: fix chroma_format handling in VideoSurfaceQueryGetPutBitsYCbCrCapabilities" Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3848> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3848> (cherry picked from commit 7e6010106fb3c4eb5436de869183e857243c1006)
Diffstat (limited to 'src/intel/compiler/brw_fs_nir.cpp')
0 files changed, 0 insertions, 0 deletions