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
0fed73ef
Commit
0fed73ef
authored
Aug 21, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Aug 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Simplify instr_ps_1_0123_texld.
parent
78c90158
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
bytecodewriter.c
dlls/d3dx9_36/bytecodewriter.c
+1
-12
No files found.
dlls/d3dx9_36/bytecodewriter.c
View file @
0fed73ef
...
...
@@ -1035,7 +1035,7 @@ static const struct bytecode_backend vs_1_x_backend = {
static
void
instr_ps_1_0123_texld
(
struct
bc_writer
*
This
,
const
struct
instruction
*
instr
,
struct
bytecode_buffer
*
buffer
)
{
DWORD
idx
,
srcidx
;
DWORD
idx
;
struct
shader_reg
reg
;
DWORD
swizzlemask
;
...
...
@@ -1074,17 +1074,6 @@ static void instr_ps_1_0123_texld(struct bc_writer *This,
/* map the temp dstreg to the ps_1_3 texture temporary register */
This
->
funcs
->
dstreg
(
This
,
&
instr
->
dst
,
buffer
,
instr
->
shift
,
instr
->
dstmod
);
}
else
if
(
instr
->
src
[
0
].
type
==
BWRITERSPR_TEMP
)
{
if
(
instr
->
src
[
0
].
regnum
==
T0_REG
)
{
srcidx
=
0
;
}
else
if
(
instr
->
src
[
0
].
regnum
==
T1_REG
)
{
srcidx
=
1
;
}
else
if
(
instr
->
src
[
0
].
regnum
==
T2_REG
)
{
srcidx
=
2
;
}
else
if
(
instr
->
src
[
0
].
regnum
==
T3_REG
)
{
srcidx
=
3
;
}
else
{
WARN
(
"Invalid address data source register r%u
\n
"
,
instr
->
src
[
0
].
regnum
);
}
swizzlemask
=
(
3
<<
BWRITERVS_SWIZZLE_SHIFT
)
|
(
3
<<
(
BWRITERVS_SWIZZLE_SHIFT
+
2
))
|
...
...
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