Bug 1862499: Make ComputePipeline::GetBindGroupLayout request from the compute pipeline. r=webgpu-reviewers,ErichDonGubler

This is just a fixup for a typo. The method was originally implemented
requesting a bind group layout from the render pipelines, not from the
compute pipelines, as intended.

Differential Revision: https://phabricator.services.mozilla.com/D192761
This commit is contained in:
Brad Werth 2023-11-04 00:10:07 +00:00
parent 0a0d1b0dbe
commit e19adb38a4

View File

@ -52,7 +52,7 @@ already_AddRefed<BindGroupLayout> ComputePipeline::GetBindGroupLayout(
auto* client = bridge->GetClient();
ipc::ByteBuf bb;
const RawId bglId = ffi::wgpu_client_render_pipeline_get_bind_group_layout(
const RawId bglId = ffi::wgpu_client_compute_pipeline_get_bind_group_layout(
client, mId, aIndex, ToFFI(&bb));
if (!bridge->SendDeviceAction(mParent->GetId(), std::move(bb))) {