Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/dxgi/dxgi_monitor.cpp')
-rw-r--r--src/dxgi/dxgi_monitor.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dxgi/dxgi_monitor.cpp b/src/dxgi/dxgi_monitor.cpp
index b0622b3b..842fb3fc 100644
--- a/src/dxgi/dxgi_monitor.cpp
+++ b/src/dxgi/dxgi_monitor.cpp
@@ -107,7 +107,11 @@ namespace dxvk {
return 32;
case DXGI_FORMAT_R16G16B16A16_FLOAT:
- return 64;
+ // Floating point output doesn't really make sense.
+ // This seemingly works on Windows, and based on FindClosestMode etc documentaton,
+ // this seems required to work for any format that scanout it supported for.
+ // Treat as 10-bit -> 32.
+ return 32;
default:
Logger::warn(str::format(