Roll third_party/gpuweb/ 3c4734b09..0f5fc665a (381 commits)

And update dawn/node accordingly.

3c4734b09c...0f5fc665a0

$ git log 3c4734b09..0f5fc665a --date=short --no-merges --format='%ad %ae %s'
2022-11-25 alanbaker Deploying to gh-pages from @ gpuweb/gpuweb@6b7d8f4947 🚀
2022-11-24 dneto Deploying to gh-pages from @ gpuweb/gpuweb@7eea224a85 🚀
2022-11-23 dneto Deploying to gh-pages from @ gpuweb/gpuweb@c11820e695 🚀
2022-11-23 alanbaker Deploying to gh-pages from @ gpuweb/gpuweb@162e04d0c0 🚀
2022-11-22 dneto Deploying to gh-pages from @ gpuweb/gpuweb@58a9410e38 🚀
2022-11-22 dneto Deploying to gh-pages from @ gpuweb/gpuweb@9fa1932d13 🚀
2022-11-22 dneto Deploying to gh-pages from @ gpuweb/gpuweb@39f2321f54 🚀
2022-11-21 alanbaker Deploying to gh-pages from @ gpuweb/gpuweb@cc0fc37636 🚀
2022-11-18 mehmetoguzderin Deploying to gh-pages from @ gpuweb/gpuweb@684c5104ce 🚀
2022-11-18 mehmetoguzderin Deploying to gh-pages from @ gpuweb/gpuweb@6049e8fc99 🚀
2022-11-17 dneto Deploying to gh-pages from @ gpuweb/gpuweb@0812694055 🚀
2022-11-17 dneto Deploying to gh-pages from @ gpuweb/gpuweb@9b65623938 🚀
2022-11-17 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@30e78fb154 🚀
2022-11-16 mehmetoguzderin Deploying to gh-pages from @ gpuweb/gpuweb@8b9da345bd 🚀
2022-11-16 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@113555271f 🚀
2022-11-13 dneto Deploying to gh-pages from @ gpuweb/gpuweb@9c39cc1f0e 🚀
2022-11-11 dneto Deploying to gh-pages from @ gpuweb/gpuweb@a3d767aff4 🚀
2022-11-09 dneto Deploying to gh-pages from @ gpuweb/gpuweb@576b7c97c7 🚀
2022-11-09 dneto Deploying to gh-pages from @ gpuweb/gpuweb@f2fadab356 🚀
2022-11-09 dneto Deploying to gh-pages from @ gpuweb/gpuweb@a291e74d7e 🚀
2022-11-09 dneto Deploying to gh-pages from @ gpuweb/gpuweb@0f69fcba15 🚀
2022-11-09 jdashg Deploying to gh-pages from @ gpuweb/gpuweb@f02d667d59 🚀
2022-11-07 dneto Deploying to gh-pages from @ gpuweb/gpuweb@0fdebc2886 🚀
2022-11-07 dneto Deploying to gh-pages from @ gpuweb/gpuweb@44164a2c63 🚀
2022-11-07 alanbaker Deploying to gh-pages from @ gpuweb/gpuweb@a5cebd5772 🚀
2022-11-07 dneto Deploying to gh-pages from @ gpuweb/gpuweb@c322a6fed4 🚀
2022-11-07 dneto Deploying to gh-pages from @ gpuweb/gpuweb@7ef39cfc0e 🚀
2022-11-07 dneto Deploying to gh-pages from @ gpuweb/gpuweb@572fc32a83 🚀
2022-11-07 dneto Deploying to gh-pages from @ gpuweb/gpuweb@4bb872ac55 🚀
2022-11-02 dneto Deploying to gh-pages from @ gpuweb/gpuweb@98f851baa4 🚀
2022-11-02 dneto Deploying to gh-pages from @ gpuweb/gpuweb@5c6f648919 🚀
2022-11-02 dneto Deploying to gh-pages from @ gpuweb/gpuweb@bf1d73a036 🚀
2022-11-01 dneto Deploying to gh-pages from @ gpuweb/gpuweb@2371712042 🚀
2022-11-01 dneto Deploying to gh-pages from @ gpuweb/gpuweb@acdc5b3e83 🚀
2022-11-01 dneto Deploying to gh-pages from @ gpuweb/gpuweb@8304c57556 🚀
2022-10-27 mehmetoguzderin Deploying to gh-pages from @ gpuweb/gpuweb@27c5c15c84 🚀
2022-10-26 corentin Deploying to gh-pages from @ gpuweb/gpuweb@4048adbfb3 🚀
2022-10-26 shaobo.yan Deploying to gh-pages from @ gpuweb/gpuweb@b85a821e2f 🚀
2022-10-18 alanbaker Deploying to gh-pages from @ gpuweb/gpuweb@63a7a24e4d 🚀
2022-10-18 dneto Deploying to gh-pages from @ gpuweb/gpuweb@6678c9478d 🚀
2022-10-18 dneto Deploying to gh-pages from @ gpuweb/gpuweb@b56d95976d 🚀
2022-10-18 alanbaker Deploying to gh-pages from @ gpuweb/gpuweb@44cf3bf01c 🚀
2022-10-17 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@1e332763cd 🚀
2022-10-14 mehmetoguzderin Deploying to gh-pages from @ gpuweb/gpuweb@49eae687bf 🚀
2022-10-14 mehmetoguzderin Deploying to gh-pages from @ gpuweb/gpuweb@d7402a1367 🚀
2022-10-13 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@d2ef870027 🚀
2022-10-12 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@db76cc3158 🚀
2022-10-11 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@823a357986 🚀
2022-10-11 dneto Deploying to gh-pages from @ gpuweb/gpuweb@7857eee214 🚀
2022-10-11 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@6f93d67391 🚀
(...)
2022-06-14 jimb Correct '/' to '.' in 'derive render targets layout from pipeline'. (#3041)
2022-06-14 corentin Deploying to gh-pages from @ gpuweb/gpuweb@d47a377c38 🚀
2022-06-14 dsinclair Combine section headers which define the same function (#3020)
2022-06-14 dsinclair Combine section headers which define the same function (#3020)
2022-06-14 dsinclair Combine section headers which define the same function (#3020)
2022-06-14 dneto Deploying to gh-pages from @ gpuweb/gpuweb@e37fc8f57a 🚀
2022-06-13 mehmetoguzderin Shorthand
2022-06-13 mehmetoguzderin Shorthand
2022-06-13 mehmetoguzderin Shorthand
2022-06-13 mehmetoguzderin Deploying to gh-pages from @ gpuweb/gpuweb@170f891c4b 🚀
2022-06-13 dneto Add WGSL strict LALR(1) check to CI (#3037)
2022-06-13 dneto Add WGSL strict LALR(1) check to CI (#3037)
2022-06-13 dneto Add WGSL strict LALR(1) check to CI (#3037)
2022-06-13 dneto Deploying to gh-pages from @ gpuweb/gpuweb@edca8002ab 🚀
2022-06-11 kainino editorial nit: specify units for limits where relevant
2022-06-11 kainino editorial nit: specify units for limits where relevant
2022-06-11 kainino editorial nit: specify units for limits where relevant
2022-06-11 tojiro Deploying to gh-pages from @ gpuweb/gpuweb@02dac6eb8a 🚀
2022-06-10 dneto Add WGSL grammar analyzer (#2754)
2022-06-10 dneto Add WGSL grammar analyzer (#2754)
2022-06-10 dneto Add WGSL grammar analyzer (#2754)
2022-06-10 dneto Deploying to gh-pages from @ gpuweb/gpuweb@5fec9c7776 🚀
2022-06-10 kainino fix typo comparison_sampler -> sampler_comparison
2022-06-10 kainino fix typo comparison_sampler -> sampler_comparison
2022-06-10 kainino fix typo comparison_sampler -> sampler_comparison
2022-06-10 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@d3faddafb9 🚀
2022-06-09 jiawei.shao Ensure the formats supporting multisampling must support rendering (#3018)
2022-06-09 jiawei.shao Ensure the formats supporting multisampling must support rendering (#3018)
2022-06-09 jiawei.shao Ensure the formats supporting multisampling must support rendering (#3018)
2022-06-09 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@6ab558611a 🚀
2022-06-08 dom Align phrasing of Firing an event with DOM (#3019)
2022-06-08 dom Align phrasing of Firing an event with DOM (#3019)
2022-06-08 dom Align phrasing of Firing an event with DOM (#3019)
2022-06-08 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@72ce3910cf 🚀
2022-06-08 dsinclair Move builtin names to section headers. (#3016)
2022-06-08 dsinclair Move builtin names to section headers. (#3016)
2022-06-08 dsinclair Move builtin names to section headers. (#3016)
2022-06-08 bclayton wgsl: Allow phony assignment of abstract numeric type
2022-06-08 bclayton wgsl: Allow phony assignment of abstract numeric type
2022-06-08 bclayton wgsl: Allow phony assignment of abstract numeric type
2022-06-08 bclayton Deploying to gh-pages from @ gpuweb/gpuweb@1cfd17eed1 🚀
2022-06-07 kainino Add maxColorAttachments missing from GPUSupportedLimits (#2985)
2022-06-07 kainino Add maxColorAttachments missing from GPUSupportedLimits (#2985)
2022-06-07 kainino Add maxColorAttachments missing from GPUSupportedLimits (#2985)
2022-06-07 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@356791fbc0 🚀
2022-06-07 kainino Support building multi-file specs with the Bikeshed API (#2856)
2022-06-07 kainino Support building multi-file specs with the Bikeshed API (#2856)
2022-06-07 kainino Support building multi-file specs with the Bikeshed API (#2856)
2022-06-07 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@22eae85031 🚀
2022-06-07 kainino Format internal slots consistently with IDL attributes (#3011)

Created with:
  roll-dep third_party/gpuweb

Change-Id: Iebc959cfe54e64c17e7d6175379dbd2cfe840986
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/111801
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2022-12-01 13:03:06 +00:00 committed by Dawn LUCI CQ
parent 145643a542
commit cf8513d4e5
7 changed files with 33 additions and 3 deletions

2
DEPS
View File

@ -172,7 +172,7 @@ deps = {
'condition': 'dawn_node', 'condition': 'dawn_node',
}, },
'third_party/gpuweb': { 'third_party/gpuweb': {
'url': '{github_git}/gpuweb/gpuweb.git@3c4734b09c68eb800b15da5e9ecefeca735fa7df', 'url': '{github_git}/gpuweb/gpuweb.git@0f5fc665a0d5b281e8119f0201e9067b05cf7927',
'condition': 'dawn_node', 'condition': 'dawn_node',
}, },

View File

@ -60,6 +60,7 @@ std::vector<std::string> Split(const std::string& s, char delim) {
X(maxTextureDimension3D) \ X(maxTextureDimension3D) \
X(maxTextureArrayLayers) \ X(maxTextureArrayLayers) \
X(maxBindGroups) \ X(maxBindGroups) \
X(maxBindingsPerBindGroup) \
X(maxDynamicUniformBuffersPerPipelineLayout) \ X(maxDynamicUniformBuffersPerPipelineLayout) \
X(maxDynamicStorageBuffersPerPipelineLayout) \ X(maxDynamicStorageBuffersPerPipelineLayout) \
X(maxSampledTexturesPerShaderStage) \ X(maxSampledTexturesPerShaderStage) \
@ -72,9 +73,12 @@ std::vector<std::string> Split(const std::string& s, char delim) {
X(minUniformBufferOffsetAlignment) \ X(minUniformBufferOffsetAlignment) \
X(minStorageBufferOffsetAlignment) \ X(minStorageBufferOffsetAlignment) \
X(maxVertexBuffers) \ X(maxVertexBuffers) \
X(maxBufferSize) \
X(maxVertexAttributes) \ X(maxVertexAttributes) \
X(maxVertexBufferArrayStride) \ X(maxVertexBufferArrayStride) \
X(maxInterStageShaderComponents) \ X(maxInterStageShaderComponents) \
X(maxColorAttachments) \
/* X(maxColorAttachmentBytesPerSample) */ \
X(maxComputeWorkgroupStorageSize) \ X(maxComputeWorkgroupStorageSize) \
X(maxComputeInvocationsPerWorkgroup) \ X(maxComputeInvocationsPerWorkgroup) \
X(maxComputeWorkgroupSizeX) \ X(maxComputeWorkgroupSizeX) \
@ -214,6 +218,7 @@ interop::Promise<interop::Interface<interop::GPUDevice>> GPUAdapter::requestDevi
case interop::GPUFeatureName::kShaderF16: case interop::GPUFeatureName::kShaderF16:
case interop::GPUFeatureName::kIndirectFirstInstance: case interop::GPUFeatureName::kIndirectFirstInstance:
case interop::GPUFeatureName::kBgra8UnormStorage: case interop::GPUFeatureName::kBgra8UnormStorage:
case interop::GPUFeatureName::kRg11B10UfloatRenderable:
// TODO(dawn:1123) Add support for these extensions when possible. // TODO(dawn:1123) Add support for these extensions when possible.
continue; continue;
} }

View File

@ -166,6 +166,10 @@ interop::GPUSize64 GPUBuffer::getSize(Napi::Env) {
return buffer_.GetSize(); return buffer_.GetSize();
} }
interop::GPUBufferMapState GPUBuffer::getMapState(Napi::Env) {
UNIMPLEMENTED();
}
interop::GPUBufferUsageFlags GPUBuffer::getUsage(Napi::Env env) { interop::GPUBufferUsageFlags GPUBuffer::getUsage(Napi::Env env) {
interop::GPUBufferUsageFlags result; interop::GPUBufferUsageFlags result;

View File

@ -53,6 +53,7 @@ class GPUBuffer final : public interop::GPUBuffer {
void destroy(Napi::Env) override; void destroy(Napi::Env) override;
interop::GPUSize64 getSize(Napi::Env) override; interop::GPUSize64 getSize(Napi::Env) override;
interop::GPUBufferUsageFlags getUsage(Napi::Env) override; interop::GPUBufferUsageFlags getUsage(Napi::Env) override;
interop::GPUBufferMapState getMapState(Napi::Env) override;
std::string getLabel(Napi::Env) override; std::string getLabel(Napi::Env) override;
void setLabel(Napi::Env, std::string value) override; void setLabel(Napi::Env, std::string value) override;

View File

@ -44,6 +44,10 @@ uint32_t GPUSupportedLimits::getMaxBindGroups(Napi::Env) {
return limits_.limits.maxBindGroups; return limits_.limits.maxBindGroups;
} }
uint32_t GPUSupportedLimits::getMaxBindingsPerBindGroup(Napi::Env) {
return limits_.limits.maxBindingsPerBindGroup;
}
uint32_t GPUSupportedLimits::getMaxDynamicUniformBuffersPerPipelineLayout(Napi::Env) { uint32_t GPUSupportedLimits::getMaxDynamicUniformBuffersPerPipelineLayout(Napi::Env) {
return limits_.limits.maxDynamicUniformBuffersPerPipelineLayout; return limits_.limits.maxDynamicUniformBuffersPerPipelineLayout;
} }
@ -92,6 +96,10 @@ uint32_t GPUSupportedLimits::getMaxVertexBuffers(Napi::Env) {
return limits_.limits.maxVertexBuffers; return limits_.limits.maxVertexBuffers;
} }
uint64_t GPUSupportedLimits::getMaxBufferSize(Napi::Env) {
return limits_.limits.maxBufferSize;
}
uint32_t GPUSupportedLimits::getMaxVertexAttributes(Napi::Env) { uint32_t GPUSupportedLimits::getMaxVertexAttributes(Napi::Env) {
return limits_.limits.maxVertexAttributes; return limits_.limits.maxVertexAttributes;
} }
@ -105,8 +113,16 @@ uint32_t GPUSupportedLimits::getMaxInterStageShaderComponents(Napi::Env) {
} }
uint32_t GPUSupportedLimits::getMaxInterStageShaderVariables(Napi::Env) { uint32_t GPUSupportedLimits::getMaxInterStageShaderVariables(Napi::Env) {
return limits_.limits.maxInterStageShaderVariables;
}
uint32_t GPUSupportedLimits::getMaxColorAttachments(Napi::Env) {
return limits_.limits.maxColorAttachments;
}
uint32_t GPUSupportedLimits::getMaxColorAttachmentBytesPerSample(Napi::Env) {
UNIMPLEMENTED(); UNIMPLEMENTED();
// return limits_.limits.maxInterStageShaderVariables; // return limits_.limits.maxColorAttachmentBytesPerSample;
} }
uint32_t GPUSupportedLimits::getMaxComputeWorkgroupStorageSize(Napi::Env) { uint32_t GPUSupportedLimits::getMaxComputeWorkgroupStorageSize(Napi::Env) {

View File

@ -34,6 +34,7 @@ class GPUSupportedLimits final : public interop::GPUSupportedLimits {
uint32_t getMaxTextureDimension3D(Napi::Env) override; uint32_t getMaxTextureDimension3D(Napi::Env) override;
uint32_t getMaxTextureArrayLayers(Napi::Env) override; uint32_t getMaxTextureArrayLayers(Napi::Env) override;
uint32_t getMaxBindGroups(Napi::Env) override; uint32_t getMaxBindGroups(Napi::Env) override;
uint32_t getMaxBindingsPerBindGroup(Napi::Env) override;
uint32_t getMaxDynamicUniformBuffersPerPipelineLayout(Napi::Env) override; uint32_t getMaxDynamicUniformBuffersPerPipelineLayout(Napi::Env) override;
uint32_t getMaxDynamicStorageBuffersPerPipelineLayout(Napi::Env) override; uint32_t getMaxDynamicStorageBuffersPerPipelineLayout(Napi::Env) override;
uint32_t getMaxSampledTexturesPerShaderStage(Napi::Env) override; uint32_t getMaxSampledTexturesPerShaderStage(Napi::Env) override;
@ -46,10 +47,13 @@ class GPUSupportedLimits final : public interop::GPUSupportedLimits {
uint32_t getMinUniformBufferOffsetAlignment(Napi::Env) override; uint32_t getMinUniformBufferOffsetAlignment(Napi::Env) override;
uint32_t getMinStorageBufferOffsetAlignment(Napi::Env) override; uint32_t getMinStorageBufferOffsetAlignment(Napi::Env) override;
uint32_t getMaxVertexBuffers(Napi::Env) override; uint32_t getMaxVertexBuffers(Napi::Env) override;
uint64_t getMaxBufferSize(Napi::Env) override;
uint32_t getMaxVertexAttributes(Napi::Env) override; uint32_t getMaxVertexAttributes(Napi::Env) override;
uint32_t getMaxVertexBufferArrayStride(Napi::Env) override; uint32_t getMaxVertexBufferArrayStride(Napi::Env) override;
uint32_t getMaxInterStageShaderComponents(Napi::Env) override; uint32_t getMaxInterStageShaderComponents(Napi::Env) override;
uint32_t getMaxInterStageShaderVariables(Napi::Env) override; uint32_t getMaxInterStageShaderVariables(Napi::Env) override;
uint32_t getMaxColorAttachments(Napi::Env) override;
uint32_t getMaxColorAttachmentBytesPerSample(Napi::Env) override;
uint32_t getMaxComputeWorkgroupStorageSize(Napi::Env) override; uint32_t getMaxComputeWorkgroupStorageSize(Napi::Env) override;
uint32_t getMaxComputeInvocationsPerWorkgroup(Napi::Env) override; uint32_t getMaxComputeInvocationsPerWorkgroup(Napi::Env) override;
uint32_t getMaxComputeWorkgroupSizeX(Napi::Env) override; uint32_t getMaxComputeWorkgroupSizeX(Napi::Env) override;

View File

@ -347,6 +347,7 @@ crbug.com/tint/0000 [ intel-gen-9 target-cpu-32 ] webgpu:shader,validation,parse
crbug.com/tint/0000 [ intel-gen-9 target-cpu-64 ] webgpu:shader,validation,parse,identifiers:identifiers:* [ Failure ] crbug.com/tint/0000 [ intel-gen-9 target-cpu-64 ] webgpu:shader,validation,parse,identifiers:identifiers:* [ Failure ]
crbug.com/tint/0000 [ nvidia-0x2184 target-cpu-32 ] webgpu:shader,validation,parse,identifiers:identifiers:* [ Failure ] crbug.com/tint/0000 [ nvidia-0x2184 target-cpu-32 ] webgpu:shader,validation,parse,identifiers:identifiers:* [ Failure ]
crbug.com/tint/0000 [ nvidia-0x2184 target-cpu-64 ] webgpu:shader,validation,parse,identifiers:identifiers:* [ Failure ] crbug.com/tint/0000 [ nvidia-0x2184 target-cpu-64 ] webgpu:shader,validation,parse,identifiers:identifiers:* [ Failure ]
crbug.com/tint/1771 webgpu:api,validation,compute_pipeline:overrides,workgroup_size,limits,* [ Failure ]
################################################################################ ################################################################################
# API operation failures # API operation failures
@ -465,7 +466,6 @@ crbug.com/dawn/0000 [ dawn-no-backend-validation nvidia-0x2184 target-cpu-64 win
crbug.com/dawn/0000 [ target-cpu-32 ] webgpu:api,operation,buffers,map_oom:mapAsync:oom=true;size=137438953472 [ Failure ] crbug.com/dawn/0000 [ target-cpu-32 ] webgpu:api,operation,buffers,map_oom:mapAsync:oom=true;size=137438953472 [ Failure ]
crbug.com/dawn/0000 [ target-cpu-32 ] webgpu:api,operation,buffers,map_oom:mapAsync:oom=true;size=9007199254740984 [ Failure ] crbug.com/dawn/0000 [ target-cpu-32 ] webgpu:api,operation,buffers,map_oom:mapAsync:oom=true;size=9007199254740984 [ Failure ]
crbug.com/dawn/0000 webgpu:api,operation,shader_module,compilation_info:line_number_and_position:valid=false;name="carriage-return" [ Failure ] crbug.com/dawn/0000 webgpu:api,operation,shader_module,compilation_info:line_number_and_position:valid=false;name="carriage-return" [ Failure ]
crbug.com/dawn/0000 webgpu:api,validation,compute_pipeline:overrides,workgroup_size,limits,* [ Failure ]
crbug.com/dawn/0000 webgpu:api,validation,createBindGroupLayout:multisampled_validation:viewDimension="2d" [ Failure ] crbug.com/dawn/0000 webgpu:api,validation,createBindGroupLayout:multisampled_validation:viewDimension="2d" [ Failure ]
crbug.com/dawn/0000 webgpu:api,validation,createBindGroupLayout:multisampled_validation:viewDimension="_undef_" [ Failure ] crbug.com/dawn/0000 webgpu:api,validation,createBindGroupLayout:multisampled_validation:viewDimension="_undef_" [ Failure ]
crbug.com/dawn/0000 webgpu:api,validation,encoding,encoder_state:pass_end_twice: [ Failure ] crbug.com/dawn/0000 webgpu:api,validation,encoding,encoder_state:pass_end_twice: [ Failure ]