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
654571f2
Commit
654571f2
authored
Oct 24, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Nov 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add a max varyings member to the gl info structure.
parent
0615c8e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
directx.c
dlls/wined3d/directx.c
+3
-0
wined3d_gl.h
include/wine/wined3d_gl.h
+1
-0
No files found.
dlls/wined3d/directx.c
View file @
654571f2
...
...
@@ -757,6 +757,9 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
glGetIntegerv
(
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB
,
&
gl_max
);
gl_info
->
ps_glsl_constantsF
=
gl_max
/
4
;
TRACE_
(
d3d_caps
)(
"Max ARB_FRAGMENT_SHADER float constants: %u
\n
"
,
gl_info
->
ps_glsl_constantsF
);
glGetIntegerv
(
GL_MAX_VARYING_FLOATS_ARB
,
&
gl_max
);
gl_info
->
max_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
[
EXT_VERTEX_SHADER
])
{
gl_info
->
vs_ati_version
=
VS_VERSION_11
;
...
...
include/wine/wined3d_gl.h
View file @
654571f2
...
...
@@ -3723,6 +3723,7 @@ typedef struct _WineD3D_GL_Info {
UINT
max_blends
;
UINT
max_anisotropy
;
UINT
max_aux_buffers
;
UINT
max_glsl_varyings
;
unsigned
max_vshader_constantsF
;
unsigned
max_pshader_constantsF
;
...
...
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