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
b2e511f3
Commit
b2e511f3
authored
Jan 27, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Trace the GLSL version string.
At some point we'll use the GLSL version to check if certain features are available. For now just print the version.
parent
08c2a235
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
directx.c
dlls/wined3d/directx.c
+6
-0
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+1
-0
No files found.
dlls/wined3d/directx.c
View file @
b2e511f3
...
...
@@ -72,6 +72,7 @@ static const struct {
{
"GL_ARB_provoking_vertex"
,
ARB_PROVOKING_VERTEX
,
0
},
{
"GL_ARB_shader_objects"
,
ARB_SHADER_OBJECTS
,
0
},
{
"GL_ARB_shader_texture_lod"
,
ARB_SHADER_TEXTURE_LOD
,
0
},
{
"GL_ARB_shading_language_100"
,
ARB_SHADING_LANGUAGE_100
,
0
},
{
"GL_ARB_sync"
,
ARB_SYNC
,
0
},
{
"GL_ARB_texture_border_clamp"
,
ARB_TEXTURE_BORDER_CLAMP
,
0
},
{
"GL_ARB_texture_compression"
,
ARB_TEXTURE_COMPRESSION
,
0
},
...
...
@@ -2007,6 +2008,11 @@ static BOOL IWineD3DImpl_FillGLCaps(struct wined3d_driver_info *driver_info, str
gl_info
->
limits
.
glsl_varyings
=
gl_max
;
TRACE_
(
d3d_caps
)(
"Max GLSL varyings: %u (%u 4 component varyings).
\n
"
,
gl_max
,
gl_max
/
4
);
}
if
(
gl_info
->
supported
[
ARB_SHADING_LANGUAGE_100
])
{
const
char
*
str
=
(
const
char
*
)
glGetString
(
GL_SHADING_LANGUAGE_VERSION_ARB
);
TRACE_
(
d3d_caps
)(
"GLSL version string: %s.
\n
"
,
debugstr_a
(
str
));
}
if
(
gl_info
->
supported
[
NV_LIGHT_MAX_EXPONENT
])
{
glGetFloatv
(
GL_MAX_SHININESS_NV
,
&
gl_info
->
limits
.
shininess
);
...
...
dlls/wined3d/wined3d_gl.h
View file @
b2e511f3
...
...
@@ -1752,6 +1752,7 @@ typedef enum wined3d_gl_extension
ARB_PROVOKING_VERTEX
,
ARB_SHADER_OBJECTS
,
ARB_SHADER_TEXTURE_LOD
,
ARB_SHADING_LANGUAGE_100
,
ARB_SYNC
,
ARB_TEXTURE_BORDER_CLAMP
,
ARB_TEXTURE_COMPRESSION
,
...
...
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