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
c1a6e910
Commit
c1a6e910
authored
Apr 12, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
Apr 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Enable texld instruction (shaders 1.4).
parent
8ab0237e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
pixelshader.c
dlls/wined3d/pixelshader.c
+4
-5
No files found.
dlls/wined3d/pixelshader.c
View file @
c1a6e910
...
...
@@ -704,7 +704,7 @@ CONST SHADER_OPCODE IWineD3DPixelShaderImpl_shader_ins[] = {
{
D3DSIO_TEXCOORD
,
"texcrd"
,
"undefined"
,
2
,
pshader_texcoord
,
D3DPS_VERSION
(
1
,
4
),
D3DPS_VERSION
(
1
,
4
)},
{
D3DSIO_TEXKILL
,
"texkill"
,
"KIL"
,
1
,
pshader_texkill
,
D3DPS_VERSION
(
1
,
0
),
D3DPS_VERSION
(
1
,
4
)},
{
D3DSIO_TEX
,
"tex"
,
"undefined"
,
1
,
pshader_tex
,
0
,
D3DPS_VERSION
(
1
,
3
)},
{
D3DSIO_TEX
,
"texld"
,
GLNAME_REQUIRE_GLSL
,
2
,
pshader_texld
,
D3DPS_VERSION
(
1
,
4
),
D3DPS_VERSION
(
1
,
4
)},
{
D3DSIO_TEX
,
"texld"
,
"undefined"
,
2
,
pshader_texld
,
D3DPS_VERSION
(
1
,
4
),
D3DPS_VERSION
(
1
,
4
)},
{
D3DSIO_TEX
,
"texld"
,
GLNAME_REQUIRE_GLSL
,
3
,
pshader_texld
,
D3DPS_VERSION
(
2
,
0
),
-
1
},
{
D3DSIO_TEXBEM
,
"texbem"
,
"undefined"
,
2
,
pshader_texbem
,
0
,
D3DPS_VERSION
(
1
,
3
)},
{
D3DSIO_TEXBEML
,
"texbeml"
,
GLNAME_REQUIRE_GLSL
,
2
,
pshader_texbeml
,
D3DPS_VERSION
(
1
,
0
),
D3DPS_VERSION
(
1
,
3
)},
...
...
@@ -1176,13 +1176,12 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateProgramArbHW(IWineD3DPixelSha
addline
(
&
lineNum
,
pgmStr
,
&
pgmLength
,
tmpLine
);
++
pToken
;
}
else
{
char
reg
[
20
];
char
reg
2
[
20
];
DWORD
reg1
=
*
pToken
&
REGMASK
;
DWORD
reg2
=
*++
pToken
&
REGMASK
;
if
(
gen_input_modifier_line
(
*
pToken
,
0
,
reg
,
tmpLine
,
This
->
constants
))
{
if
(
gen_input_modifier_line
(
*++
pToken
,
0
,
reg2
,
tmpLine
,
This
->
constants
))
{
addline
(
&
lineNum
,
pgmStr
,
&
pgmLength
,
tmpLine
);
}
sprintf
(
tmpLine
,
"TEX R%lu%s, %s, texture[%lu], 2D;
\n
"
,
reg1
,
tmp
,
reg
,
reg2
);
sprintf
(
tmpLine
,
"TEX R%lu%s, %s, texture[%lu], 2D;
\n
"
,
reg1
,
tmp
,
reg
2
,
reg1
);
addline
(
&
lineNum
,
pgmStr
,
&
pgmLength
,
tmpLine
);
++
pToken
;
}
...
...
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