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
7f617f3d
Commit
7f617f3d
authored
Sep 09, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Add a debug function for D3D10_SHADER_VARIABLE_CLASS.
parent
5cefdb68
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
d3d10_private.h
dlls/d3d10/d3d10_private.h
+1
-0
effect.c
dlls/d3d10/effect.c
+1
-1
utils.c
dlls/d3d10/utils.c
+17
-1
No files found.
dlls/d3d10/d3d10_private.h
View file @
7f617f3d
...
...
@@ -31,6 +31,7 @@
/* TRACE helper functions */
const
char
*
debug_d3d10_driver_type
(
D3D10_DRIVER_TYPE
driver_type
);
const
char
*
debug_d3d10_shader_variable_class
(
D3D10_SHADER_VARIABLE_CLASS
c
);
void
*
d3d10_rb_alloc
(
size_t
size
);
void
*
d3d10_rb_realloc
(
void
*
ptr
,
size_t
size
);
...
...
dlls/d3d10/effect.c
View file @
7f617f3d
...
...
@@ -487,7 +487,7 @@ static HRESULT parse_fx10_type(struct d3d10_effect_type *t, const char *ptr, con
TRACE
(
"
\t
columns: %u.
\n
"
,
t
->
column_count
);
TRACE
(
"
\t
rows: %u.
\n
"
,
t
->
row_count
);
TRACE
(
"
\t
basetype: %#x.
\n
"
,
t
->
basetype
);
TRACE
(
"
\t
class: %
#x.
\n
"
,
t
->
type_class
);
TRACE
(
"
\t
class: %
s.
\n
"
,
debug_d3d10_shader_variable_class
(
t
->
type_class
)
);
TRACE
(
"
\t
unknown bits: %#x.
\n
"
,
tmp
&
~
(
D3D10_FX10_TYPE_COLUMN_MASK
|
D3D10_FX10_TYPE_ROW_MASK
|
D3D10_FX10_TYPE_BASETYPE_MASK
|
D3D10_FX10_TYPE_CLASS_MASK
));
}
...
...
dlls/d3d10/utils.c
View file @
7f617f3d
/*
* Copyright 2008 Henri Verbeet for CodeWeavers
* Copyright 2008
-2009
Henri Verbeet for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -40,6 +40,22 @@ const char *debug_d3d10_driver_type(D3D10_DRIVER_TYPE driver_type)
}
}
const
char
*
debug_d3d10_shader_variable_class
(
D3D10_SHADER_VARIABLE_CLASS
c
)
{
switch
(
c
)
{
WINE_D3D10_TO_STR
(
D3D10_SVC_SCALAR
);
WINE_D3D10_TO_STR
(
D3D10_SVC_VECTOR
);
WINE_D3D10_TO_STR
(
D3D10_SVC_MATRIX_ROWS
);
WINE_D3D10_TO_STR
(
D3D10_SVC_MATRIX_COLUMNS
);
WINE_D3D10_TO_STR
(
D3D10_SVC_OBJECT
);
WINE_D3D10_TO_STR
(
D3D10_SVC_STRUCT
);
default:
FIXME
(
"Unrecognized D3D10_SHADER_VARIABLE_CLASS %#x.
\n
"
,
c
);
return
"unrecognized"
;
}
}
#undef WINE_D3D10_TO_STR
void
*
d3d10_rb_alloc
(
size_t
size
)
...
...
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