Bug 1930970 - Rename dom.webgpu.indirect-dispatch.enabled to dom.webgpu.indirect-draw.enabled. r=webgpu-reviewers,webidl,emilio,ErichDonGubler

Differential Revision: https://phabricator.services.mozilla.com/D229324
This commit is contained in:
teoxoy 2024-11-19 09:43:00 +00:00
parent cfd3742f18
commit 3eff2bbea4
2 changed files with 4 additions and 4 deletions

View File

@ -1104,9 +1104,9 @@ interface mixin GPURenderCommandsMixin {
optional GPUSignedOffset32 baseVertex = 0,
optional GPUSize32 firstInstance = 0);
[Pref="dom.webgpu.indirect-dispatch.enabled"]
[Pref="dom.webgpu.indirect-draw.enabled"]
undefined drawIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
[Pref="dom.webgpu.indirect-dispatch.enabled"]
[Pref="dom.webgpu.indirect-draw.enabled"]
undefined drawIndexedIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
};

View File

@ -4998,8 +4998,8 @@
value: false
mirror: always
# Are WebGPU indirect draws/dispatches enabled?
- name: dom.webgpu.indirect-dispatch.enabled
# Are WebGPU indirect draws enabled?
- name: dom.webgpu.indirect-draw.enabled
type: RelaxedAtomicBool
value: false
mirror: always