mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-19 09:55:26 +00:00
Rename SetRenderPipeline and SetComputePipeline to SetPipeline
To match the WebGPU idl, SetRenderPipeline and SetComputePipeline need to change the name to SetPipeline. This patch just rename these two APIs BUG=dawn:52 Change-Id: I2545c94158ebd051027a018650bf760a25845d73 Reviewed-on: https://dawn-review.googlesource.com/c/3480 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
21ed12045b
commit
300eec0f82
@@ -38,7 +38,7 @@ namespace dawn_native {
|
||||
dispatch->z = z;
|
||||
}
|
||||
|
||||
void ComputePassEncoderBase::SetComputePipeline(ComputePipelineBase* pipeline) {
|
||||
void ComputePassEncoderBase::SetPipeline(ComputePipelineBase* pipeline) {
|
||||
if (mTopLevelBuilder->ConsumedError(ValidateCanRecordCommands())) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user