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
74b85c8b
Commit
74b85c8b
authored
Dec 28, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Dec 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Create samplers for all 1.x instructions that sample.
parent
a22933e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
baseshader.c
dlls/wined3d/baseshader.c
+8
-1
No files found.
dlls/wined3d/baseshader.c
View file @
74b85c8b
...
...
@@ -295,8 +295,15 @@ HRESULT shader_get_registers_used(
if
(
WINED3DSHADER_VERSION_MAJOR
(
This
->
baseShader
.
hex_version
)
==
1
&&
(
WINED3DSIO_TEX
==
curOpcode
->
opcode
||
WINED3DSIO_TEXBEM
==
curOpcode
->
opcode
||
WINED3DSIO_TEXBEML
==
curOpcode
->
opcode
||
WINED3DSIO_TEXDP3TEX
==
curOpcode
->
opcode
||
WINED3DSIO_TEXM3x2TEX
==
curOpcode
->
opcode
||
WINED3DSIO_TEXM3x3TEX
==
curOpcode
->
opcode
))
{
WINED3DSIO_TEXM3x3SPEC
==
curOpcode
->
opcode
||
WINED3DSIO_TEXM3x3TEX
==
curOpcode
->
opcode
||
WINED3DSIO_TEXM3x3VSPEC
==
curOpcode
->
opcode
||
WINED3DSIO_TEXREG2AR
==
curOpcode
->
opcode
||
WINED3DSIO_TEXREG2GB
==
curOpcode
->
opcode
||
WINED3DSIO_TEXREG2RGB
==
curOpcode
->
opcode
))
{
/* Fake sampler usage, only set reserved bit and ttype */
DWORD
sampler_code
=
*
pToken
&
WINED3DSP_REGNUM_MASK
;
...
...
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