mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 17:35:30 +00:00
Implement Texture-to-Texture Copies
Implement texture-to-texture copies for D3D12, Vulkan, and Metal. Includes end2end and unit tests. Bug: dawn:18 Change-Id: Ib48453704599bee43a76af21e6164aa9b8db7075 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/5620 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
041aca1620
commit
d3d3aa03e1
@@ -49,6 +49,11 @@ namespace dawn_native {
|
||||
CopyTextureToBufferCmd* copy = commands->NextCommand<CopyTextureToBufferCmd>();
|
||||
copy->~CopyTextureToBufferCmd();
|
||||
} break;
|
||||
case Command::CopyTextureToTexture: {
|
||||
CopyTextureToTextureCmd* copy =
|
||||
commands->NextCommand<CopyTextureToTextureCmd>();
|
||||
copy->~CopyTextureToTextureCmd();
|
||||
} break;
|
||||
case Command::Dispatch: {
|
||||
DispatchCmd* dispatch = commands->NextCommand<DispatchCmd>();
|
||||
dispatch->~DispatchCmd();
|
||||
@@ -152,6 +157,10 @@ namespace dawn_native {
|
||||
commands->NextCommand<CopyTextureToBufferCmd>();
|
||||
break;
|
||||
|
||||
case Command::CopyTextureToTexture:
|
||||
commands->NextCommand<CopyTextureToTextureCmd>();
|
||||
break;
|
||||
|
||||
case Command::Dispatch:
|
||||
commands->NextCommand<DispatchCmd>();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user