mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 01:15:39 +00:00
Rename variables in DepthStencilStateDescriptor, in order to match web idl
Bug:dawn:31 Change-Id: Ie3326e13f62446bf020ae60f47c8dfa6687d7b9a Reviewed-on: https://dawn-review.googlesource.com/c/4240 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Yunchao He <yunchao.he@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
8749506bae
commit
baa3741c9f
@@ -74,15 +74,15 @@ namespace utils {
|
||||
{
|
||||
dawn::StencilStateFaceDescriptor stencilFace;
|
||||
stencilFace.compare = dawn::CompareFunction::Always;
|
||||
stencilFace.stencilFailOp = dawn::StencilOperation::Keep;
|
||||
stencilFace.failOp = dawn::StencilOperation::Keep;
|
||||
stencilFace.depthFailOp = dawn::StencilOperation::Keep;
|
||||
stencilFace.passOp = dawn::StencilOperation::Keep;
|
||||
|
||||
// dawn::DepthStencilStateDescriptor depthStencilState;
|
||||
cDepthStencilState.depthWriteEnabled = false;
|
||||
cDepthStencilState.depthCompare = dawn::CompareFunction::Always;
|
||||
cDepthStencilState.back = stencilFace;
|
||||
cDepthStencilState.front = stencilFace;
|
||||
cDepthStencilState.stencilBack = stencilFace;
|
||||
cDepthStencilState.stencilFront = stencilFace;
|
||||
cDepthStencilState.stencilReadMask = 0xff;
|
||||
cDepthStencilState.stencilWriteMask = 0xff;
|
||||
descriptor->depthStencilState = &cDepthStencilState;
|
||||
|
||||
Reference in New Issue
Block a user