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
3f6c629e
Commit
3f6c629e
authored
Apr 28, 2020
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add Vulkan format information for WINED3DFMT_D32_FLOAT_S8X24_UINT.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
621f25fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
62 deletions
+63
-62
utils.c
dlls/wined3d/utils.c
+63
-62
No files found.
dlls/wined3d/utils.c
View file @
3f6c629e
...
...
@@ -4138,68 +4138,69 @@ static void init_vulkan_format_info(struct wined3d_format_vk *format,
}
vulkan_formats
[]
=
{
{
WINED3DFMT_R32G32B32A32_FLOAT
,
VK_FORMAT_R32G32B32A32_SFLOAT
,
},
{
WINED3DFMT_R32G32B32A32_UINT
,
VK_FORMAT_R32G32B32A32_UINT
,
},
{
WINED3DFMT_R32G32B32A32_SINT
,
VK_FORMAT_R32G32B32A32_SINT
,
},
{
WINED3DFMT_R32G32B32_FLOAT
,
VK_FORMAT_R32G32B32_SFLOAT
,
},
{
WINED3DFMT_R32G32B32_UINT
,
VK_FORMAT_R32G32B32_UINT
,
},
{
WINED3DFMT_R32G32B32_SINT
,
VK_FORMAT_R32G32B32_SINT
,
},
{
WINED3DFMT_R16G16B16A16_FLOAT
,
VK_FORMAT_R16G16B16A16_SFLOAT
,
},
{
WINED3DFMT_R16G16B16A16_UNORM
,
VK_FORMAT_R16G16B16A16_UNORM
,
},
{
WINED3DFMT_R16G16B16A16_UINT
,
VK_FORMAT_R16G16B16A16_UINT
,
},
{
WINED3DFMT_R16G16B16A16_SNORM
,
VK_FORMAT_R16G16B16A16_SNORM
,
},
{
WINED3DFMT_R16G16B16A16_SINT
,
VK_FORMAT_R16G16B16A16_SINT
,
},
{
WINED3DFMT_R32G32_FLOAT
,
VK_FORMAT_R32G32_SFLOAT
,
},
{
WINED3DFMT_R32G32_UINT
,
VK_FORMAT_R32G32_UINT
,
},
{
WINED3DFMT_R32G32_SINT
,
VK_FORMAT_R32G32_SINT
,
},
{
WINED3DFMT_R10G10B10A2_UNORM
,
VK_FORMAT_A2B10G10R10_UNORM_PACK32
,},
{
WINED3DFMT_R11G11B10_FLOAT
,
VK_FORMAT_B10G11R11_UFLOAT_PACK32
,
},
{
WINED3DFMT_R8G8_UNORM
,
VK_FORMAT_R8G8_UNORM
,
},
{
WINED3DFMT_R8G8_UINT
,
VK_FORMAT_R8G8_UINT
,
},
{
WINED3DFMT_R8G8_SNORM
,
VK_FORMAT_R8G8_SNORM
,
},
{
WINED3DFMT_R8G8_SINT
,
VK_FORMAT_R8G8_SINT
,
},
{
WINED3DFMT_R8G8B8A8_UNORM
,
VK_FORMAT_R8G8B8A8_UNORM
,
},
{
WINED3DFMT_R8G8B8A8_UNORM_SRGB
,
VK_FORMAT_R8G8B8A8_SRGB
,
},
{
WINED3DFMT_R8G8B8A8_UINT
,
VK_FORMAT_R8G8B8A8_UINT
,
},
{
WINED3DFMT_R8G8B8A8_SNORM
,
VK_FORMAT_R8G8B8A8_SNORM
,
},
{
WINED3DFMT_R8G8B8A8_SINT
,
VK_FORMAT_R8G8B8A8_SINT
,
},
{
WINED3DFMT_R16G16_FLOAT
,
VK_FORMAT_R16G16_SFLOAT
,
},
{
WINED3DFMT_R16G16_UNORM
,
VK_FORMAT_R16G16_UNORM
,
},
{
WINED3DFMT_R16G16_UINT
,
VK_FORMAT_R16G16_UINT
,
},
{
WINED3DFMT_R16G16_SNORM
,
VK_FORMAT_R16G16_SNORM
,
},
{
WINED3DFMT_R16G16_SINT
,
VK_FORMAT_R16G16_SINT
,
},
{
WINED3DFMT_D32_FLOAT
,
VK_FORMAT_D32_SFLOAT
,
},
{
WINED3DFMT_R32_FLOAT
,
VK_FORMAT_R32_SFLOAT
,
},
{
WINED3DFMT_R32_UINT
,
VK_FORMAT_R32_UINT
,
},
{
WINED3DFMT_R32_SINT
,
VK_FORMAT_R32_SINT
,
},
{
WINED3DFMT_R16_FLOAT
,
VK_FORMAT_R16_SFLOAT
,
},
{
WINED3DFMT_D16_UNORM
,
VK_FORMAT_D16_UNORM
,
},
{
WINED3DFMT_R16_UNORM
,
VK_FORMAT_R16_UNORM
,
},
{
WINED3DFMT_R16_UINT
,
VK_FORMAT_R16_UINT
,
},
{
WINED3DFMT_R16_SNORM
,
VK_FORMAT_R16_SNORM
,
},
{
WINED3DFMT_R16_SINT
,
VK_FORMAT_R16_SINT
,
},
{
WINED3DFMT_R8_UNORM
,
VK_FORMAT_R8_UNORM
,
},
{
WINED3DFMT_R8_UINT
,
VK_FORMAT_R8_UINT
,
},
{
WINED3DFMT_R8_SNORM
,
VK_FORMAT_R8_SNORM
,
},
{
WINED3DFMT_R8_SINT
,
VK_FORMAT_R8_SINT
,
},
{
WINED3DFMT_A8_UNORM
,
VK_FORMAT_R8_UNORM
,
},
{
WINED3DFMT_B8G8R8A8_UNORM
,
VK_FORMAT_B8G8R8A8_UNORM
,
},
{
WINED3DFMT_B8G8R8A8_UNORM_SRGB
,
VK_FORMAT_B8G8R8A8_SRGB
,
},
{
WINED3DFMT_BC1_UNORM
,
VK_FORMAT_BC1_RGBA_UNORM_BLOCK
,
},
{
WINED3DFMT_BC1_UNORM_SRGB
,
VK_FORMAT_BC1_RGBA_SRGB_BLOCK
,
},
{
WINED3DFMT_BC2_UNORM
,
VK_FORMAT_BC2_UNORM_BLOCK
,
},
{
WINED3DFMT_BC2_UNORM_SRGB
,
VK_FORMAT_BC2_SRGB_BLOCK
,
},
{
WINED3DFMT_BC3_UNORM
,
VK_FORMAT_BC3_UNORM_BLOCK
,
},
{
WINED3DFMT_BC3_UNORM_SRGB
,
VK_FORMAT_BC3_SRGB_BLOCK
,
},
{
WINED3DFMT_BC4_UNORM
,
VK_FORMAT_BC4_UNORM_BLOCK
,
},
{
WINED3DFMT_BC4_SNORM
,
VK_FORMAT_BC4_SNORM_BLOCK
,
},
{
WINED3DFMT_BC5_UNORM
,
VK_FORMAT_BC5_UNORM_BLOCK
,
},
{
WINED3DFMT_BC5_SNORM
,
VK_FORMAT_BC5_SNORM_BLOCK
,
},
{
WINED3DFMT_BC6H_UF16
,
VK_FORMAT_BC6H_UFLOAT_BLOCK
,
},
{
WINED3DFMT_BC6H_SF16
,
VK_FORMAT_BC6H_SFLOAT_BLOCK
,
},
{
WINED3DFMT_BC7_UNORM
,
VK_FORMAT_BC7_UNORM_BLOCK
,
},
{
WINED3DFMT_BC7_UNORM_SRGB
,
VK_FORMAT_BC7_SRGB_BLOCK
,
},
{
WINED3DFMT_R9G9B9E5_SHAREDEXP
,
VK_FORMAT_E5B9G9R9_UFLOAT_PACK32
,
},
{
WINED3DFMT_R32G32B32A32_FLOAT
,
VK_FORMAT_R32G32B32A32_SFLOAT
,
},
{
WINED3DFMT_R32G32B32A32_UINT
,
VK_FORMAT_R32G32B32A32_UINT
,
},
{
WINED3DFMT_R32G32B32A32_SINT
,
VK_FORMAT_R32G32B32A32_SINT
,
},
{
WINED3DFMT_R32G32B32_FLOAT
,
VK_FORMAT_R32G32B32_SFLOAT
,
},
{
WINED3DFMT_R32G32B32_UINT
,
VK_FORMAT_R32G32B32_UINT
,
},
{
WINED3DFMT_R32G32B32_SINT
,
VK_FORMAT_R32G32B32_SINT
,
},
{
WINED3DFMT_R16G16B16A16_FLOAT
,
VK_FORMAT_R16G16B16A16_SFLOAT
,
},
{
WINED3DFMT_R16G16B16A16_UNORM
,
VK_FORMAT_R16G16B16A16_UNORM
,
},
{
WINED3DFMT_R16G16B16A16_UINT
,
VK_FORMAT_R16G16B16A16_UINT
,
},
{
WINED3DFMT_R16G16B16A16_SNORM
,
VK_FORMAT_R16G16B16A16_SNORM
,
},
{
WINED3DFMT_R16G16B16A16_SINT
,
VK_FORMAT_R16G16B16A16_SINT
,
},
{
WINED3DFMT_R32G32_FLOAT
,
VK_FORMAT_R32G32_SFLOAT
,
},
{
WINED3DFMT_R32G32_UINT
,
VK_FORMAT_R32G32_UINT
,
},
{
WINED3DFMT_R32G32_SINT
,
VK_FORMAT_R32G32_SINT
,
},
{
WINED3DFMT_R10G10B10A2_UNORM
,
VK_FORMAT_A2B10G10R10_UNORM_PACK32
,},
{
WINED3DFMT_R11G11B10_FLOAT
,
VK_FORMAT_B10G11R11_UFLOAT_PACK32
,
},
{
WINED3DFMT_R8G8_UNORM
,
VK_FORMAT_R8G8_UNORM
,
},
{
WINED3DFMT_R8G8_UINT
,
VK_FORMAT_R8G8_UINT
,
},
{
WINED3DFMT_R8G8_SNORM
,
VK_FORMAT_R8G8_SNORM
,
},
{
WINED3DFMT_R8G8_SINT
,
VK_FORMAT_R8G8_SINT
,
},
{
WINED3DFMT_R8G8B8A8_UNORM
,
VK_FORMAT_R8G8B8A8_UNORM
,
},
{
WINED3DFMT_R8G8B8A8_UNORM_SRGB
,
VK_FORMAT_R8G8B8A8_SRGB
,
},
{
WINED3DFMT_R8G8B8A8_UINT
,
VK_FORMAT_R8G8B8A8_UINT
,
},
{
WINED3DFMT_R8G8B8A8_SNORM
,
VK_FORMAT_R8G8B8A8_SNORM
,
},
{
WINED3DFMT_R8G8B8A8_SINT
,
VK_FORMAT_R8G8B8A8_SINT
,
},
{
WINED3DFMT_R16G16_FLOAT
,
VK_FORMAT_R16G16_SFLOAT
,
},
{
WINED3DFMT_R16G16_UNORM
,
VK_FORMAT_R16G16_UNORM
,
},
{
WINED3DFMT_R16G16_UINT
,
VK_FORMAT_R16G16_UINT
,
},
{
WINED3DFMT_R16G16_SNORM
,
VK_FORMAT_R16G16_SNORM
,
},
{
WINED3DFMT_R16G16_SINT
,
VK_FORMAT_R16G16_SINT
,
},
{
WINED3DFMT_D32_FLOAT
,
VK_FORMAT_D32_SFLOAT
,
},
{
WINED3DFMT_R32_FLOAT
,
VK_FORMAT_R32_SFLOAT
,
},
{
WINED3DFMT_R32_UINT
,
VK_FORMAT_R32_UINT
,
},
{
WINED3DFMT_R32_SINT
,
VK_FORMAT_R32_SINT
,
},
{
WINED3DFMT_R16_FLOAT
,
VK_FORMAT_R16_SFLOAT
,
},
{
WINED3DFMT_D16_UNORM
,
VK_FORMAT_D16_UNORM
,
},
{
WINED3DFMT_R16_UNORM
,
VK_FORMAT_R16_UNORM
,
},
{
WINED3DFMT_R16_UINT
,
VK_FORMAT_R16_UINT
,
},
{
WINED3DFMT_R16_SNORM
,
VK_FORMAT_R16_SNORM
,
},
{
WINED3DFMT_R16_SINT
,
VK_FORMAT_R16_SINT
,
},
{
WINED3DFMT_R8_UNORM
,
VK_FORMAT_R8_UNORM
,
},
{
WINED3DFMT_R8_UINT
,
VK_FORMAT_R8_UINT
,
},
{
WINED3DFMT_R8_SNORM
,
VK_FORMAT_R8_SNORM
,
},
{
WINED3DFMT_R8_SINT
,
VK_FORMAT_R8_SINT
,
},
{
WINED3DFMT_A8_UNORM
,
VK_FORMAT_R8_UNORM
,
},
{
WINED3DFMT_B8G8R8A8_UNORM
,
VK_FORMAT_B8G8R8A8_UNORM
,
},
{
WINED3DFMT_B8G8R8A8_UNORM_SRGB
,
VK_FORMAT_B8G8R8A8_SRGB
,
},
{
WINED3DFMT_BC1_UNORM
,
VK_FORMAT_BC1_RGBA_UNORM_BLOCK
,
},
{
WINED3DFMT_BC1_UNORM_SRGB
,
VK_FORMAT_BC1_RGBA_SRGB_BLOCK
,
},
{
WINED3DFMT_BC2_UNORM
,
VK_FORMAT_BC2_UNORM_BLOCK
,
},
{
WINED3DFMT_BC2_UNORM_SRGB
,
VK_FORMAT_BC2_SRGB_BLOCK
,
},
{
WINED3DFMT_BC3_UNORM
,
VK_FORMAT_BC3_UNORM_BLOCK
,
},
{
WINED3DFMT_BC3_UNORM_SRGB
,
VK_FORMAT_BC3_SRGB_BLOCK
,
},
{
WINED3DFMT_BC4_UNORM
,
VK_FORMAT_BC4_UNORM_BLOCK
,
},
{
WINED3DFMT_BC4_SNORM
,
VK_FORMAT_BC4_SNORM_BLOCK
,
},
{
WINED3DFMT_BC5_UNORM
,
VK_FORMAT_BC5_UNORM_BLOCK
,
},
{
WINED3DFMT_BC5_SNORM
,
VK_FORMAT_BC5_SNORM_BLOCK
,
},
{
WINED3DFMT_BC6H_UF16
,
VK_FORMAT_BC6H_UFLOAT_BLOCK
,
},
{
WINED3DFMT_BC6H_SF16
,
VK_FORMAT_BC6H_SFLOAT_BLOCK
,
},
{
WINED3DFMT_BC7_UNORM
,
VK_FORMAT_BC7_UNORM_BLOCK
,
},
{
WINED3DFMT_BC7_UNORM_SRGB
,
VK_FORMAT_BC7_SRGB_BLOCK
,
},
{
WINED3DFMT_R9G9B9E5_SHAREDEXP
,
VK_FORMAT_E5B9G9R9_UFLOAT_PACK32
,
},
{
WINED3DFMT_D32_FLOAT_S8X24_UINT
,
VK_FORMAT_D32_SFLOAT_S8_UINT
,
},
};
VkFormat
vk_format
=
VK_FORMAT_UNDEFINED
;
VkImageFormatProperties
image_properties
;
...
...
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