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
0909df67
Commit
0909df67
authored
Jun 06, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
Jun 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Rename vertex shader constants.
From const%lu to C%lu for consistency (to match pshaders).
parent
79029c10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vertexshader.c
dlls/wined3d/vertexshader.c
+2
-2
No files found.
dlls/wined3d/vertexshader.c
View file @
0909df67
...
...
@@ -671,7 +671,7 @@ inline static void vshader_program_add_param(IWineD3DVertexShaderImpl *This, con
if
(
param
&
D3DVS_ADDRMODE_RELATIVE
)
{
FIXME
(
"Relative addressing not expected for a named constant %lu
\n
"
,
reg
);
}
sprintf
(
tmpReg
,
"
const
%lu"
,
reg
);
sprintf
(
tmpReg
,
"
C
%lu"
,
reg
);
}
else
{
sprintf
(
tmpReg
,
"C[%s%lu]"
,
(
param
&
D3DVS_ADDRMODE_RELATIVE
)
?
"A0.x + "
:
""
,
reg
);
}
...
...
@@ -986,7 +986,7 @@ void vshader_hw_def(SHADER_OPCODE_ARG* arg) {
DWORD
reg
=
arg
->
dst
;
shader_addline
(
buffer
,
"PARAM
const%lu = { %f, %f, %f, %f };
\n
"
,
reg
&
0xFF
,
"PARAM
C%lu = { %f, %f, %f, %f };
\n
"
,
reg
&
0xFF
,
*
((
const
float
*
)(
arg
->
src
+
0
)),
*
((
const
float
*
)(
arg
->
src
+
1
)),
*
((
const
float
*
)(
arg
->
src
+
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