Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
vkd3d
Manage
Activity
Members
Labels
Plan
Wiki
Bugzilla
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wine
vkd3d
Commits
8e2d4dc7
Commit
8e2d4dc7
authored
8 years ago
by
Józef Kucia
Browse files
Options
Downloads
Patches
Plain Diff
libs/vkd3d: Implement d3d12_command_list_CopyBufferRegion().
parent
663f2b4a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libs/vkd3d/command.c
+19
-1
19 additions, 1 deletion
libs/vkd3d/command.c
with
19 additions
and
1 deletion
libs/vkd3d/command.c
+
19
−
1
View file @
8e2d4dc7
...
...
@@ -748,9 +748,27 @@ static void STDMETHODCALLTYPE d3d12_command_list_CopyBufferRegion(ID3D12Graphics
ID3D12Resource
*
dst_resource
,
UINT64
dst_offset
,
ID3D12Resource
*
src_resource
,
UINT64
src_offset
,
UINT64
byte_count
)
{
FIXME
(
"iface %p, dst_resource %p, dst_offset %s, src_resource %p, src_offset %s, byte_count %s stub!
\n
"
,
struct
d3d12_resource
*
dst_resource_impl
=
unsafe_impl_from_ID3D12Resource
(
dst_resource
);
struct
d3d12_resource
*
src_resource_impl
=
unsafe_impl_from_ID3D12Resource
(
src_resource
);
struct
d3d12_command_list
*
list
=
impl_from_ID3D12GraphicsCommandList
(
iface
);
const
struct
vkd3d_vk_device_procs
*
vk_procs
;
VkBufferCopy
buffer_copy
;
TRACE
(
"iface %p, dst_resource %p, dst_offset %s, src_resource %p, src_offset %s, byte_count %s.
\n
"
,
iface
,
dst_resource
,
debugstr_uint64
(
dst_offset
),
src_resource
,
debugstr_uint64
(
src_offset
),
debugstr_uint64
(
byte_count
));
vk_procs
=
&
list
->
device
->
vk_procs
;
assert
(
dst_resource_impl
->
desc
.
Dimension
==
D3D12_RESOURCE_DIMENSION_BUFFER
);
assert
(
src_resource_impl
->
desc
.
Dimension
==
D3D12_RESOURCE_DIMENSION_BUFFER
);
buffer_copy
.
srcOffset
=
src_offset
;
buffer_copy
.
dstOffset
=
dst_offset
;
buffer_copy
.
size
=
byte_count
;
VK_CALL
(
vkCmdCopyBuffer
(
list
->
vk_command_buffer
,
src_resource_impl
->
u
.
vk_buffer
,
dst_resource_impl
->
u
.
vk_buffer
,
1
,
&
buffer_copy
));
}
static
void
STDMETHODCALLTYPE
d3d12_command_list_CopyTextureRegion
(
ID3D12GraphicsCommandList
*
iface
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment