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
2d9b61d0
Commit
2d9b61d0
authored
Mar 31, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Map GUID_WICPixelFormat32bppRGBA1010102 to DXGI_FORMAT_R10G10B10A2_UNORM as well.
parent
2666d020
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
d3dx10.c
dlls/d3dx10_43/tests/d3dx10.c
+1
-0
ddsformat.c
dlls/windowscodecs/ddsformat.c
+1
-1
No files found.
dlls/d3dx10_43/tests/d3dx10.c
View file @
2d9b61d0
...
...
@@ -2921,6 +2921,7 @@ static void test_get_image_info(void)
check_dds_pixel_format
(
DDS_PF_RGB
|
DDS_PF_ALPHA
,
0
,
16
,
0x00e0
,
0x001c
,
0x0003
,
0xff00
,
DXGI_FORMAT_R8G8B8A8_UNORM
);
check_dds_pixel_format
(
DDS_PF_RGB
,
0
,
16
,
0xf00
,
0x0f0
,
0x00f
,
0
,
DXGI_FORMAT_R8G8B8A8_UNORM
);
check_dds_pixel_format
(
DDS_PF_RGB
|
DDS_PF_ALPHA
,
0
,
32
,
0x3ff00000
,
0x000ffc00
,
0x000003ff
,
0xc0000000
,
DXGI_FORMAT_R10G10B10A2_UNORM
);
check_dds_pixel_format
(
DDS_PF_RGB
|
DDS_PF_ALPHA
,
0
,
32
,
0x000003ff
,
0x000ffc00
,
0x3ff00000
,
0xc0000000
,
DXGI_FORMAT_R10G10B10A2_UNORM
);
check_dds_pixel_format
(
DDS_PF_RGB
|
DDS_PF_ALPHA
,
0
,
32
,
0x00ff0000
,
0x0000ff00
,
0x000000ff
,
0xff000000
,
DXGI_FORMAT_R8G8B8A8_UNORM
);
check_dds_pixel_format
(
DDS_PF_RGB
|
DDS_PF_ALPHA
,
0
,
32
,
0x000000ff
,
0x0000ff00
,
0x00ff0000
,
0xff000000
,
DXGI_FORMAT_R8G8B8A8_UNORM
);
check_dds_pixel_format
(
DDS_PF_RGB
,
0
,
32
,
0xff0000
,
0x00ff00
,
0x0000ff
,
0
,
DXGI_FORMAT_R8G8B8A8_UNORM
);
...
...
dlls/windowscodecs/ddsformat.c
View file @
2d9b61d0
...
...
@@ -248,7 +248,7 @@ static struct dds_format {
{
{
sizeof
(
DDS_PIXELFORMAT
),
DDPF_RGB
,
0
,
32
,
0x3FF00000
,
0xFFC00
,
0x3FF
,
0xC0000000
},
&
GUID_WICPixelFormat32bppR10G10B10A2
,
32
,
DXGI_FORMAT_R10G10B10A2_UNORM
},
{
{
sizeof
(
DDS_PIXELFORMAT
),
DDPF_RGB
,
0
,
32
,
0x3FF
,
0xFFC00
,
0x3FF00000
,
0xC0000000
},
&
GUID_WICPixelFormat32bppRGBA1010102
,
32
,
DXGI_FORMAT_
UNKNOWN
},
&
GUID_WICPixelFormat32bppRGBA1010102
,
32
,
DXGI_FORMAT_
R10G10B10A2_UNORM
},
{
{
sizeof
(
DDS_PIXELFORMAT
),
DDPF_RGB
,
0
,
32
,
0xFFFF
,
0xFFFF0000
,
0
,
0
},
&
GUID_WICPixelFormatUndefined
,
0
,
DXGI_FORMAT_R16G16_UNORM
},
{
{
sizeof
(
DDS_PIXELFORMAT
),
DDPF_RGB
,
0
,
32
,
0xFFFFFFFF
,
0
,
0
,
0
},
...
...
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