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
ca69ec0e
Commit
ca69ec0e
authored
Jul 01, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 01, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Recognize geometry shaders in shader_trace_init().
parent
5df58b7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
baseshader.c
dlls/wined3d/baseshader.c
+22
-2
No files found.
dlls/wined3d/baseshader.c
View file @
ca69ec0e
...
...
@@ -1138,14 +1138,34 @@ void shader_trace_init(const struct wined3d_shader_frontend *fe, void *fe_data,
{
struct
wined3d_shader_version
shader_version
;
const
DWORD
*
pToken
=
pFunction
;
const
char
*
type_prefix
;
DWORD
i
;
TRACE
(
"Parsing %p
\n
"
,
pFunction
);
fe
->
shader_read_header
(
fe_data
,
&
pToken
,
&
shader_version
);
TRACE
(
"%s_%u_%u
\n
"
,
shader_is_pshader_version
(
shader_version
.
type
)
?
"ps"
:
"vs"
,
shader_version
.
major
,
shader_version
.
minor
);
switch
(
shader_version
.
type
)
{
case
WINED3D_SHADER_TYPE_VERTEX
:
type_prefix
=
"vs"
;
break
;
case
WINED3D_SHADER_TYPE_GEOMETRY
:
type_prefix
=
"gs"
;
break
;
case
WINED3D_SHADER_TYPE_PIXEL
:
type_prefix
=
"ps"
;
break
;
default:
FIXME
(
"Unhandled shader type %#x.
\n
"
,
shader_version
.
type
);
type_prefix
=
"unknown"
;
break
;
}
TRACE
(
"%s_%u_%u
\n
"
,
type_prefix
,
shader_version
.
major
,
shader_version
.
minor
);
while
(
!
fe
->
shader_is_end
(
fe_data
,
&
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