mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Rename DawnColorStateDescriptor.colorWriteMask to writeMask
Bug: chromium:877147 Change-Id: I566cea409b89de8abd724f344f7ae83f80e56572 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6600 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
2ec74dcc3f
commit
0c133bbe55
@@ -103,10 +103,10 @@ namespace dawn_native { namespace opengl {
|
||||
} else {
|
||||
glDisablei(GL_BLEND, attachment);
|
||||
}
|
||||
glColorMaski(attachment, descriptor->colorWriteMask & dawn::ColorWriteMask::Red,
|
||||
descriptor->colorWriteMask & dawn::ColorWriteMask::Green,
|
||||
descriptor->colorWriteMask & dawn::ColorWriteMask::Blue,
|
||||
descriptor->colorWriteMask & dawn::ColorWriteMask::Alpha);
|
||||
glColorMaski(attachment, descriptor->writeMask & dawn::ColorWriteMask::Red,
|
||||
descriptor->writeMask & dawn::ColorWriteMask::Green,
|
||||
descriptor->writeMask & dawn::ColorWriteMask::Blue,
|
||||
descriptor->writeMask & dawn::ColorWriteMask::Alpha);
|
||||
}
|
||||
|
||||
GLuint OpenGLStencilOperation(dawn::StencilOperation stencilOperation) {
|
||||
|
||||
Reference in New Issue
Block a user