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
2d532a15
Commit
2d532a15
authored
Jul 01, 2009
by
Tobias Jakobi
Committed by
Alexandre Julliard
Jul 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add ps_arb_max_local_constants.
parent
ee8c98c0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
directx.c
dlls/wined3d/directx.c
+4
-0
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+1
-0
No files found.
dlls/wined3d/directx.c
View file @
2d532a15
...
...
@@ -719,6 +719,7 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
gl_info
->
ps_glsl_constantsF
=
0
;
gl_info
->
vs_arb_constantsF
=
0
;
gl_info
->
ps_arb_constantsF
=
0
;
gl_info
->
ps_arb_max_local_constants
=
0
;
/* Retrieve opengl defaults */
glGetIntegerv
(
GL_MAX_CLIP_PLANES
,
&
gl_max
);
...
...
@@ -931,6 +932,9 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
GL_EXTCALL
(
glGetProgramivARB
(
GL_FRAGMENT_PROGRAM_ARB
,
GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
,
&
gl_max
));
gl_info
->
ps_arb_constantsF
=
gl_max
;
TRACE_
(
d3d_caps
)(
"Max ARB_FRAGMENT_PROGRAM float constants: %d
\n
"
,
gl_info
->
ps_arb_constantsF
);
GL_EXTCALL
(
glGetProgramivARB
(
GL_FRAGMENT_PROGRAM_ARB
,
GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
,
&
gl_max
));
gl_info
->
ps_arb_max_local_constants
=
gl_max
;
TRACE_
(
d3d_caps
)(
"Max ARB_FRAGMENT_PROGRAM local float constants: %d
\n
"
,
gl_info
->
ps_arb_max_local_constants
);
GL_EXTCALL
(
glGetProgramivARB
(
GL_FRAGMENT_PROGRAM_ARB
,
GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
,
&
gl_max
));
gl_info
->
ps_arb_max_temps
=
gl_max
;
TRACE_
(
d3d_caps
)(
"Max ARB_FRAGMENT_PROGRAM native temporaries: %d
\n
"
,
gl_info
->
ps_arb_max_temps
);
...
...
dlls/wined3d/wined3d_gl.h
View file @
2d532a15
...
...
@@ -3988,6 +3988,7 @@ typedef struct _WineD3D_GL_Info {
unsigned
vs_arb_max_instructions
;
unsigned
vs_arb_max_temps
;
unsigned
ps_arb_constantsF
;
unsigned
ps_arb_max_local_constants
;
unsigned
ps_arb_max_instructions
;
unsigned
ps_arb_max_temps
;
unsigned
vs_glsl_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