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
d528fdbe
Commit
d528fdbe
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_OPTIONS16 in CheckFeatureSupport().
parent
5445c4c8
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
+7
-0
7 additions, 0 deletions
include/vkd3d_d3d12.idl
libs/vkd3d/device.c
+17
-0
17 additions, 0 deletions
libs/vkd3d/device.c
with
24 additions
and
0 deletions
include/vkd3d_d3d12.idl
+
7
−
0
View file @
d528fdbe
...
...
@@ -2460,6 +2460,12 @@ typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS15
BOOL
DynamicIndexBufferStripCutSupported
;
}
D3D12_FEATURE_DATA_D3D12_OPTIONS15
;
typedef
struct
D3D12_FEATURE_DATA_D3D12_OPTIONS16
{
BOOL
DynamicDepthBiasSupported
;
BOOL
GPUUploadHeapSupported
;
}
D3D12_FEATURE_DATA_D3D12_OPTIONS16
;
typedef
enum
D3D12_FEATURE
{
D3D12_FEATURE_D3D12_OPTIONS
=
0
,
...
...
@@ -2497,6 +2503,7 @@ typedef enum D3D12_FEATURE
D3D12_FEATURE_D3D12_OPTIONS13
=
42
,
D3D12_FEATURE_D3D12_OPTIONS14
=
43
,
D3D12_FEATURE_D3D12_OPTIONS15
=
44
,
D3D12_FEATURE_D3D12_OPTIONS16
=
45
,
}
D3D12_FEATURE
;
typedef
struct
D3D12_MEMCPY_DEST
...
...
This diff is collapsed.
Click to expand it.
libs/vkd3d/device.c
+
17
−
0
View file @
d528fdbe
...
...
@@ -3955,6 +3955,23 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CheckFeatureSupport(ID3D12Device9
return
S_OK
;
}
case
D3D12_FEATURE_D3D12_OPTIONS16
:
{
D3D12_FEATURE_DATA_D3D12_OPTIONS16
*
data
=
feature_data
;
if
(
feature_data_size
!=
sizeof
(
*
data
))
{
WARN
(
"Invalid size %u.
\n
"
,
feature_data_size
);
}
data
->
DynamicDepthBiasSupported
=
FALSE
;
data
->
GPUUploadHeapSupported
=
FALSE
;
TRACE
(
"Dynamic depth bias %#x.
\n
"
,
data
->
DynamicDepthBiasSupported
);
TRACE
(
"GPU upload heap %#x.
\n
"
,
data
->
GPUUploadHeapSupported
);
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