Rolls third_party/gpuweb to 2e75d5e

- Needed to remove maxFragmentCombinedOutputResources limit.

Bug: dawn:1756
Change-Id: Ia7c87d845a79fafee45ab7d1e2b7798e3157945f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/127940
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Loko Kung <lokokung@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
Loko Kung 2023-04-19 09:08:42 +00:00 committed by Dawn LUCI CQ
parent f4b9f95b68
commit c47e05ae50
7 changed files with 8 additions and 10 deletions

2
DEPS
View File

@ -176,7 +176,7 @@ deps = {
'condition': 'dawn_node',
},
'third_party/gpuweb': {
'url': '{github_git}/gpuweb/gpuweb.git@1f8a05afc72627d9f7f45d6067f3e373d0a81f8e',
'url': '{github_git}/gpuweb/gpuweb.git@2e75d5e68e80e4c28575c7836ee00ca22cf4ca63',
'condition': 'dawn_node',
},

View File

@ -1701,6 +1701,7 @@ bool Converter::Convert(interop::GPUFeatureName& out, wgpu::FeatureName in) {
case wgpu::FeatureName::DawnNative:
case wgpu::FeatureName::ChromiumExperimentalDp4a:
case wgpu::FeatureName::TimestampQueryInsidePasses:
case wgpu::FeatureName::ImplicitDeviceSynchronization:
case wgpu::FeatureName::Undefined:
return false;
}

View File

@ -229,4 +229,8 @@ interop::GPUTextureFormat GPU::getPreferredCanvasFormat(Napi::Env) {
UNIMPLEMENTED();
}
interop::Interface<interop::WGSLLanguageFeatures> GPU::getWgslLanguageFeatures(Napi::Env) {
UNIMPLEMENTED();
}
} // namespace wgpu::binding

View File

@ -33,6 +33,7 @@ class GPU final : public interop::GPU {
Napi::Env env,
interop::GPURequestAdapterOptions options) override;
interop::GPUTextureFormat getPreferredCanvasFormat(Napi::Env) override;
interop::Interface<interop::WGSLLanguageFeatures> getWgslLanguageFeatures(Napi::Env) override;
private:
const Flags flags_;

View File

@ -93,10 +93,7 @@ class DeviceLostInfo : public interop::GPUDeviceLostInfo {
public:
DeviceLostInfo(interop::GPUDeviceLostReason reason, std::string message)
: reason_(reason), message_(message) {}
std::variant<interop::GPUDeviceLostReason, interop::UndefinedType> getReason(
Napi::Env env) override {
return reason_;
}
interop::GPUDeviceLostReason getReason(Napi::Env env) override { return reason_; }
std::string getMessage(Napi::Env) override { return message_; }
private:

View File

@ -148,8 +148,4 @@ uint32_t GPUSupportedLimits::getMaxComputeWorkgroupsPerDimension(Napi::Env) {
return limits_.limits.maxComputeWorkgroupsPerDimension;
}
uint32_t GPUSupportedLimits::getMaxFragmentCombinedOutputResources(Napi::Env) {
return limits_.limits.maxFragmentCombinedOutputResources;
}
} // namespace wgpu::binding

View File

@ -60,7 +60,6 @@ class GPUSupportedLimits final : public interop::GPUSupportedLimits {
uint32_t getMaxComputeWorkgroupSizeY(Napi::Env) override;
uint32_t getMaxComputeWorkgroupSizeZ(Napi::Env) override;
uint32_t getMaxComputeWorkgroupsPerDimension(Napi::Env) override;
uint32_t getMaxFragmentCombinedOutputResources(Napi::Env) override;
private:
wgpu::SupportedLimits limits_;