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
ad82739d
Commit
ad82739d
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_NV_dedicated_allocation_image_aliasing.
Signed-off-by:
Józef Kucia
<
jkucia@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a69ed950
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
1 deletion
+27
-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
+10
-0
No files found.
dlls/winevulkan/make_vulkan
View file @
ad82739d
...
...
@@ -112,7 +112,6 @@ BLACKLISTED_EXTENSIONS = [
# Relates to external_semaphore and needs type conversions in bitflags.
"VK_KHR_shared_presentable_image"
,
# Needs WSI work.
"VK_KHR_win32_keyed_mutex"
,
"VK_NV_dedicated_allocation_image_aliasing"
,
# Extensions for other platforms
"VK_EXT_external_memory_dma_buf"
,
...
...
dlls/winevulkan/vulkan_thunks.c
View file @
ad82739d
...
...
@@ -1811,6 +1811,22 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
break
;
}
case
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV
:
{
const
VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV
*
in
=
(
const
VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV
*
)
in_header
;
VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV
*
out
;
if
(
!
(
out
=
heap_alloc
(
sizeof
(
*
out
))))
goto
out_of_memory
;
out
->
sType
=
in
->
sType
;
out
->
pNext
=
NULL
;
out
->
dedicatedAllocationImageAliasing
=
in
->
dedicatedAllocationImageAliasing
;
out_header
->
pNext
=
(
VkBaseOutStructure
*
)
out
;
out_header
=
out_header
->
pNext
;
break
;
}
case
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV
:
{
const
VkPhysicalDeviceShadingRateImageFeaturesNV
*
in
=
(
const
VkPhysicalDeviceShadingRateImageFeaturesNV
*
)
in_header
;
...
...
@@ -4407,6 +4423,7 @@ static const char * const vk_device_extensions[] =
"VK_NV_cooperative_matrix"
,
"VK_NV_corner_sampled_image"
,
"VK_NV_dedicated_allocation"
,
"VK_NV_dedicated_allocation_image_aliasing"
,
"VK_NV_device_diagnostic_checkpoints"
,
"VK_NV_fill_rectangle"
,
"VK_NV_fragment_coverage_to_color"
,
...
...
include/wine/vulkan.h
View file @
ad82739d
...
...
@@ -306,6 +306,8 @@
#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_NV_DEDICATED_ALLOCATION_IMAGE_ALIASING_SPEC_VERSION 1
#define VK_NV_DEDICATED_ALLOCATION_IMAGE_ALIASING_EXTENSION_NAME "VK_NV_dedicated_allocation_image_aliasing"
#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
...
...
@@ -2144,6 +2146,7 @@ typedef enum VkStructureType
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_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV
=
1000240000
,
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
,
...
...
@@ -2770,6 +2773,13 @@ typedef struct VkPhysicalDeviceCooperativeMatrixPropertiesNV
VkShaderStageFlags
cooperativeMatrixSupportedStages
;
}
VkPhysicalDeviceCooperativeMatrixPropertiesNV
;
typedef
struct
VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV
{
VkStructureType
sType
;
void
*
pNext
;
VkBool32
dedicatedAllocationImageAliasing
;
}
VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV
;
typedef
struct
VkPhysicalDeviceDepthStencilResolvePropertiesKHR
{
VkStructureType
sType
;
...
...
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