Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
vkd3d
Manage
Activity
Members
Labels
Plan
Wiki
Bugzilla
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wine
vkd3d
Commits
761ee1e4
Commit
761ee1e4
authored
10 months ago
by
Giovanni Mascellani
Committed by
Alexandre Julliard
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
vkd3d: Handle D3D12_FEATURE_D3D12_OPTIONS14 in CheckFeatureSupport().
parent
fb20639e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!861
vkd3d: Handle D3D12_FEATURE_D3D12_OPTIONS{14-18} in CheckFeatureSupport().
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/vkd3d_d3d12.idl
+8
-0
8 additions, 0 deletions
include/vkd3d_d3d12.idl
libs/vkd3d/device.c
+19
-0
19 additions, 0 deletions
libs/vkd3d/device.c
with
27 additions
and
0 deletions
include/vkd3d_d3d12.idl
+
8
−
0
View file @
761ee1e4
...
...
@@ -2447,6 +2447,13 @@ typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS13
BOOL
AlphaBlendFactorSupported
;
}
D3D12_FEATURE_DATA_D3D12_OPTIONS13
;
typedef
struct
D3D12_FEATURE_DATA_D3D12_OPTIONS14
{
BOOL
AdvancedTextureOpsSupported
;
BOOL
WriteableMSAATexturesSupported
;
BOOL
IndependentFrontAndBackStencilRefMaskSupported
;
}
D3D12_FEATURE_DATA_D3D12_OPTIONS14
;
typedef
enum
D3D12_FEATURE
{
D3D12_FEATURE_D3D12_OPTIONS
=
0
,
...
...
@@ -2482,6 +2489,7 @@ typedef enum D3D12_FEATURE
D3D12_FEATURE_D3D12_OPTIONS11
=
40
,
D3D12_FEATURE_D3D12_OPTIONS12
=
41
,
D3D12_FEATURE_D3D12_OPTIONS13
=
42
,
D3D12_FEATURE_D3D12_OPTIONS14
=
43
,
}
D3D12_FEATURE
;
typedef
struct
D3D12_MEMCPY_DEST
...
...
This diff is collapsed.
Click to expand it.
libs/vkd3d/device.c
+
19
−
0
View file @
761ee1e4
...
...
@@ -3919,6 +3919,25 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CheckFeatureSupport(ID3D12Device9
return
S_OK
;
}
case
D3D12_FEATURE_D3D12_OPTIONS14
:
{
D3D12_FEATURE_DATA_D3D12_OPTIONS14
*
data
=
feature_data
;
if
(
feature_data_size
!=
sizeof
(
*
data
))
{
WARN
(
"Invalid size %u.
\n
"
,
feature_data_size
);
}
data
->
AdvancedTextureOpsSupported
=
FALSE
;
data
->
WriteableMSAATexturesSupported
=
FALSE
;
data
->
IndependentFrontAndBackStencilRefMaskSupported
=
FALSE
;
TRACE
(
"Advanced texture ops %#x.
\n
"
,
data
->
AdvancedTextureOpsSupported
);
TRACE
(
"Writeable MSAA textures %#x.
\n
"
,
data
->
WriteableMSAATexturesSupported
);
TRACE
(
"Independent front and back stencil ref mask %#x.
\n
"
,
data
->
IndependentFrontAndBackStencilRefMaskSupported
);
return
S_OK
;
}
default:
FIXME
(
"Unhandled feature %#x.
\n
"
,
feature
);
return
E_NOTIMPL
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment