Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
c59d25d3
Commit
c59d25d3
authored
Jun 15, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d11: Check for WINED3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING with WINED3D_RTYPE_TEXTURE_2D.
This fixes rendering in Raft.
parent
83d3e14d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
device.c
dlls/d3d11/device.c
+1
-1
d3d11.c
dlls/d3d11/tests/d3d11.c
+2
-2
No files found.
dlls/d3d11/device.c
View file @
c59d25d3
...
...
@@ -3886,7 +3886,7 @@ static HRESULT STDMETHODCALLTYPE d3d11_device_CheckFormatSupport(ID3D11Device2 *
{
WINED3D_RTYPE_NONE
,
WINED3D_BIND_UNORDERED_ACCESS
,
0
,
D3D11_FORMAT_SUPPORT_TYPED_UNORDERED_ACCESS_VIEW
},
{
WINED3D_RTYPE_TEXTURE_2D
,
WINED3D_BIND_SHADER_RESOURCE
,
WINED3DUSAGE_QUERY_WRAPANDMIP
,
D3D11_FORMAT_SUPPORT_MIP
},
{
WINED3D_RTYPE_TEXTURE_2D
,
WINED3D_BIND_SHADER_RESOURCE
,
WINED3DUSAGE_QUERY_GENMIPMAP
,
D3D11_FORMAT_SUPPORT_MIP_AUTOGEN
},
{
WINED3D_RTYPE_
NONE
,
WINED3D_BIND_RENDER_TARGET
,
WINED3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING
,
D3D11_FORMAT_SUPPORT_BLENDABLE
},
{
WINED3D_RTYPE_
TEXTURE_2D
,
WINED3D_BIND_RENDER_TARGET
,
WINED3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING
,
D3D11_FORMAT_SUPPORT_BLENDABLE
},
};
HRESULT
hr
;
...
...
dlls/d3d11/tests/d3d11.c
View file @
c59d25d3
...
...
@@ -20771,7 +20771,7 @@ static void check_format_support(ID3D11Device *device, const unsigned int *forma
if
(
formats
[
i
].
fl_required
<=
feature_level
)
{
todo_wine_if
(
feature_flag
==
D3D11_FORMAT_SUPPORT_DISPLAY
||
feature_flag
==
D3D11_FORMAT_SUPPORT_BLENDABLE
)
todo_wine_if
(
feature_flag
==
D3D11_FORMAT_SUPPORT_DISPLAY
)
ok
(
supported
||
broken
(
is_warp_device
(
device
)),
"Format %#x - %s not supported, feature_level %#x, format support %#x.
\n
"
,
format
,
feature_name
,
feature_level
,
format_support
[
format
]);
...
...
@@ -20786,7 +20786,7 @@ static void check_format_support(ID3D11Device *device, const unsigned int *forma
continue
;
}
todo_wine_if
(
feature_flag
!=
D3D11_FORMAT_SUPPORT_DISPLAY
&&
feature_flag
!=
D3D11_FORMAT_SUPPORT_BLENDABLE
)
todo_wine_if
(
feature_flag
!=
D3D11_FORMAT_SUPPORT_DISPLAY
)
ok
(
!
supported
,
"Format %#x - %s supported, feature level %#x, format support %#x.
\n
"
,
format
,
feature_name
,
feature_level
,
format_support
[
format
]);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment