Home
last modified time | relevance | path

Searched refs:colorMask (Results 1 – 25 of 135) sorted by relevance

123456

/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.cpp766 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe… in executeSignedValueWrite() argument
776 …(tcu::select(m_sampleRegister[regSampleNdx].signedValue, originalValue, colorMask), fragSampleNdx,… in executeSignedValueWrite()
781 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe… in executeUnsignedValueWrite() argument
791 …cu::select(m_sampleRegister[regSampleNdx].unsignedValue, originalValue, colorMask), fragSampleNdx,… in executeUnsignedValueWrite()
832 …MaskFactor (state.colorMask[0] ? 1.0f : 0.0f, state.colorMask[1] ? 1.0f : 0.0f, state.colorMask in render()
833 …gationFactor (state.colorMask[0] ? 0.0f : 1.0f, state.colorMask[1] ? 0.0f : 1.0f, state.colorMask in render()
1008 if (state.colorMask[0] && state.colorMask[1] && state.colorMask[2] && state.colorMask[3]) in render()
1015 else if (state.colorMask[0] || state.colorMask[1] || state.colorMask[2] || state.colorMask[3]) in render()
1031 if (state.colorMask[0] || state.colorMask[1] || state.colorMask[2] || state.colorMask[3]) in render()
1032 …ValueWrite(groupFirstFragNdx, numSamplesPerFragment, inputFragments, state.colorMask, colorBuffer); in render()
[all …]
DrrRenderState.hpp272 tcu::BVec4 colorMask; member
307 , colorMask (true) in FragmentOperationState()
DrrFragmentOperations.hpp149 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe…
150 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe…
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPassCache.cpp43 colorMask.set(index); in SetColor()
101 for (uint32_t i : IterateBitSet(query.colorMask)) { in CreateRenderPassForQuery()
203 size_t hash = Hash(query.colorMask); in operator ()()
207 for (uint32_t i : IterateBitSet(query.colorMask)) { in operator ()()
223 if (a.colorMask != b.colorMask) { in operator ()()
235 for (uint32_t i : IterateBitSet(a.colorMask)) { in operator ()()
DRenderPassCache.h46 std::bitset<kMaxColorAttachments> colorMask; member
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPassCache.cpp56 colorMask.set(index); in SetColor()
125 for (ColorAttachmentIndex i : IterateBitSet(query.colorMask)) { in CreateRenderPassForQuery()
238 size_t hash = Hash(query.colorMask); in operator ()()
242 for (ColorAttachmentIndex i : IterateBitSet(query.colorMask)) { in operator ()()
259 if (a.colorMask != b.colorMask) { in operator ()()
271 for (ColorAttachmentIndex i : IterateBitSet(a.colorMask)) { in operator ()()
DRenderPassCache.h54 ityp::bitset<ColorAttachmentIndex, kMaxColorAttachments> colorMask; member
/third_party/vk-gl-cts/framework/common/
DtcuTexLookupVerifier.hpp48 BVec4 colorMask; //!< Channel mask for comparison. member
54 , colorMask (true) in LookupPrecision()
64 BVec4 colorMask; //!< Channel mask for comparison. member
70 , colorMask (true) in IntLookupPrecision()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fRandomFragmentOpTests.cpp107 dst.colorMask = src.colorMask; in translateState()
205 wrapper.glColorMask(state.colorMask[0] ? GL_TRUE : GL_FALSE, in setGLState()
206 state.colorMask[1] ? GL_TRUE : GL_FALSE, in setGLState()
207 state.colorMask[2] ? GL_TRUE : GL_FALSE, in setGLState()
208 state.colorMask[3] ? GL_TRUE : GL_FALSE); in setGLState()
322 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in iterate()
Des2fDepthStencilTests.cpp191 tcu::BVec4 colorMask; member
302 renderCmd.colorMask = tcu::BVec4(false); in generateBaseClearAndDepthCommands()
326 cmd.colorMask = tcu::BVec4(false, false, true, false); in generateDepthVisualizeCommands()
351 cmd.colorMask = tcu::BVec4(false, true, false, false); in generateStencilVisualizeCommands()
393 dst.state.colorMask = src.colorMask; in translateCommand()
462 glColorMask(command.colorMask[0] ? GL_TRUE : GL_FALSE, in render()
463 command.colorMask[1] ? GL_TRUE : GL_FALSE, in render()
464 command.colorMask[2] ? GL_TRUE : GL_FALSE, in render()
465 command.colorMask[3] ? GL_TRUE : GL_FALSE); in render()
624 testCmd.colorMask = tcu::BVec4(true); in iterate()
Des2fColorClearTest.cpp90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo() argument
91 : m_rect(rect), m_colorMask(colorMask), m_color(color) in ClearInfo()
158 …gl.colorMask((clearMask&0x1) != 0, (clearMask&0x2) != 0, (clearMask&0x4) != 0, (clearMask&0x8) != … in iterate()
Des2fDepthStencilClearTests.cpp332 gl.colorMask(GL_FALSE, GL_FALSE, GL_TRUE, GL_FALSE); in renderGL()
365 gl.colorMask (GL_FALSE, GL_TRUE, GL_FALSE, GL_FALSE); in renderGL()
392 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in renderGL()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fRandomFragmentOpTests.cpp107 dst.colorMask = src.colorMask; in translateState()
205 wrapper.glColorMask(state.colorMask[0] ? GL_TRUE : GL_FALSE, in setGLState()
206 state.colorMask[1] ? GL_TRUE : GL_FALSE, in setGLState()
207 state.colorMask[2] ? GL_TRUE : GL_FALSE, in setGLState()
208 state.colorMask[3] ? GL_TRUE : GL_FALSE); in setGLState()
322 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in iterate()
Des3fDepthStencilTests.cpp191 tcu::BVec4 colorMask; member
302 renderCmd.colorMask = tcu::BVec4(false); in generateBaseClearAndDepthCommands()
326 cmd.colorMask = tcu::BVec4(false, false, true, false); in generateDepthVisualizeCommands()
351 cmd.colorMask = tcu::BVec4(false, true, false, false); in generateStencilVisualizeCommands()
393 dst.state.colorMask = src.colorMask; in translateCommand()
462 glColorMask(command.colorMask[0] ? GL_TRUE : GL_FALSE, in render()
463 command.colorMask[1] ? GL_TRUE : GL_FALSE, in render()
464 command.colorMask[2] ? GL_TRUE : GL_FALSE, in render()
465 command.colorMask[3] ? GL_TRUE : GL_FALSE); in render()
624 testCmd.colorMask = tcu::BVec4(true); in iterate()
Des3fDrawBuffersIndexedTests.cpp170 , colorMask (colorMask_) in BlendState()
176 return (!enableBlend) && (!blendEq) && (!blendFunc) && (!colorMask); in isEmpty()
182 Maybe<BVec4> colorMask; member
202 if (blend.colorMask) in setCommonBlendState()
204 const BVec4& mask = *blend.colorMask; in setCommonBlendState()
206 gl.colorMask(mask.x(), mask.y(), mask.z(), mask.w()); in setCommonBlendState()
246 if (blend.colorMask) in setIndexedBlendState()
248 const BVec4 mask = *blend.colorMask; in setIndexedBlendState()
659 if (state.colorMask) in setBlendState()
660 fragOps.colorMask = *state.colorMask; in setBlendState()
[all …]
Des3fColorClearTest.cpp90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo() argument
91 : m_rect(rect), m_colorMask(colorMask), m_color(color) in ClearInfo()
158 …gl.colorMask((clearMask&0x1) != 0, (clearMask&0x2) != 0, (clearMask&0x4) != 0, (clearMask&0x8) != … in iterate()
Des3fDepthStencilClearTests.cpp335 gl.colorMask(GL_FALSE, GL_FALSE, GL_TRUE, GL_FALSE); in renderGL()
368 gl.colorMask (GL_FALSE, GL_TRUE, GL_FALSE, GL_FALSE); in renderGL()
395 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in renderGL()
/third_party/vk-gl-cts/modules/glshared/
DglsFragOpInteractionCase.cpp276 ctx.colorMask(state.colorMask[0] ? GL_TRUE : GL_FALSE, in setRenderState()
277 state.colorMask[1] ? GL_TRUE : GL_FALSE, in setRenderState()
278 state.colorMask[2] ? GL_TRUE : GL_FALSE, in setRenderState()
279 state.colorMask[3] ? GL_TRUE : GL_FALSE); in setRenderState()
590 ctx.colorMask (GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in iterate()
DglsInteractionTestUtil.hpp100 tcu::BVec4 colorMask; member
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp170 , colorMask (colorMask_) in BlendState()
176 return (!enableBlend) && (!blendEq) && (!blendFunc) && (!colorMask); in isEmpty()
182 Maybe<BVec4> colorMask; member
202 if (blend.colorMask) in setCommonBlendState()
204 const BVec4& mask = *blend.colorMask; in setCommonBlendState()
206 gl.colorMask(mask.x(), mask.y(), mask.z(), mask.w()); in setCommonBlendState()
246 if (blend.colorMask) in setIndexedBlendState()
248 const BVec4 mask = *blend.colorMask; in setIndexedBlendState()
647 if (state.colorMask) in setBlendState()
648 fragOps.colorMask = *state.colorMask; in setBlendState()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp462 const uint8_t colorMask = gl::BlendStateExt::ColorMaskStorage::GetValueIndexed( in clearFramebuffer() local
463 colorAttachmentIndex, clearParams.colorMask); in clearFramebuffer()
465 commonColorMask |= colorMask; in clearFramebuffer()
493 gl::BlendStateExt::UnpackColorMask(colorMask, &r, &g, &b, &a); in clearFramebuffer()
510 rtvMasks[numRtvs] = gl_d3d11::GetColorMask(formatInfo) & colorMask; in clearFramebuffer()
DRenderStateCache.cpp81 const uint8_t colorMask = blendStateExt.getColorMaskIndexed(sourceIndex); in GetBlendStateKey() local
86 gl_d3d11::GetColorMask(internalFormat) & colorMask); in GetBlendStateKey()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp465 const uint8_t colorMask = in clearFramebuffer() local
516 rtvMasks[numRtvs] = gl_d3d11::GetColorMask(formatInfo) & colorMask; in clearFramebuffer()
676 dirtyCb = UpdateDataCache(&mShaderData, clearParams.colorF, zValue, numRtvs, colorMask); in clearFramebuffer()
680 clearParams.colorUI, zValue, numRtvs, colorMask); in clearFramebuffer()
684 clearParams.colorI, zValue, numRtvs, colorMask); in clearFramebuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DStateManagerGL.cpp1406 mFunctions->colorMask(red, green, blue, alpha); in setColorMask()
2302 mFunctions->colorMask(r, g, b, a); in setColorMaskForFramebuffer()
2672 get(GL_COLOR_WRITEMASK, &state->colorMask); in syncFromNativeContext()
2673 auto colorMask = mBlendStateExt.expandColorMaskValue(state->colorMask[0], state->colorMask[1], in syncFromNativeContext() local
2674 state->colorMask[2], state->colorMask[3]); in syncFromNativeContext()
2675 if (mBlendStateExt.mColorMask != colorMask) in syncFromNativeContext()
2677 mBlendStateExt.mColorMask = colorMask; in syncFromNativeContext()
2822 setColorMask(state->colorMask[0], state->colorMask[1], state->colorMask[2], in restoreNativeContext()
2823 state->colorMask[3]); in restoreNativeContext()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedCoverage.cpp91 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in iterate()

123456