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
c5eb5312
Commit
c5eb5312
authored
Sep 05, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Oct 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Bem is an instruction and uses registers.
parent
822030e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
baseshader.c
dlls/wined3d/baseshader.c
+7
-8
No files found.
dlls/wined3d/baseshader.c
View file @
c5eb5312
...
...
@@ -315,14 +315,6 @@ HRESULT shader_get_registers_used(
reg_maps
->
labels
[
snum
]
=
1
;
pToken
+=
curOpcode
->
num_params
;
}
else
if
(
WINED3DSIO_BEM
==
curOpcode
->
opcode
)
{
DWORD
regnum
=
*
pToken
&
WINED3DSP_REGNUM_MASK
;
if
(
reg_maps
->
bumpmat
!=
-
1
&&
reg_maps
->
bumpmat
!=
regnum
)
{
FIXME
(
"Pixel shader uses bem or texbem instruction on more than 1 sampler
\n
"
);
}
else
{
reg_maps
->
bumpmat
=
regnum
;
}
/* Set texture, address, temporary registers */
}
else
{
int
i
,
limit
;
...
...
@@ -383,6 +375,13 @@ HRESULT shader_get_registers_used(
}
if
(
WINED3DSIO_NRM
==
curOpcode
->
opcode
)
{
reg_maps
->
usesnrm
=
1
;
}
else
if
(
WINED3DSIO_BEM
==
curOpcode
->
opcode
)
{
DWORD
regnum
=
*
pToken
&
WINED3DSP_REGNUM_MASK
;
if
(
reg_maps
->
bumpmat
!=
-
1
&&
reg_maps
->
bumpmat
!=
regnum
)
{
FIXME
(
"Pixel shader uses bem or texbem instruction on more than 1 sampler
\n
"
);
}
else
{
reg_maps
->
bumpmat
=
regnum
;
}
}
/* This will loop over all the registers and try to
...
...
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