From 72bace50985179da02929a4cf9e9aa3f4bf4b395 Mon Sep 17 00:00:00 2001 From: Chris Mills <chrisdavidmills@gmail.com> Date: Fri, 25 Oct 2024 03:47:26 +0100 Subject: [PATCH] Depth bias error lines points (#36489) --- files/en-us/web/api/gpudevice/createrenderpipelineasync/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/files/en-us/web/api/gpudevice/createrenderpipelineasync/index.md b/files/en-us/web/api/gpudevice/createrenderpipelineasync/index.md index d2fe589407f70d1..ca870438d9ba4ed 100644 --- a/files/en-us/web/api/gpudevice/createrenderpipelineasync/index.md +++ b/files/en-us/web/api/gpudevice/createrenderpipelineasync/index.md @@ -42,6 +42,7 @@ A validation error can occur if any of the following are false: - For `depthStencil` objects: - `format` is a [`depth-or-stencil`](https://gpuweb.github.io/gpuweb/#depth-or-stencil-format) format. + - The [`depthBias`](#depthbias), [`depthBiasClamp`](#depthbiasclamp), and [`depthBiasSlopeScale`](#depthbiasslopescale) properties are set to <code>0</code> for line and point topologies, i.e., if [`topology`](#topology) is set to `"line-list"`, `"line-strip"`, or `"point-list"`. - If `depthWriteEnabled` is `true` or `depthCompare` is not `"always"`, `format` has a depth component. - If `stencilFront` or `stencilBack`'s properties are not at their default values, `format` has a stencil component. - For `fragment` objects: