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:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user