Commit 1b4c3bb1 authored by François Beaufort's avatar François Beaufort Committed by Commit Bot

[WebGPU] Set default value for vertexInput in GPURenderPipelineDescriptor

This CL simply set the default value of vertexInput in
GPURenderPipelineDescriptor to an empty dictionary as specified in
https://gpuweb.github.io/gpuweb/#dom-gpurenderpipelinedescriptor-vertexinput

Bug: 877147
Change-Id: I3e8d8fe42217a563b133767319d9695d21683186
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824884
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Auto-Submit: François Beaufort <beaufort.francois@gmail.com>
Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700143}
parent 684f63d6
......@@ -12,7 +12,7 @@ dictionary GPURenderPipelineDescriptor : GPUPipelineDescriptorBase {
GPURasterizationStateDescriptor rasterizationState;
required sequence<GPUColorStateDescriptor> colorStates;
GPUDepthStencilStateDescriptor depthStencilState;
GPUVertexInputDescriptor vertexInput;
GPUVertexInputDescriptor vertexInput = {};
unsigned long sampleCount = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment