mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-19 01:46:35 +00:00
Rename setBlendColor->setBlendConstant
Matches most recent spec changes. setBlendColor has been marked as deprecated. Bug: chromium:1199057 Change-Id: I4584ce789bd7d14401244509d5ada62a46236a5d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/47901 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
22b923cc91
commit
413dcf8a40
@@ -168,9 +168,9 @@ namespace dawn_native {
|
||||
cmd->~SetScissorRectCmd();
|
||||
break;
|
||||
}
|
||||
case Command::SetBlendColor: {
|
||||
SetBlendColorCmd* cmd = commands->NextCommand<SetBlendColorCmd>();
|
||||
cmd->~SetBlendColorCmd();
|
||||
case Command::SetBlendConstant: {
|
||||
SetBlendConstantCmd* cmd = commands->NextCommand<SetBlendConstantCmd>();
|
||||
cmd->~SetBlendConstantCmd();
|
||||
break;
|
||||
}
|
||||
case Command::SetBindGroup: {
|
||||
@@ -315,8 +315,8 @@ namespace dawn_native {
|
||||
commands->NextCommand<SetScissorRectCmd>();
|
||||
break;
|
||||
|
||||
case Command::SetBlendColor:
|
||||
commands->NextCommand<SetBlendColorCmd>();
|
||||
case Command::SetBlendConstant:
|
||||
commands->NextCommand<SetBlendConstantCmd>();
|
||||
break;
|
||||
|
||||
case Command::SetBindGroup: {
|
||||
|
||||
Reference in New Issue
Block a user