Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
72c228a3
Commit
72c228a3
authored
Feb 23, 2024
by
Rémi Bernon
Committed by
Alexandre Julliard
Feb 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Remove unnecessary WINEVULKAN_QUIRK_ADJUST_MAX_IMAGE_COUNT quirk.
parent
1ee1f2e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
vulkan.c
dlls/winevulkan/vulkan.c
+1
-3
vulkan_loader.h
dlls/winevulkan/vulkan_loader.h
+0
-1
No files found.
dlls/winevulkan/vulkan.c
View file @
72c228a3
...
...
@@ -893,8 +893,6 @@ VkResult wine_vkCreateInstance(const VkInstanceCreateInfo *create_info,
object
->
quirks
|=
WINEVULKAN_QUIRK_GET_DEVICE_PROC_ADDR
;
}
object
->
quirks
|=
WINEVULKAN_QUIRK_ADJUST_MAX_IMAGE_COUNT
;
client_instance
->
base
.
unix_handle
=
(
uintptr_t
)
object
;
*
instance
=
client_instance
;
TRACE
(
"Created instance %p, host_instance %p.
\n
"
,
object
,
object
->
host_instance
);
...
...
@@ -1866,7 +1864,7 @@ static void adjust_surface_capabilities(struct wine_instance *instance, struct w
* https://vulkan.gpuinfo.org/displayreport.php?id=9122#surface
* https://vulkan.gpuinfo.org/displayreport.php?id=9121#surface
*/
if
(
(
instance
->
quirks
&
WINEVULKAN_QUIRK_ADJUST_MAX_IMAGE_COUNT
)
&&
!
capabilities
->
maxImageCount
)
if
(
!
capabilities
->
maxImageCount
)
capabilities
->
maxImageCount
=
max
(
capabilities
->
minImageCount
,
16
);
/* Update the image extents to match what the Win32 WSI would provide. */
...
...
dlls/winevulkan/vulkan_loader.h
View file @
72c228a3
...
...
@@ -39,7 +39,6 @@
#define VULKAN_ICD_MAGIC_VALUE 0x01CDC0DE
#define WINEVULKAN_QUIRK_GET_DEVICE_PROC_ADDR 0x00000001
#define WINEVULKAN_QUIRK_ADJUST_MAX_IMAGE_COUNT 0x00000002
/* Base 'class' for our Vulkan dispatchable objects such as VkDevice and VkInstance.
* This structure MUST be the first element of a dispatchable object as the ICD
...
...
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