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
da6c01be
Commit
da6c01be
authored
Oct 25, 2006
by
Kovács András
Committed by
Alexandre Julliard
Oct 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Implement D3DSIO_MOVA in ARB backend.
parent
88ad69f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+1
-1
vertexshader.c
dlls/wined3d/vertexshader.c
+1
-1
No files found.
dlls/wined3d/arb_program_shader.c
View file @
da6c01be
...
...
@@ -896,7 +896,7 @@ void vshader_hw_map2gl(SHADER_OPCODE_ARG* arg) {
char
tmpLine
[
256
];
unsigned
int
i
;
if
(
curOpcode
->
opcode
==
WINED3DSIO_MOV
&&
dst_regtype
==
WINED3DSPR_ADDR
)
if
(
(
curOpcode
->
opcode
==
WINED3DSIO_MOV
&&
dst_regtype
==
WINED3DSPR_ADDR
)
||
curOpcode
->
opcode
==
WINED3DSIO_MOVA
)
strcpy
(
tmpLine
,
"ARL"
);
else
strcpy
(
tmpLine
,
curOpcode
->
glname
);
...
...
dlls/wined3d/vertexshader.c
View file @
da6c01be
...
...
@@ -477,6 +477,7 @@ CONST SHADER_OPCODE IWineD3DVertexShaderImpl_shader_ins[] = {
/* Arithmetic */
{
WINED3DSIO_NOP
,
"nop"
,
"NOP"
,
0
,
0
,
vshader_nop
,
vshader_hw_map2gl
,
NULL
,
0
,
0
},
{
WINED3DSIO_MOV
,
"mov"
,
"MOV"
,
1
,
2
,
vshader_mov
,
vshader_hw_map2gl
,
shader_glsl_mov
,
0
,
0
},
{
WINED3DSIO_MOVA
,
"mova"
,
NULL
,
1
,
2
,
vshader_mova
,
vshader_hw_map2gl
,
shader_glsl_mov
,
WINED3DVS_VERSION
(
2
,
0
),
-
1
},
{
WINED3DSIO_ADD
,
"add"
,
"ADD"
,
1
,
3
,
vshader_add
,
vshader_hw_map2gl
,
shader_glsl_arith
,
0
,
0
},
{
WINED3DSIO_SUB
,
"sub"
,
"SUB"
,
1
,
3
,
vshader_sub
,
vshader_hw_map2gl
,
shader_glsl_arith
,
0
,
0
},
{
WINED3DSIO_MAD
,
"mad"
,
"MAD"
,
1
,
4
,
vshader_mad
,
vshader_hw_map2gl
,
shader_glsl_mad
,
0
,
0
},
...
...
@@ -550,7 +551,6 @@ CONST SHADER_OPCODE IWineD3DVertexShaderImpl_shader_ins[] = {
{
WINED3DSIO_ENDLOOP
,
"endloop"
,
NULL
,
0
,
0
,
vshader_endloop
,
NULL
,
shader_glsl_end
,
WINED3DVS_VERSION
(
2
,
0
),
-
1
},
{
WINED3DSIO_LABEL
,
"label"
,
NULL
,
0
,
1
,
vshader_label
,
NULL
,
shader_glsl_label
,
WINED3DVS_VERSION
(
2
,
0
),
-
1
},
{
WINED3DSIO_MOVA
,
"mova"
,
GLNAME_REQUIRE_GLSL
,
1
,
2
,
vshader_mova
,
NULL
,
shader_glsl_mov
,
0
,
0
},
{
WINED3DSIO_SETP
,
"setp"
,
GLNAME_REQUIRE_GLSL
,
1
,
3
,
vshader_setp
,
NULL
,
NULL
,
0
,
0
},
{
WINED3DSIO_TEXLDL
,
"texdl"
,
GLNAME_REQUIRE_GLSL
,
1
,
2
,
vshader_texldl
,
NULL
,
NULL
,
0
,
0
},
{
0
,
NULL
,
NULL
,
0
,
0
,
NULL
,
NULL
,
0
,
0
}
...
...
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