Home
last modified time | relevance | path

Searched refs:BVec4 (Results 1 – 25 of 49) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp65 using tcu::BVec4;
166 const Maybe<BVec4>& colorMask_) in BlendState()
182 Maybe<BVec4> colorMask;
204 const BVec4& mask = *blend.colorMask; in setCommonBlendState()
248 const BVec4 mask = *blend.colorMask; in setIndexedBlendState()
1073 const BVec4 mask = *blend.colorMask; in logBlendState()
1307 blendState.colorMask = BVec4(red, blue, green, alpha); in genRandomBlendState()
1578 …her<BlendEq, SeparateBlendEq> >(), Maybe<Either<BlendFunc, SeparateBlendFunc> >(), Maybe<BVec4>()); in addDrawBufferCommonTests()
1581 …her<BlendEq, SeparateBlendEq> >(), Maybe<Either<BlendFunc, SeparateBlendFunc> >(), Maybe<BVec4>()); in addDrawBufferCommonTests()
1582 …her<BlendEq, SeparateBlendEq> >(), Maybe<Either<BlendFunc, SeparateBlendFunc> >(), Maybe<BVec4>()); in addDrawBufferCommonTests()
[all …]
Des31fIndexedStateQueryTests.cpp984 …verifyStateIndexedBooleanVec4(result, gl, GL_COLOR_WRITEMASK, ndx, tcu::BVec4(true), m_verifierTyp… in iterate()
992 …verifyStateIndexedBooleanVec4(result, gl, GL_COLOR_WRITEMASK, ndx, tcu::BVec4(false, true, true, f… in iterate()
1001 …lt, gl, GL_COLOR_WRITEMASK, ndx, (ndx % 2 == 0 ? tcu::BVec4(true, false, true, false) : tcu::BVec4 in iterate()
1012 …verifyStateIndexedBooleanVec4(result, gl, GL_COLOR_WRITEMASK, ndx, tcu::BVec4(false, true, true, f… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineColorWriteEnableTests.cpp165 tcu::BVec4 channelMask;
1049 void ApplyChannelMask(std::vector<tcu::Vec4>& meshColors, const tcu::BVec4& channelMask, const tcu:… in ApplyChannelMask()
1064 const tcu::BVec4 channelMask, in AddSingleTestCaseStatic()
1108 const tcu::BVec4 channelMask, in AddSingleTestCaseDynamic()
1166 tcu::BVec4 enabledChannels; in createColorWriteEnableTests()
1171 { tcu::BVec4(true, true, true, true), "all_channels", "Enable all channels in colorWriteMask"}, in createColorWriteEnableTests()
1172 { tcu::BVec4(true, false, false, false), "red_channel", "Red channel enabled in colorWriteMask"}, in createColorWriteEnableTests()
1173 …{ tcu::BVec4(false, true, false, false), "green_channel", "Green channel enabled in colorWriteMask… in createColorWriteEnableTests()
1174 …{ tcu::BVec4(false, false, true, false), "blue_channel", "Blue channel enabled in colorWriteMask"}, in createColorWriteEnableTests()
1175 …{ tcu::BVec4(false, false, false, true), "alpha_channel", "Alpha channel enabled in colorWriteMask… in createColorWriteEnableTests()
[all …]
DvktPipelineReferenceRenderer.cpp81 tcu::BVec4 mapVkColorComponentFlags (VkColorComponentFlags flags) in mapVkColorComponentFlags()
83 return tcu::BVec4((flags & VK_COLOR_COMPONENT_R_BIT) != 0, in mapVkColorComponentFlags()
DvktPipelineImageSamplingInstance.hpp128 tcu::BVec4 m_componentMask;
DvktPipelineReferenceRenderer.hpp369 tcu::BVec4 mapVkColorComponentFlags (vk::VkColorComponentFlags flags);
/third_party/vk-gl-cts/modules/egl/
DteglChooseConfigReference.cpp178 …lorBufferBits (const SurfaceConfig& a, const SurfaceConfig& b, const tcu::BVec4& specifiedRGBColor… in compareColorBufferBits()
242 …bool compareTo (const SurfaceConfig& b, const tcu::BVec4& specifiedRGBColors, const tcu::BVec2& sp… in compareTo()
340 …CompareConfigs (const tcu::BVec4& specifiedRGBColors, const tcu::BVec2& specifiedLuminanceColors, … in CompareConfigs()
353 const tcu::BVec4 m_specifiedRGBColors;
437 tcu::BVec4 getSpecifiedRGBColors (void) const in getSpecifiedRGBColors()
447 tcu::BVec4 result; in getSpecifiedRGBColors()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.hpp149 …et, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const …
150 …et, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const …
DrrRenderState.hpp272 tcu::BVec4 colorMask;
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFramebufferBlitTests.cpp313 static tcu::BVec4 getChannelMask (tcu::TextureFormat::ChannelOrder order) in getChannelMask()
317 case tcu::TextureFormat::R: return tcu::BVec4(true, false, false, false); in getChannelMask()
318 case tcu::TextureFormat::RG: return tcu::BVec4(true, true, false, false); in getChannelMask()
319 case tcu::TextureFormat::RGB: return tcu::BVec4(true, true, true, false); in getChannelMask()
320 case tcu::TextureFormat::RGBA: return tcu::BVec4(true, true, true, true); in getChannelMask()
321 case tcu::TextureFormat::sRGB: return tcu::BVec4(true, true, true, false); in getChannelMask()
322 case tcu::TextureFormat::sRGBA: return tcu::BVec4(true, true, true, true); in getChannelMask()
325 return tcu::BVec4(false); in getChannelMask()
357 …tcu::BVec4 copyMask = tcu::logicalAnd(getChannelMask(srcFormat.order), getChannelMask(dstForm… in render()
358 …tcu::BVec4 srcIsGreater = tcu::greaterThan(srcFmtRangeInfo.valueMax-srcFmtRangeInfo.valueMin, … in render()
Des3fShaderDerivateTests.cpp186 static inline tcu::BVec4 getDerivateMask (glu::DataType type) in getDerivateMask()
190 case glu::TYPE_FLOAT: return tcu::BVec4(true, false, false, false); in getDerivateMask()
191 case glu::TYPE_FLOAT_VEC2: return tcu::BVec4(true, true, false, false); in getDerivateMask()
192 case glu::TYPE_FLOAT_VEC3: return tcu::BVec4(true, true, true, false); in getDerivateMask()
193 case glu::TYPE_FLOAT_VEC4: return tcu::BVec4(true, true, true, true); in getDerivateMask()
196 return tcu::BVec4(true); in getDerivateMask()
412 const tcu::BVec4 mask = tcu::logicalNot(getDerivateMask(dataType)); in verifyConstantDerivate()
423 …gicalOr(tcu::lessThanEqual(tcu::abs(reference - resDerivate), threshold), mask), tcu::BVec4(true)); in verifyConstantDerivate()
Des3fDepthStencilTests.cpp191 tcu::BVec4 colorMask;
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()
624 testCmd.colorMask = tcu::BVec4(true); in iterate()
/third_party/vk-gl-cts/framework/common/
DtcuVectorType.hpp66 typedef Vector<bool, 4> BVec4; typedef
DtcuTexLookupVerifier.hpp48 BVec4 colorMask; //!< Channel mask for comparison.
64 BVec4 colorMask; //!< Channel mask for comparison.
DtcuTextureUtil.cpp462 …const BVec4 chnMask = BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSwizzle::C… in getTextureFormatInfo()
607 …const BVec4 chnMask = BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSwizzle::C… in getTextureFormatBitDepth()
684 …const BVec4 chnMask = BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSwizzle::C… in getTextureFormatMantissaBitDepth()
696 BVec4 getTextureFormatChannelMask (const TextureFormat& format) in getTextureFormatChannelMask()
699 return BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatChannelMask()
DtcuTextureUtil.hpp107 BVec4 getTextureFormatChannelMask (const TextureFormat& format);
/third_party/vk-gl-cts/modules/glshared/
DglsInteractionTestUtil.hpp100 tcu::BVec4 colorMask;
DglsShaderRenderCase.cpp833 struct BVec4Uniform { const char* name; BVec4 value; }; in setupDefaultUniforms()
836 { "ub4_true", BVec4(true) }, in setupDefaultUniforms()
837 { "ub4_false", BVec4(false) }, in setupDefaultUniforms()
DglsStateQueryUtil.hpp409 void verifyBooleanVec4 (tcu::ResultCollector& result, QueriedState& state, const tcu::BVec4& …
425 …t, glu::CallLogWrapper& gl, glw::GLenum target, int index, const tcu::BVec4& expected, QueryTy…
/third_party/vk-gl-cts/framework/opengl/
DgluTextureTestUtil.hpp398 inline tcu::BVec4 getCompareMask (const tcu::PixelFormat& format) in getCompareMask()
400 return tcu::BVec4(format.redBits > 0, in getCompareMask()
413 tcu::BVec4 colorMask; //!< Color channel comparison mask.
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp58 using tcu::BVec4;
1073 const BVec4 isRenderValue (refColor == renderValue); in verify()
1074 const BVec4 isClearValue (refColor == clearValue); in verify()
1075 …ol unexpectedValue (tcu::anyNotEqual(tcu::logicalOr(isRenderValue, isClearValue), BVec4(true))); in verify()
1076 …consistentComponent (!(tcu::allEqual(isRenderValue, BVec4(true)) || tcu::allEqual(isClearValue, BV… in verify()
1174 const BVec4 isRenderValue (refColor == renderValue); in verify()
1175 const BVec4 isClearValue (refColor == clearValue); in verify()
1176 …ol unexpectedValue (tcu::anyNotEqual(tcu::logicalOr(isRenderValue, isClearValue), BVec4(true))); in verify()
1177 …consistentComponent (!(tcu::allEqual(isRenderValue, BVec4(true)) || tcu::allEqual(isClearValue, BV… in verify()
DvktRenderPassTests.cpp80 using tcu::BVec4;
974 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format); in clearColorToString()
1065 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format); in randomColorClearValue()
3294 const BVec4& mask, in clearReferenceValues()
3318 const BVec4& mask, in markUndefined()
3370 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format); in clearValueToPixelValue()
3454 …clearReferenceValues(reference, targetSize, UVec2(0, 0), targetSize, BVec4(true), clearValueToPixe… in renderReferenceValues()
3478 …clearReferenceValues(reference, targetSize, renderPos, renderSize, BVec4(true), clearValueToPixelV… in renderReferenceValues()
3480 markUndefined(reference, BVec4(true), targetSize, renderPos, renderSize); in renderReferenceValues()
3501 …clearReferenceValues(reference, targetSize, renderPos, renderSize, BVec4(true, false, false, false… in renderReferenceValues()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp156 static inline tcu::BVec4 getDerivateMask (glu::DataType type) in getDerivateMask()
160 case glu::TYPE_FLOAT: return tcu::BVec4(true, false, false, false); in getDerivateMask()
161 case glu::TYPE_FLOAT_VEC2: return tcu::BVec4(true, true, false, false); in getDerivateMask()
162 case glu::TYPE_FLOAT_VEC3: return tcu::BVec4(true, true, true, false); in getDerivateMask()
163 case glu::TYPE_FLOAT_VEC4: return tcu::BVec4(true, true, true, true); in getDerivateMask()
166 return tcu::BVec4(true); in getDerivateMask()
348 const tcu::BVec4 mask = tcu::logicalNot(getDerivateMask(dataType)); in verifyConstantDerivate()
359 …gicalOr(tcu::lessThanEqual(tcu::abs(reference - resDerivate), threshold), mask), tcu::BVec4(true)); in verifyConstantDerivate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDepthStencilTests.cpp191 tcu::BVec4 colorMask;
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()
624 testCmd.colorMask = tcu::BVec4(true); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderRenderCase.cpp946 BVec4 value; in setupDefaultUniforms()
949 { "ub4_true", BVec4(true) }, { "ub4_false", BVec4(false) }, in setupDefaultUniforms()

12