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
4b269f02
Commit
4b269f02
authored
Apr 10, 2019
by
Józef Kucia
Committed by
Alexandre Julliard
Apr 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Enable VK_EXT_memory_priority.
Signed-off-by:
Józef Kucia
<
jkucia@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
abc83d1b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
1 deletion
+35
-1
make_vulkan
dlls/winevulkan/make_vulkan
+0
-1
vulkan_thunks.c
dlls/winevulkan/vulkan_thunks.c
+17
-0
vulkan.h
include/wine/vulkan.h
+18
-0
No files found.
dlls/winevulkan/make_vulkan
View file @
4b269f02
...
...
@@ -105,7 +105,6 @@ BLACKLISTED_EXTENSIONS = [
"VK_EXT_external_memory_host"
,
"VK_EXT_full_screen_exclusive"
,
"VK_EXT_hdr_metadata"
,
# Needs WSI work.
"VK_EXT_memory_priority"
,
"VK_EXT_pipeline_creation_feedback"
,
"VK_EXT_ycbcr_image_arrays"
,
"VK_GOOGLE_display_timing"
,
...
...
dlls/winevulkan/vulkan_thunks.c
View file @
4b269f02
...
...
@@ -1894,6 +1894,22 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
break
;
}
case
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT
:
{
const
VkPhysicalDeviceMemoryPriorityFeaturesEXT
*
in
=
(
const
VkPhysicalDeviceMemoryPriorityFeaturesEXT
*
)
in_header
;
VkPhysicalDeviceMemoryPriorityFeaturesEXT
*
out
;
if
(
!
(
out
=
heap_alloc
(
sizeof
(
*
out
))))
goto
out_of_memory
;
out
->
sType
=
in
->
sType
;
out
->
pNext
=
NULL
;
out
->
memoryPriority
=
in
->
memoryPriority
;
out_header
->
pNext
=
(
VkBaseOutStructure
*
)
out
;
out_header
=
out_header
->
pNext
;
break
;
}
case
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT
:
{
const
VkPhysicalDeviceBufferAddressFeaturesEXT
*
in
=
(
const
VkPhysicalDeviceBufferAddressFeaturesEXT
*
)
in_header
;
...
...
@@ -4268,6 +4284,7 @@ static const char * const vk_device_extensions[] =
"VK_EXT_host_query_reset"
,
"VK_EXT_inline_uniform_block"
,
"VK_EXT_memory_budget"
,
"VK_EXT_memory_priority"
,
"VK_EXT_pci_bus_info"
,
"VK_EXT_post_depth_coverage"
,
"VK_EXT_queue_family_foreign"
,
...
...
include/wine/vulkan.h
View file @
4b269f02
...
...
@@ -300,6 +300,8 @@
#define VK_GOOGLE_DECORATE_STRING_EXTENSION_NAME "VK_GOOGLE_decorate_string"
#define VK_EXT_MEMORY_BUDGET_SPEC_VERSION 1
#define VK_EXT_MEMORY_BUDGET_EXTENSION_NAME "VK_EXT_memory_budget"
#define VK_EXT_MEMORY_PRIORITY_SPEC_VERSION 1
#define VK_EXT_MEMORY_PRIORITY_EXTENSION_NAME "VK_EXT_memory_priority"
#define VK_EXT_BUFFER_DEVICE_ADDRESS_SPEC_VERSION 2
#define VK_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME "VK_EXT_buffer_device_address"
#define VK_EXT_SEPARATE_STENCIL_USAGE_SPEC_VERSION 1
...
...
@@ -2101,6 +2103,8 @@ typedef enum VkStructureType
VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT
=
1000218002
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT
=
1000221000
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT
=
1000237000
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT
=
1000238000
,
VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT
=
1000238001
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT
=
1000244000
,
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT
=
1000244001
,
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT
=
1000244002
,
...
...
@@ -2966,6 +2970,13 @@ typedef struct VkPhysicalDeviceLimits
VkDeviceSize
WINE_VK_ALIGN
(
8
)
nonCoherentAtomSize
;
}
VkPhysicalDeviceLimits
;
typedef
struct
VkPhysicalDeviceMemoryPriorityFeaturesEXT
{
VkStructureType
sType
;
void
*
pNext
;
VkBool32
memoryPriority
;
}
VkPhysicalDeviceMemoryPriorityFeaturesEXT
;
typedef
struct
VkPhysicalDeviceMeshShaderPropertiesNV
{
VkStructureType
sType
;
...
...
@@ -3659,6 +3670,13 @@ typedef struct VkMemoryDedicatedRequirements
VkBool32
requiresDedicatedAllocation
;
}
VkMemoryDedicatedRequirements
;
typedef
struct
VkMemoryPriorityAllocateInfoEXT
{
VkStructureType
sType
;
const
void
*
pNext
;
float
priority
;
}
VkMemoryPriorityAllocateInfoEXT
;
typedef
struct
VkMemoryType
{
VkMemoryPropertyFlags
propertyFlags
;
...
...
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