Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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
wine
wine-cw
Commits
08584a2e
Commit
08584a2e
authored
Mar 18, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d12: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
636b2d92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
Makefile.in
dlls/d3d12/Makefile.in
+0
-1
d3d12_main.c
dlls/d3d12/d3d12_main.c
+7
-7
No files found.
dlls/d3d12/Makefile.in
View file @
08584a2e
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
d3d12.dll
IMPORTLIB
=
d3d12
IMPORTS
=
dxgi dxguid wined3d gdi32 user32 uuid win32u
...
...
dlls/d3d12/d3d12_main.c
View file @
08584a2e
...
...
@@ -89,13 +89,13 @@ static HRESULT d3d12_get_adapter(IWineDXGIAdapter **wine_adapter, IUnknown *adap
{
if
(
FAILED
(
hr
=
CreateDXGIFactory2
(
0
,
&
IID_IDXGIFactory4
,
(
void
**
)
&
factory
)))
{
WARN
(
"Failed to create DXGI factory, hr %#x.
\n
"
,
hr
);
WARN
(
"Failed to create DXGI factory, hr %#
l
x.
\n
"
,
hr
);
goto
done
;
}
if
(
FAILED
(
hr
=
IDXGIFactory4_EnumAdapters
(
factory
,
0
,
&
dxgi_adapter
)))
{
WARN
(
"Failed to enumerate primary adapter, hr %#x.
\n
"
,
hr
);
WARN
(
"Failed to enumerate primary adapter, hr %#
l
x.
\n
"
,
hr
);
goto
done
;
}
...
...
@@ -103,7 +103,7 @@ static HRESULT d3d12_get_adapter(IWineDXGIAdapter **wine_adapter, IUnknown *adap
}
if
(
FAILED
(
hr
=
IUnknown_QueryInterface
(
adapter
,
&
IID_IWineDXGIAdapter
,
(
void
**
)
wine_adapter
)))
WARN
(
"Invalid adapter %p, hr %#x.
\n
"
,
adapter
,
hr
);
WARN
(
"Invalid adapter %p, hr %#
l
x.
\n
"
,
adapter
,
hr
);
done:
if
(
dxgi_adapter
)
...
...
@@ -284,7 +284,7 @@ HRESULT WINAPI D3D12CreateDevice(IUnknown *adapter, D3D_FEATURE_LEVEL minimum_fe
if
(
FAILED
(
hr
=
IWineDXGIAdapter_get_adapter_info
(
wine_adapter
,
&
adapter_info
)))
{
WARN
(
"Failed to get adapter info, hr %#x.
\n
"
,
hr
);
WARN
(
"Failed to get adapter info, hr %#
l
x.
\n
"
,
hr
);
goto
done
;
}
...
...
@@ -305,7 +305,7 @@ HRESULT WINAPI D3D12CreateDevice(IUnknown *adapter, D3D_FEATURE_LEVEL minimum_fe
if
(
FAILED
(
hr
=
vkd3d_create_instance
(
&
instance_create_info
,
&
instance
)))
{
WARN
(
"Failed to create vkd3d instance, hr %#x.
\n
"
,
hr
);
WARN
(
"Failed to create vkd3d instance, hr %#
l
x.
\n
"
,
hr
);
goto
done
;
}
...
...
@@ -332,7 +332,7 @@ done:
HRESULT
WINAPI
D3D12CreateRootSignatureDeserializer
(
const
void
*
data
,
SIZE_T
data_size
,
REFIID
iid
,
void
**
deserializer
)
{
TRACE
(
"data %p, data_size %
l
u, iid %s, deserializer %p.
\n
"
,
TRACE
(
"data %p, data_size %
I
u, iid %s, deserializer %p.
\n
"
,
data
,
data_size
,
debugstr_guid
(
iid
),
deserializer
);
return
vkd3d_create_root_signature_deserializer
(
data
,
data_size
,
iid
,
deserializer
);
...
...
@@ -341,7 +341,7 @@ HRESULT WINAPI D3D12CreateRootSignatureDeserializer(const void *data, SIZE_T dat
HRESULT
WINAPI
D3D12CreateVersionedRootSignatureDeserializer
(
const
void
*
data
,
SIZE_T
data_size
,
REFIID
iid
,
void
**
deserializer
)
{
TRACE
(
"data %p, data_size %
l
u, iid %s, deserializer %p.
\n
"
,
TRACE
(
"data %p, data_size %
I
u, iid %s, deserializer %p.
\n
"
,
data
,
data_size
,
debugstr_guid
(
iid
),
deserializer
);
return
vkd3d_create_versioned_root_signature_deserializer
(
data
,
data_size
,
iid
,
deserializer
);
...
...
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