Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
94a86c12
Commit
94a86c12
authored
Oct 10, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Oct 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Improve shader_dump_decl_usage() TRACEs.
parent
f2d77d10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
baseshader.c
dlls/wined3d/baseshader.c
+15
-15
No files found.
dlls/wined3d/baseshader.c
View file @
94a86c12
...
...
@@ -421,50 +421,50 @@ static void shader_dump_decl_usage(
switch
(
usage
)
{
case
D3DDECLUSAGE_POSITION
:
TRACE
(
"
%s%d"
,
"position
"
,
idx
);
TRACE
(
"
position%d
"
,
idx
);
break
;
case
D3DDECLUSAGE_BLENDINDICES
:
TRACE
(
"
%s"
,
"
blend"
);
TRACE
(
"blend"
);
break
;
case
D3DDECLUSAGE_BLENDWEIGHT
:
TRACE
(
"
%s"
,
"
weight"
);
TRACE
(
"weight"
);
break
;
case
D3DDECLUSAGE_NORMAL
:
TRACE
(
"
%s%d"
,
"normal
"
,
idx
);
TRACE
(
"
normal%d
"
,
idx
);
break
;
case
D3DDECLUSAGE_PSIZE
:
TRACE
(
"
%s"
,
"
psize"
);
TRACE
(
"psize"
);
break
;
case
D3DDECLUSAGE_COLOR
:
if
(
idx
==
0
)
{
TRACE
(
"
%s"
,
"
color"
);
TRACE
(
"color"
);
}
else
{
TRACE
(
"
%s%d"
,
"specular
"
,
(
idx
-
1
));
TRACE
(
"
specular%d
"
,
(
idx
-
1
));
}
break
;
case
D3DDECLUSAGE_TEXCOORD
:
TRACE
(
"
%s%d"
,
"texture
"
,
idx
);
TRACE
(
"
texture%d
"
,
idx
);
break
;
case
D3DDECLUSAGE_TANGENT
:
TRACE
(
"
%s"
,
"
tangent"
);
TRACE
(
"tangent"
);
break
;
case
D3DDECLUSAGE_BINORMAL
:
TRACE
(
"
%s"
,
"
binormal"
);
TRACE
(
"binormal"
);
break
;
case
D3DDECLUSAGE_TESSFACTOR
:
TRACE
(
"
%s"
,
"
tessfactor"
);
TRACE
(
"tessfactor"
);
break
;
case
D3DDECLUSAGE_POSITIONT
:
TRACE
(
"
%s%d"
,
"positionT
"
,
idx
);
TRACE
(
"
positionT%d
"
,
idx
);
break
;
case
D3DDECLUSAGE_FOG
:
TRACE
(
"
%s"
,
"
fog"
);
TRACE
(
"fog"
);
break
;
case
D3DDECLUSAGE_DEPTH
:
TRACE
(
"
%s"
,
"
depth"
);
TRACE
(
"depth"
);
break
;
case
D3DDECLUSAGE_SAMPLE
:
TRACE
(
"
%s"
,
"
sample"
);
TRACE
(
"sample"
);
break
;
default:
FIXME
(
"unknown_semantics(%08x)"
,
usage
);
...
...
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