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
8ad9f777
Commit
8ad9f777
authored
Sep 10, 2018
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add component info for R10G10B10X2_SNORM and R10G10B10X2_UINT.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ccbee769
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
utils.c
dlls/wined3d/utils.c
+3
-2
wined3d.h
include/wine/wined3d.h
+1
-0
No files found.
dlls/wined3d/utils.c
View file @
8ad9f777
...
...
@@ -123,8 +123,6 @@ static const struct wined3d_format_channels formats[] =
{
WINED3DFMT_R5G5_SNORM_L6_UNORM
,
5
,
5
,
0
,
0
,
0
,
5
,
0
,
0
,
2
,
0
,
0
},
{
WINED3DFMT_R8G8_SNORM_L8X8_UNORM
,
8
,
8
,
0
,
0
,
0
,
8
,
0
,
0
,
4
,
0
,
0
},
{
WINED3DFMT_R10G11B11_SNORM
,
10
,
11
,
11
,
0
,
0
,
10
,
21
,
0
,
4
,
0
,
0
},
{
WINED3DFMT_R10G10B10X2_UINT
,
10
,
10
,
10
,
0
,
0
,
10
,
20
,
0
,
4
,
0
,
0
},
{
WINED3DFMT_R10G10B10X2_SNORM
,
10
,
10
,
10
,
0
,
0
,
10
,
20
,
0
,
4
,
0
,
0
},
{
WINED3DFMT_R10G10B10_SNORM_A2_UNORM
,
10
,
10
,
10
,
2
,
0
,
10
,
20
,
30
,
4
,
0
,
0
},
/* Depth stencil formats */
{
WINED3DFMT_D16_LOCKABLE
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
2
,
16
,
0
},
...
...
@@ -155,6 +153,7 @@ static const struct wined3d_format_channels formats[] =
{
WINED3DFMT_R32G32_TYPELESS
,
32
,
32
,
0
,
0
,
0
,
32
,
0
,
0
,
8
,
0
,
0
},
{
WINED3DFMT_R32G8X24_TYPELESS
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
8
,
32
,
8
},
{
WINED3DFMT_R10G10B10A2_TYPELESS
,
10
,
10
,
10
,
2
,
0
,
10
,
20
,
30
,
4
,
0
,
0
},
{
WINED3DFMT_R10G10B10X2_TYPELESS
,
10
,
10
,
10
,
0
,
0
,
10
,
20
,
0
,
4
,
0
,
0
},
{
WINED3DFMT_R8G8B8A8_TYPELESS
,
8
,
8
,
8
,
8
,
0
,
8
,
16
,
24
,
4
,
0
,
0
},
{
WINED3DFMT_R16G16_TYPELESS
,
16
,
16
,
0
,
0
,
0
,
16
,
0
,
0
,
4
,
0
,
0
},
{
WINED3DFMT_R32_TYPELESS
,
32
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
4
,
0
,
0
},
...
...
@@ -227,6 +226,8 @@ static const struct wined3d_typed_format_info typed_formats[] =
{
WINED3DFMT_R10G10B10A2_SNORM
,
WINED3DFMT_R10G10B10A2_TYPELESS
,
"iiii"
},
{
WINED3DFMT_R10G10B10A2_UINT
,
WINED3DFMT_R10G10B10A2_TYPELESS
,
"UUUU"
},
{
WINED3DFMT_R10G10B10A2_UNORM
,
WINED3DFMT_R10G10B10A2_TYPELESS
,
"uuuu"
},
{
WINED3DFMT_R10G10B10X2_SNORM
,
WINED3DFMT_R10G10B10X2_TYPELESS
,
"iiiX"
},
{
WINED3DFMT_R10G10B10X2_UINT
,
WINED3DFMT_R10G10B10X2_TYPELESS
,
"UUUX"
},
{
WINED3DFMT_R8G8B8A8_UINT
,
WINED3DFMT_R8G8B8A8_TYPELESS
,
"UUUU"
},
{
WINED3DFMT_R8G8B8A8_SINT
,
WINED3DFMT_R8G8B8A8_TYPELESS
,
"IIII"
},
{
WINED3DFMT_R8G8B8A8_SNORM
,
WINED3DFMT_R8G8B8A8_TYPELESS
,
"iiii"
},
...
...
include/wine/wined3d.h
View file @
8ad9f777
...
...
@@ -132,6 +132,7 @@ enum wined3d_format_id
WINED3DFMT_R5G5_SNORM_L6_UNORM
,
WINED3DFMT_R8G8_SNORM_L8X8_UNORM
,
WINED3DFMT_R10G11B11_SNORM
,
WINED3DFMT_R10G10B10X2_TYPELESS
,
WINED3DFMT_R10G10B10X2_UINT
,
WINED3DFMT_R10G10B10X2_SNORM
,
WINED3DFMT_R10G10B10_SNORM_A2_UNORM
,
...
...
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