Skip to content

Commit b05ff39

Browse files
committed
Allow vulkan with amd on Windows
1 parent b3ed6c8 commit b05ff39

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

gui/src/qmlbackend.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -709,13 +709,6 @@ void QmlBackend::createSession(const StreamSessionConnectInfo &connect_info)
709709
}
710710
#endif
711711
}
712-
#if defined(Q_OS_WIN)
713-
if(session_info.hw_decoder == "vulkan" && session_info.video_profile.codec == CHIAKI_CODEC_H265_HDR && window->amdCard())
714-
{
715-
qCInfo(chiakiGui) << "Using amd card with vulkan hw decoding and hdr not supported on Windows, falling back to d3d11va...";
716-
session_info.hw_decoder = "d3d11va";
717-
}
718-
#endif
719712
if (session_info.hw_decoder == "vulkan") {
720713
#if defined(Q_OS_LINUX)
721714
if(qEnvironmentVariableIsSet("APPIMAGE") && (qEnvironmentVariableIsSet("SteamDeck") || qEnvironmentVariable("DESKTOP_SESSION").contains("steamos")))

0 commit comments

Comments
 (0)