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
c3840b6c
Commit
c3840b6c
authored
Feb 21, 2024
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 05, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d/nvrc: Move alpha op application to nvrc_apply_draw_state().
parent
115d6907
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
32 deletions
+34
-32
nvidia_texture_shader.c
dlls/wined3d/nvidia_texture_shader.c
+34
-32
No files found.
dlls/wined3d/nvidia_texture_shader.c
View file @
c3840b6c
...
...
@@ -560,6 +560,8 @@ static void nvrc_update_color_op(struct wined3d_context_gl *context_gl,
mapped_stage
,
state
->
texture_states
[
stage
][
WINED3D_TSS_RESULT_ARG
]);
tex_alphaop
(
&
context_gl
->
c
,
state
,
STATE_TEXTURESTAGE
(
stage
,
WINED3D_TSS_ALPHA_OP
));
/* In register combiners bump mapping is done in the stage AFTER the one that has the bump map operation set,
* thus the texture shader may have to be updated
*/
...
...
@@ -786,74 +788,74 @@ static const struct wined3d_state_entry_template nvrc_fragmentstate_template[] =
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_COLOR_OP
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_COLOR_OP
),
nvrc_colorop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_COLOR_ARG1
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_COLOR_ARG2
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_
ALPHA_OP
),
tex_alphaop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_
COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_COLOR_ARG0
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_RESULT_ARG
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3D_TSS_RESULT_ARG
),
nvrc_resultarg
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_COLOR_OP
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_COLOR_OP
),
nvrc_colorop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_COLOR_ARG1
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_COLOR_ARG2
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_
ALPHA_OP
),
tex_alphaop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_
COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_COLOR_ARG0
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_RESULT_ARG
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3D_TSS_RESULT_ARG
),
nvrc_resultarg
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_COLOR_OP
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_COLOR_OP
),
nvrc_colorop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_COLOR_ARG1
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_COLOR_ARG2
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_
ALPHA_OP
),
tex_alphaop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_
COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_COLOR_ARG0
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_RESULT_ARG
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3D_TSS_RESULT_ARG
),
nvrc_resultarg
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_COLOR_OP
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_COLOR_OP
),
nvrc_colorop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_COLOR_ARG1
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_COLOR_ARG2
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_
ALPHA_OP
),
tex_alphaop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_
COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_COLOR_ARG0
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_RESULT_ARG
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3D_TSS_RESULT_ARG
),
nvrc_resultarg
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_COLOR_OP
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_COLOR_OP
),
nvrc_colorop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_COLOR_ARG1
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_COLOR_ARG2
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_
ALPHA_OP
),
tex_alphaop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_
COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_COLOR_ARG0
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_RESULT_ARG
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3D_TSS_RESULT_ARG
),
nvrc_resultarg
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_COLOR_OP
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_COLOR_OP
),
nvrc_colorop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_COLOR_ARG1
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_COLOR_ARG2
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_
ALPHA_OP
),
tex_alphaop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_
COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_COLOR_ARG0
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_RESULT_ARG
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3D_TSS_RESULT_ARG
),
nvrc_resultarg
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_COLOR_OP
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_COLOR_OP
),
nvrc_colorop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_COLOR_ARG1
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_COLOR_ARG2
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_
ALPHA_OP
),
tex_alphaop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_
COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_COLOR_ARG0
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_RESULT_ARG
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3D_TSS_RESULT_ARG
),
nvrc_resultarg
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_COLOR_OP
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_COLOR_OP
),
nvrc_colorop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_COLOR_ARG1
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_COLOR_ARG2
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_
ALPHA_OP
),
tex_alphaop
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_ALPHA_OP
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_
COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_ALPHA_ARG1
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_ALPHA_ARG2
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_COLOR_ARG0
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_COLOR_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_
ALPHA
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_ALPHA_ARG0
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_
COLOR
_OP
),
NULL
},
WINED3D_GL_EXT_NONE
},
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_RESULT_ARG
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3D_TSS_RESULT_ARG
),
nvrc_resultarg
},
WINED3D_GL_EXT_NONE
},
{
STATE_SHADER
(
WINED3D_SHADER_TYPE_PIXEL
),
{
STATE_SHADER
(
WINED3D_SHADER_TYPE_PIXEL
),
apply_pixelshader
},
WINED3D_GL_EXT_NONE
},
{
STATE_RENDER
(
WINED3D_RS_SRGBWRITEENABLE
),
{
STATE_SHADER
(
WINED3D_SHADER_TYPE_PIXEL
),
NULL
},
WINED3D_GL_EXT_NONE
},
...
...
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