/third_party/vk-gl-cts/modules/egl/ |
H A D | teglCreateContextExtTests.cpp | 1014 static bool colorBits (const eglu::CandidateConfig& c) in colorBits() function 1058 { "rgb565_no_depth_no_stencil", "RGB565 configs without depth or stencil", colorBits<5, 6, 5, 0>, noDepth, noStencil }, in init() 1059 { "rgb565_no_depth_stencil", "RGB565 configs with stencil and no depth", colorBits<5, 6, 5, 0>, noDepth, hasStencil }, in init() 1060 { "rgb565_depth_no_stencil", "RGB565 configs with depth and no stencil", colorBits<5, 6, 5, 0>, hasDepth, noStencil }, in init() 1061 { "rgb565_depth_stencil", "RGB565 configs with depth and stencil", colorBits<5, 6, 5, 0>, hasDepth, hasStencil }, in init() 1063 { "rgb888_no_depth_no_stencil", "RGB888 configs without depth or stencil", colorBits<8, 8, 8, 0>, noDepth, noStencil }, in init() 1064 { "rgb888_no_depth_stencil", "RGB888 configs with stencil and no depth", colorBits<8, 8, 8, 0>, noDepth, hasStencil }, in init() 1065 { "rgb888_depth_no_stencil", "RGB888 configs with depth and no stencil", colorBits<8, 8, 8, 0>, hasDepth, noStencil }, in init() 1066 { "rgb888_depth_stencil", "RGB888 configs with depth and stencil", colorBits<8, 8, 8, 0>, hasDepth, hasStencil }, in init() 1068 { "rgba4444_no_depth_no_stencil", "RGBA4444 configs without depth or stencil", colorBits< in init() [all...] |
H A D | teglSimpleConfigCase.cpp | 119 static bool colorBits (const eglu::CandidateConfig& c) in colorBits() function 164 { "rgb565", colorBits<5, 6, 5, 0> }, in getDefaultFilterLists() 165 { "rgb888", colorBits<8, 8, 8, 0> }, in getDefaultFilterLists() 166 { "rgba4444", colorBits<4, 4, 4, 4> }, in getDefaultFilterLists() 167 { "rgba5551", colorBits<5, 5, 5, 1> }, in getDefaultFilterLists() 168 { "rgba8888", colorBits<8, 8, 8, 8> } in getDefaultFilterLists()
|
H A D | teglRenderTests.cpp | 338 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits) in getColorFormat() argument 342 DE_ASSERT(de::inBounds(colorBits.redBits, 0, 0xff) && in getColorFormat() 343 de::inBounds(colorBits.greenBits, 0, 0xff) && in getColorFormat() 344 de::inBounds(colorBits.blueBits, 0, 0xff) && in getColorFormat() 345 de::inBounds(colorBits.alphaBits, 0, 0xff)); in getColorFormat() 350 switch (PACK_FMT(colorBits.redBits, colorBits.greenBits, colorBits.blueBits, colorBits.alphaBits)) in getColorFormat() 381 float getColorThreshold (const tcu::PixelFormat& colorBits) in getColorThreshold() argument 419 renderReference(const tcu::PixelBufferAccess& dst, const vector<DrawPrimitiveOp>& drawOps, const tcu::PixelFormat& colorBits, const int depthBits, const int stencilBits, const int numSamples, const int subpixelBits) renderReference() argument [all...] |
H A D | teglRenderCase.cpp | 378 static bool colorBits (const eglu::CandidateConfig& c) in colorBits() function 424 { "rgb565", colorBits<5, 6, 5, 0> }, in getDefaultRenderFilterLists() 425 { "rgb888", colorBits<8, 8, 8, 0> }, in getDefaultRenderFilterLists() 426 { "rgba4444", colorBits<4, 4, 4, 4> }, in getDefaultRenderFilterLists() 427 { "rgba5551", colorBits<5, 5, 5, 1> }, in getDefaultRenderFilterLists() 428 { "rgba8888", colorBits<8, 8, 8, 8> }, in getDefaultRenderFilterLists()
|
/third_party/skia/tools/ |
H A D | blob_cache_sim.cpp | 39 uint32_t colorBits = in main() local 48 uint64_t blobKey = blobID << 32u | posBits | colorBits; in main()
|
/third_party/vk-gl-cts/framework/egl/ |
H A D | egluConfigFilter.hpp | 64 tcu::RGBA colorBits (void) const { return tcu::RGBA(redSize(), greenSize(), blueSize(), alphaSize()); } in colorBits() function in eglu::CandidateConfig
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
H A D | vktRasterizationTests.cpp | 1096 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1100 args.redBits = colorBits[0]; in compareAndVerify() 1101 args.greenBits = colorBits[1]; in compareAndVerify() 1102 args.blueBits = colorBits[2]; in compareAndVerify() 1478 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1483 args.redBits = colorBits[0]; in compareAndVerify() 1484 args.greenBits = colorBits[1]; in compareAndVerify() 1485 args.blueBits = colorBits[2]; in compareAndVerify() 1762 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1766 args.redBits = colorBits[ in compareAndVerify() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/ |
H A D | vktRasterizationTests.cpp | 1093 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1097 args.redBits = colorBits[0]; in compareAndVerify() 1098 args.greenBits = colorBits[1]; in compareAndVerify() 1099 args.blueBits = colorBits[2]; in compareAndVerify() 1475 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1480 args.redBits = colorBits[0]; in compareAndVerify() 1481 args.greenBits = colorBits[1]; in compareAndVerify() 1482 args.blueBits = colorBits[2]; in compareAndVerify() 1759 tcu::IVec4 colorBits = tcu::getTextureFormatBitDepth(getTextureFormat()); in compareAndVerify() local 1763 args.redBits = colorBits[ in compareAndVerify() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureFilteringTests.cpp | 360 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 366 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 603 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 609 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 829 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 835 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 1038 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 1044 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fTextureFilteringTests.cpp | 322 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 328 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 637 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 643 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale; in iterate() 905 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 911 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 1149 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 1155 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
H A D | es3fTextureWrapTests.cpp | 350 const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 : 2), tcu::IVec4(0)); in iterate() local 356 lookupPrecision.colorThreshold = tcu::computeColorBitsThreshold(getBitsVec(pixelFormat), colorBits) / refParams.colorScale; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureFilteringTests.cpp | 359 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 365 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 602 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 608 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 828 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 834 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 1037 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 1043 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureFilteringTests.cpp | 301 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 307 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 587 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 593 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale; in iterate()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureFilteringTests.cpp | 395 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise in iterate() local 401 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
H A D | es31fTextureBorderClampTests.cpp | 933 const tcu::IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IVec4(colorErrorBits), tcu::IVec4(0)); 936 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorScale; 2214 const tcu::IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IVec4(colorErrorBits), tcu::IVec4(0)); 2224 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorScale;
|
H A D | es31fTextureGatherTests.cpp | 1505 const IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - 1, tcu::IVec4(0)); in verify() local 1536 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits); in verify()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | BC_Decoder.cpp | 1510 auto const colorBits = mode.CB + mode.SPB + mode.EPB; in decode() local 1516 subset[0].rgb = subset[0].rgb << (8 - colorBits); in decode() 1517 subset[1].rgb = subset[1].rgb << (8 - colorBits); in decode() 1518 subset[0].rgb = subset[0].rgb | (subset[0].rgb >> colorBits); in decode() 1519 subset[1].rgb = subset[1].rgb | (subset[1].rgb >> colorBits); in decode()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
H A D | es2cTexture3DTests.cpp | 199 const tcu::IVec4 colorBits = max(tcu::IVec4(de::min(pixelFormat.redBits, refChannelBitDepth[0]), in verifyTestResult() local 206 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in verifyTestResult()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrReferenceContext.hpp | 593 ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits, int stencilBits, int width, int height, int samples = 1);
|
H A D | sglrReferenceContext.cpp | 306 ReferenceContextBuffers::ReferenceContextBuffers (const tcu::PixelFormat& colorBits, int depthBits, int stencilBits, int width, int height, int samples) in ReferenceContextBuffers() argument 308 m_colorbuffer.setStorage(toTextureFormat(colorBits), samples, width, height); in ReferenceContextBuffers()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureGatherTests.cpp | 1456 const IVec4 colorBits = tcu::max(TextureTestUtil::getBitsVec(pixelFormat) - 1, tcu::IVec4(0)); in verify() local 1488 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits); in verify()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureGatherTests.cpp | 1468 const IVec4 colorBits = tcu::max(TextureTestUtil::getBitsVec(pixelFormat) - 1, tcu::IVec4(0)); in verify() local 1500 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits); in verify()
|