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
f8e557a7
Commit
f8e557a7
authored
Sep 20, 2019
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Initialise the multi-sample draw location for the Vulkan adapter.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c84b48b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
adapter_vk.c
dlls/wined3d/adapter_vk.c
+12
-2
No files found.
dlls/wined3d/adapter_vk.c
View file @
f8e557a7
...
...
@@ -1105,6 +1105,17 @@ static void adapter_vk_init_driver_info(struct wined3d_adapter *adapter,
wined3d_driver_info_init
(
&
adapter
->
driver_info
,
gpu_description
,
vram_bytes
,
sysmem_bytes
);
}
static
void
wined3d_adapter_vk_init_d3d_info
(
struct
wined3d_adapter
*
adapter
,
uint32_t
wined3d_creation_flags
)
{
struct
wined3d_d3d_info
*
d3d_info
=
&
adapter
->
d3d_info
;
d3d_info
->
wined3d_creation_flags
=
wined3d_creation_flags
;
d3d_info
->
texture_swizzle
=
TRUE
;
d3d_info
->
multisample_draw_location
=
WINED3D_LOCATION_TEXTURE_RGB
;
}
static
BOOL
wined3d_adapter_vk_init
(
struct
wined3d_adapter_vk
*
adapter_vk
,
unsigned
int
ordinal
,
unsigned
int
wined3d_creation_flags
)
{
...
...
@@ -1156,8 +1167,7 @@ static BOOL wined3d_adapter_vk_init(struct wined3d_adapter_vk *adapter_vk,
adapter
->
fragment_pipe
=
&
none_fragment_pipe
;
adapter
->
shader_backend
=
&
none_shader_backend
;
adapter
->
d3d_info
.
wined3d_creation_flags
=
wined3d_creation_flags
;
adapter
->
d3d_info
.
texture_swizzle
=
TRUE
;
wined3d_adapter_vk_init_d3d_info
(
adapter
,
wined3d_creation_flags
);
return
TRUE
;
...
...
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