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

[WebGPU] Set initial frontFace value to "ccw"

Instead of having web developers to specify a rasterizationState frontFace
value for every singleGPURenderPipelineDescriptor, a default value is now
provided according to spec change.
See https://github.com/gpuweb/gpuweb/pull/313

Bug: 877147
Change-Id: I05b059b9e189c996d8a087b45f4a3e82cffc7df0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1675764
Auto-Submit: François Beaufort <beaufort.francois@gmail.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672010}
parent b3c12dae
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl // https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
dictionary GPURasterizationStateDescriptor { dictionary GPURasterizationStateDescriptor {
required GPUFrontFace frontFace; GPUFrontFace frontFace = "ccw";
GPUCullMode cullMode = "none"; GPUCullMode cullMode = "none";
long depthBias = 0; long depthBias = 0;
......
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