mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 17:35:30 +00:00
Remove the concept of push constants
BUG=dawn:14 Change-Id: I20587081ec806034ce4f90457c3d475a6fbe834d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/7180 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
839053b90c
commit
8dfc593eb7
@@ -96,11 +96,6 @@ namespace dawn_native {
|
||||
SetRenderPipelineCmd* cmd = commands->NextCommand<SetRenderPipelineCmd>();
|
||||
cmd->~SetRenderPipelineCmd();
|
||||
} break;
|
||||
case Command::SetPushConstants: {
|
||||
SetPushConstantsCmd* cmd = commands->NextCommand<SetPushConstantsCmd>();
|
||||
commands->NextData<uint32_t>(cmd->count);
|
||||
cmd->~SetPushConstantsCmd();
|
||||
} break;
|
||||
case Command::SetStencilReference: {
|
||||
SetStencilReferenceCmd* cmd = commands->NextCommand<SetStencilReferenceCmd>();
|
||||
cmd->~SetStencilReferenceCmd();
|
||||
@@ -206,11 +201,6 @@ namespace dawn_native {
|
||||
commands->NextCommand<SetRenderPipelineCmd>();
|
||||
break;
|
||||
|
||||
case Command::SetPushConstants: {
|
||||
auto* cmd = commands->NextCommand<SetPushConstantsCmd>();
|
||||
commands->NextData<uint32_t>(cmd->count);
|
||||
} break;
|
||||
|
||||
case Command::SetStencilReference:
|
||||
commands->NextCommand<SetStencilReferenceCmd>();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user