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
8cb84458
Commit
8cb84458
authored
Dec 18, 2008
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Dec 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add R16F using ARB_texture_rg.
parent
7238bce7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
utils.c
dlls/wined3d/utils.c
+6
-0
No files found.
dlls/wined3d/utils.c
View file @
8cb84458
...
...
@@ -366,6 +366,12 @@ BOOL initPixelFormats(WineD3D_GL_Info *gl_info)
dst
=
getFmtIdx
(
WINED3DFMT_R16F
);
gl_info
->
gl_formats
[
dst
].
color_fixup
=
create_color_fixup_desc
(
0
,
CHANNEL_SOURCE_X
,
0
,
CHANNEL_SOURCE_ONE
,
0
,
CHANNEL_SOURCE_ONE
,
0
,
CHANNEL_SOURCE_W
);
/* When ARB_texture_rg is supported we only require 16-bit for R16F instead of 64-bit RGBA16F */
if
(
GL_SUPPORT
(
ARB_TEXTURE_RG
))
{
gl_info
->
gl_formats
[
dst
].
glInternal
=
GL_R16F
;
gl_info
->
gl_formats
[
dst
].
glGammaInternal
=
GL_R16F
;
}
dst
=
getFmtIdx
(
WINED3DFMT_R32F
);
gl_info
->
gl_formats
[
dst
].
color_fixup
=
create_color_fixup_desc
(
...
...
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