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
0d359fb8
Commit
0d359fb8
authored
Oct 07, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use I width modifier for debug traces on DWORD_PTR.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
25f66930
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
buffer.c
dlls/wined3d/buffer.c
+1
-1
context_vk.c
dlls/wined3d/context_vk.c
+2
-2
device.c
dlls/wined3d/device.c
+1
-1
shader_sm4.c
dlls/wined3d/shader_sm4.c
+3
-3
wined3d_main.c
dlls/wined3d/wined3d_main.c
+1
-1
No files found.
dlls/wined3d/buffer.c
View file @
0d359fb8
...
...
@@ -282,7 +282,7 @@ static BOOL buffer_process_converted_attribute(struct wined3d_buffer *buffer,
DWORD_PTR
idx
=
(
data
+
i
)
%
buffer
->
stride
;
if
(
buffer
->
conversion_map
[
idx
]
!=
conversion_type
)
{
TRACE
(
"Byte %
l
u in vertex changed:
\n
"
,
idx
);
TRACE
(
"Byte %
I
u in vertex changed:
\n
"
,
idx
);
TRACE
(
" It was type %#x, is %#x now.
\n
"
,
buffer
->
conversion_map
[
idx
],
conversion_type
);
ret
=
TRUE
;
buffer
->
conversion_map
[
idx
]
=
conversion_type
;
...
...
dlls/wined3d/context_vk.c
View file @
0d359fb8
...
...
@@ -781,7 +781,7 @@ static void wined3d_bo_slab_vk_free_slice(struct wined3d_bo_slab_vk *slab,
struct
wined3d_bo_slab_vk_key
key
;
struct
wine_rb_entry
*
entry
;
TRACE
(
"slab %p, idx %
l
u, context_vk %p.
\n
"
,
slab
,
idx
,
context_vk
);
TRACE
(
"slab %p, idx %
I
u, context_vk %p.
\n
"
,
slab
,
idx
,
context_vk
);
wined3d_device_vk_allocator_lock
(
device_vk
);
...
...
@@ -819,7 +819,7 @@ static void wined3d_context_vk_destroy_bo_slab_slice(struct wined3d_context_vk *
if
(
!
(
o
=
wined3d_context_vk_get_retired_object_vk
(
context_vk
)))
{
ERR
(
"Leaking slab %p, slice %#
l
x.
\n
"
,
slab
,
idx
);
ERR
(
"Leaking slab %p, slice %#
I
x.
\n
"
,
slab
,
idx
);
return
;
}
...
...
dlls/wined3d/device.c
View file @
0d359fb8
...
...
@@ -1112,7 +1112,7 @@ bool wined3d_device_gl_create_bo(struct wined3d_device_gl *device_gl, struct win
GLsizeiptr
buffer_offset
=
0
;
GLuint
id
=
0
;
TRACE
(
"device_gl %p, context_gl %p, size %
l
u, binding %#x, usage %#x, coherent %#x, flags %#x, bo %p.
\n
"
,
TRACE
(
"device_gl %p, context_gl %p, size %
I
u, binding %#x, usage %#x, coherent %#x, flags %#x, bo %p.
\n
"
,
device_gl
,
context_gl
,
size
,
binding
,
usage
,
coherent
,
flags
,
bo
);
if
(
gl_info
->
supported
[
ARB_BUFFER_STORAGE
])
...
...
dlls/wined3d/shader_sm4.c
View file @
0d359fb8
...
...
@@ -1717,7 +1717,7 @@ static void shader_sm4_read_instruction(void *data, const DWORD **ptr, struct wi
}
if
(
!
len
||
remaining
<
len
)
{
WARN
(
"Read invalid length %u (remaining %
l
u).
\n
"
,
len
,
remaining
);
WARN
(
"Read invalid length %u (remaining %
I
u).
\n
"
,
len
,
remaining
);
goto
fail
;
}
--
len
;
...
...
@@ -1920,7 +1920,7 @@ static HRESULT parse_dxbc(const char *data, SIZE_T data_size,
if
(
chunk_offset
>=
data_size
||
!
require_space
(
chunk_offset
,
2
,
sizeof
(
DWORD
),
data_size
))
{
WARN
(
"Invalid chunk offset %#x (data size %#
l
x).
\n
"
,
chunk_offset
,
data_size
);
WARN
(
"Invalid chunk offset %#x (data size %#
I
x).
\n
"
,
chunk_offset
,
data_size
);
return
E_FAIL
;
}
...
...
@@ -1931,7 +1931,7 @@ static HRESULT parse_dxbc(const char *data, SIZE_T data_size,
if
(
!
require_space
(
chunk_ptr
-
data
,
1
,
chunk_size
,
data_size
))
{
WARN
(
"Invalid chunk size %#x (data size %#
l
x, chunk offset %#x).
\n
"
,
WARN
(
"Invalid chunk size %#x (data size %#
I
x, chunk offset %#x).
\n
"
,
chunk_size
,
data_size
,
chunk_offset
);
return
E_FAIL
;
}
...
...
dlls/wined3d/wined3d_main.c
View file @
0d359fb8
...
...
@@ -630,7 +630,7 @@ static LRESULT CALLBACK wined3d_wndproc(HWND window, UINT message, WPARAM wparam
{
if
(
filter
&&
message
!=
WM_DISPLAYCHANGE
)
{
TRACE
(
"Filtering message: window %p, message %#x, wparam %#
lx, lparam %#l
x.
\n
"
,
TRACE
(
"Filtering message: window %p, message %#x, wparam %#
Ix, lparam %#I
x.
\n
"
,
window
,
message
,
wparam
,
lparam
);
if
(
unicode
)
...
...
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