mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
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:
parent
0a0d1b0dbe
commit
e19adb38a4
@ -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))) {
|
||||
|
Loading…
Reference in New Issue
Block a user