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
af3d82dd
Commit
af3d82dd
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_ycbcr_image_arrays.
Signed-off-by:
Józef Kucia
<
jkucia@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bbfc4f6f
Show 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 @
af3d82dd
...
...
@@ -105,7 +105,6 @@ BLACKLISTED_EXTENSIONS = [
"VK_EXT_full_screen_exclusive"
,
"VK_EXT_hdr_metadata"
,
# Needs WSI work.
"VK_EXT_pipeline_creation_feedback"
,
"VK_EXT_ycbcr_image_arrays"
,
"VK_GOOGLE_display_timing"
,
"VK_KHR_external_fence_win32"
,
"VK_KHR_external_memory_win32"
,
...
...
dlls/winevulkan/vulkan_thunks.c
View file @
af3d82dd
...
...
@@ -1945,6 +1945,22 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
break
;
}
case
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT
:
{
const
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT
*
in
=
(
const
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT
*
)
in_header
;
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT
*
out
;
if
(
!
(
out
=
heap_alloc
(
sizeof
(
*
out
))))
goto
out_of_memory
;
out
->
sType
=
in
->
sType
;
out
->
pNext
=
NULL
;
out
->
ycbcrImageArrays
=
in
->
ycbcrImageArrays
;
out_header
->
pNext
=
(
VkBaseOutStructure
*
)
out
;
out_header
=
out_header
->
pNext
;
break
;
}
default:
FIXME
(
"Application requested a linked structure of type %u.
\n
"
,
in_header
->
sType
);
}
...
...
@@ -4324,6 +4340,7 @@ static const char * const vk_device_extensions[] =
"VK_EXT_transform_feedback"
,
"VK_EXT_validation_cache"
,
"VK_EXT_vertex_attribute_divisor"
,
"VK_EXT_ycbcr_image_arrays"
,
"VK_GOOGLE_decorate_string"
,
"VK_GOOGLE_hlsl_functionality1"
,
"VK_IMG_filter_cubic"
,
...
...
include/wine/vulkan.h
View file @
af3d82dd
...
...
@@ -310,6 +310,8 @@
#define VK_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME "VK_EXT_buffer_device_address"
#define VK_EXT_SEPARATE_STENCIL_USAGE_SPEC_VERSION 1
#define VK_EXT_SEPARATE_STENCIL_USAGE_EXTENSION_NAME "VK_EXT_separate_stencil_usage"
#define VK_EXT_YCBCR_IMAGE_ARRAYS_SPEC_VERSION 1
#define VK_EXT_YCBCR_IMAGE_ARRAYS_EXTENSION_NAME "VK_EXT_ycbcr_image_arrays"
#define VK_EXT_HOST_QUERY_RESET_SPEC_VERSION 1
#define VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME "VK_EXT_host_query_reset"
...
...
@@ -2119,6 +2121,7 @@ typedef enum VkStructureType
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT
=
1000244001
,
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT
=
1000244002
,
VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT
=
1000246000
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT
=
1000252000
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT
=
1000261000
,
VK_STRUCTURE_TYPE_MAX_ENUM
=
0x7fffffff
,
}
VkStructureType
;
...
...
@@ -3126,6 +3129,13 @@ typedef struct VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
uint32_t
maxVertexAttribDivisor
;
}
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
;
typedef
struct
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT
{
VkStructureType
sType
;
void
*
pNext
;
VkBool32
ycbcrImageArrays
;
}
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT
;
typedef
struct
VkPipelineColorBlendAdvancedStateCreateInfoEXT
{
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