Advertisement
Guest User

dxvkgentoopatch.patch

a guest
Apr 23rd, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. diff --git a/src/d3d9/d3d9_format.cpp b/src/d3d9/d3d9_format.cpp
  2. index 7e34bad..7909f16 100644
  3. --- a/src/d3d9/d3d9_format.cpp
  4. +++ b/src/d3d9/d3d9_format.cpp
  5. @@ -22,8 +22,8 @@ namespace dxvk {
  6. VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_ONE }};
  7.  
  8. case D3D9Format::R5G6B5: return {
  9. - VK_FORMAT_R5G6B5_UNORM_PACK16,
  10. - VK_FORMAT_UNDEFINED,
  11. + VK_FORMAT_R8G8B8A8_UNORM,
  12. + VK_FORMAT_R8G8B8A8_SRGB,
  13. VK_IMAGE_ASPECT_COLOR_BIT};
  14.  
  15. case D3D9Format::X1R5G5B5: return {
  16. @@ -522,4 +522,4 @@ namespace dxvk {
  17. || (supported.optimalTilingFeatures & Features) == Features;
  18. }
  19.  
  20. -}
  21. \ No newline at end of file
  22. +}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement