Skip to content

Commit 99fcb5d

Browse files
committed
fix(d3d11): allow rgba16 motion vector format
1 parent a60483b commit 99fcb5d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/d3d11/d3d11_context_impl.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4903,6 +4903,12 @@ class MTLD3D11ContextExt : public IMTLD3D11ContextExt1 {
49034903
case WMTPixelFormatRG32Float:
49044904
case WMTPixelFormatRG32Sint:
49054905
return WMTPixelFormatRG32Float;
4906+
case WMTPixelFormatRGBA16Sint:
4907+
case WMTPixelFormatRGBA16Snorm:
4908+
case WMTPixelFormatRGBA16Uint:
4909+
case WMTPixelFormatRGBA16Unorm:
4910+
case WMTPixelFormatRGBA16Float:
4911+
return WMTPixelFormatRGBA16Float;
49064912
default:
49074913
break;
49084914
}

0 commit comments

Comments
 (0)