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
e4f470e5
Commit
e4f470e5
authored
Sep 23, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Dec 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Trace the sampler desc in wined3d_sampler_init().
parent
d69cdbf1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
sampler.c
dlls/wined3d/sampler.c
+13
-0
No files found.
dlls/wined3d/sampler.c
View file @
e4f470e5
...
...
@@ -59,6 +59,19 @@ static void wined3d_sampler_init(struct wined3d_sampler *sampler, struct wined3d
TRACE
(
"sampler %p, device %p, desc %p, parent %p, parent_ops %p.
\n
"
,
sampler
,
device
,
desc
,
parent
,
parent_ops
);
TRACE
(
" Address modes: U %#x, V %#x, W %#x.
\n
"
,
desc
->
address_u
,
desc
->
address_v
,
desc
->
address_w
);
TRACE
(
" Border colour: {%.8e, %.8e, %.8e, %.8e}.
\n
"
,
desc
->
border_color
[
0
],
desc
->
border_color
[
1
],
desc
->
border_color
[
2
],
desc
->
border_color
[
3
]);
TRACE
(
" Filters: mag %#x, min %#x, mip %#x.
\n
"
,
desc
->
mag_filter
,
desc
->
min_filter
,
desc
->
mip_filter
);
TRACE
(
" LOD bias: %.8e.
\n
"
,
desc
->
lod_bias
);
TRACE
(
" Minimum LOD: %.8e.
\n
"
,
desc
->
min_lod
);
TRACE
(
" Maximum LOD: %.8e.
\n
"
,
desc
->
max_lod
);
TRACE
(
" Base mip level: %u.
\n
"
,
desc
->
mip_base_level
);
TRACE
(
" Maximum anisotropy: %u.
\n
"
,
desc
->
max_anisotropy
);
TRACE
(
" Comparison: %d.
\n
"
,
desc
->
compare
);
TRACE
(
" Comparison func: %#x.
\n
"
,
desc
->
comparison_func
);
TRACE
(
" SRGB decode: %d.
\n
"
,
desc
->
srgb_decode
);
sampler
->
refcount
=
1
;
sampler
->
device
=
device
;
sampler
->
parent
=
parent
;
...
...
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