Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aida Jonikienė
wine
Commits
2e3cf68e
Commit
2e3cf68e
authored
13 years ago
by
Stefan Dösinger
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
wined3d: Silence R16 and AL16 fourcc warnings.
parent
663fac5b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/wined3d/directx.c
+2
-0
2 additions, 0 deletions
dlls/wined3d/directx.c
dlls/wined3d/utils.c
+5
-0
5 additions, 0 deletions
dlls/wined3d/utils.c
include/wine/wined3d.h
+2
-0
2 additions, 0 deletions
include/wine/wined3d.h
with
9 additions
and
0 deletions
dlls/wined3d/directx.c
+
2
−
0
View file @
2e3cf68e
...
...
@@ -3410,6 +3410,8 @@ static BOOL CheckTextureCapability(const struct wined3d_adapter *adapter, const
case
WINED3DFMT_R16G16B16A16_SNORM
:
case
WINED3DFMT_R10G10B10_SNORM_A2_UNORM
:
case
WINED3DFMT_R10G11B11_SNORM
:
case
WINED3DFMT_R16
:
case
WINED3DFMT_AL16
:
TRACE_
(
d3d_caps
)(
"[FAILED]
\n
"
);
/* Enable when implemented */
return
FALSE
;
...
...
This diff is collapsed.
Click to expand it.
dlls/wined3d/utils.c
+
5
−
0
View file @
2e3cf68e
...
...
@@ -134,6 +134,9 @@ static const struct StaticPixelFormatDesc formats[] =
{
WINED3DFMT_NVHU
,
0x0
,
0x0
,
0x0
,
0x0
,
2
,
0
,
0
},
{
WINED3DFMT_NVHS
,
0x0
,
0x0
,
0x0
,
0x0
,
2
,
0
,
0
},
{
WINED3DFMT_NULL
,
0xff000000
,
0x000000ff
,
0x0000ff00
,
0x00ff0000
,
4
,
0
,
0
},
/* Unsure about them, could not find a Windows driver that supports them */
{
WINED3DFMT_R16
,
0x0
,
0x0000ffff
,
0x0
,
0x0
,
2
,
0
,
0
},
{
WINED3DFMT_AL16
,
0xffff0000
,
0x0
,
0x0
,
0x0
,
4
,
0
,
0
},
};
struct
wined3d_format_base_flags
...
...
@@ -1765,6 +1768,8 @@ const char *debug_d3dformat(enum wined3d_format_id format_id)
FMT_TO_STR
(
WINED3DFMT_B8G8R8X8_UNORM
);
FMT_TO_STR
(
WINED3DFMT_INTZ
);
FMT_TO_STR
(
WINED3DFMT_NULL
);
FMT_TO_STR
(
WINED3DFMT_R16
);
FMT_TO_STR
(
WINED3DFMT_AL16
);
#undef FMT_TO_STR
default:
{
...
...
This diff is collapsed.
Click to expand it.
include/wine/wined3d.h
+
2
−
0
View file @
2e3cf68e
...
...
@@ -252,6 +252,8 @@ enum wined3d_format_id
WINED3DFMT_NVHS
=
WINEMAKEFOURCC
(
'N'
,
'V'
,
'H'
,
'S'
),
WINED3DFMT_INTZ
=
WINEMAKEFOURCC
(
'I'
,
'N'
,
'T'
,
'Z'
),
WINED3DFMT_NULL
=
WINEMAKEFOURCC
(
'N'
,
'U'
,
'L'
,
'L'
),
WINED3DFMT_R16
=
WINEMAKEFOURCC
(
' '
,
'R'
,
'1'
,
'6'
),
WINED3DFMT_AL16
=
WINEMAKEFOURCC
(
'A'
,
'L'
,
'1'
,
'6'
),
WINED3DFMT_FORCE_DWORD
=
0xffffffff
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment