Bug 1846892 - chore(webgpu)!: remove obsolete GPUShaderModule.compilationInfo r=webgpu-reviewers,webidl,nical,smaug

Differential Revision: https://phabricator.services.mozilla.com/D213175
This commit is contained in:
Erich Gubler
2024-06-11 17:52:37 +00:00
parent eed05490f0
commit 825ebcdc08
3 changed files with 0 additions and 7 deletions

View File

@@ -42,10 +42,6 @@ void ShaderModule::Cleanup() {
wgpu_client_free_shader_module_id(bridge->GetClient(), mId); wgpu_client_free_shader_module_id(bridge->GetClient(), mId);
} }
already_AddRefed<dom::Promise> ShaderModule::CompilationInfo(ErrorResult& aRv) {
return GetCompilationInfo(aRv);
}
already_AddRefed<dom::Promise> ShaderModule::GetCompilationInfo( already_AddRefed<dom::Promise> ShaderModule::GetCompilationInfo(
ErrorResult& aRv) { ErrorResult& aRv) {
RefPtr<dom::Promise> tmp = mCompilationInfo; RefPtr<dom::Promise> tmp = mCompilationInfo;

View File

@@ -22,7 +22,6 @@ class ShaderModule final : public ObjectBase, public ChildOf<Device> {
ShaderModule(Device* const aParent, RawId aId, ShaderModule(Device* const aParent, RawId aId,
const RefPtr<dom::Promise>& aCompilationInfo); const RefPtr<dom::Promise>& aCompilationInfo);
already_AddRefed<dom::Promise> CompilationInfo(ErrorResult& aRv);
already_AddRefed<dom::Promise> GetCompilationInfo(ErrorResult& aRv); already_AddRefed<dom::Promise> GetCompilationInfo(ErrorResult& aRv);
const RawId mId; const RawId mId;

View File

@@ -548,8 +548,6 @@ dictionary GPUPipelineLayoutDescriptor
[Func="mozilla::webgpu::Instance::PrefEnabled", [Func="mozilla::webgpu::Instance::PrefEnabled",
Exposed=(Window, DedicatedWorker), SecureContext] Exposed=(Window, DedicatedWorker), SecureContext]
interface GPUShaderModule { interface GPUShaderModule {
[Throws]
Promise<GPUCompilationInfo> compilationInfo(); // To be removed with <https://bugzilla.mozilla.org/show_bug.cgi?id=1846892>
[Throws] [Throws]
Promise<GPUCompilationInfo> getCompilationInfo(); Promise<GPUCompilationInfo> getCompilationInfo();
}; };