diff --git a/dom/webgpu/ComputePipeline.cpp b/dom/webgpu/ComputePipeline.cpp index be31c7ec8fdc..2433ee9501f5 100644 --- a/dom/webgpu/ComputePipeline.cpp +++ b/dom/webgpu/ComputePipeline.cpp @@ -52,7 +52,7 @@ already_AddRefed 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))) {