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
60f20a2f
Commit
60f20a2f
authored
May 21, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
May 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Support ABS and ABSNEG in ARB.
parent
bdb54fda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+8
-0
No files found.
dlls/wined3d/arb_program_shader.c
View file @
60f20a2f
...
...
@@ -850,6 +850,14 @@ static void shader_arb_get_src_param(const struct wined3d_shader_instruction *in
shader_addline
(
buffer
,
"RCP T%c, %s.w;
\n
"
,
'A'
+
tmpreg
,
regstr
);
shader_addline
(
buffer
,
"MUL T%c, %s, T%c;
\n
"
,
'A'
+
tmpreg
,
regstr
,
'A'
+
tmpreg
);
break
;
case
WINED3DSPSM_ABS
:
shader_addline
(
buffer
,
"ABS T%c, %s;
\n
"
,
'A'
+
tmpreg
,
regstr
);
break
;
case
WINED3DSPSM_ABSNEG
:
shader_addline
(
buffer
,
"ABS T%c, %s;
\n
"
,
'A'
+
tmpreg
,
regstr
);
sprintf
(
outregstr
,
"-T%c%s"
,
'A'
+
tmpreg
,
swzstr
);
insert_line
=
0
;
break
;
default:
sprintf
(
outregstr
,
"%s%s"
,
regstr
,
swzstr
);
insert_line
=
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