Home
last modified time | relevance | path

Searched refs:formatBitDepths (Results 1 - 5 of 5) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fReadPixelsTests.cpp217 const tcu::IVec4 formatBitDepths = tcu::getTextureFormatBitDepth(format); in iterate() local
218 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); in iterate()
219 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); in iterate()
220 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); in iterate()
221 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); in iterate()
240 const tcu::IVec4 formatBitDepths = tcu::getTextureFormatBitDepth(format); in iterate() local
241 const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); in iterate()
242 const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); in iterate()
243 const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); in iterate()
244 const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths in iterate()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fReadPixelsTests.cpp362 const tcu::IVec4 formatBitDepths = tcu::getTextureFormatBitDepth(format); in iterate() local
363 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); in iterate()
364 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); in iterate()
365 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); in iterate()
366 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); in iterate()
385 const tcu::IVec4 formatBitDepths = tcu::getTextureFormatBitDepth(format); in iterate() local
386 const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); in iterate()
387 const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); in iterate()
388 const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); in iterate()
389 const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths in iterate()
[all...]
H A Des3fPixelBufferObjectTests.cpp569 const tcu::IVec4 formatBitDepths = tcu::getTextureFormatBitDepth(readFormat); in iterate() local
570 const float redThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); in iterate()
571 const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); in iterate()
572 const float blueThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); in iterate()
573 const float alphaThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageLoadStoreUtil.cpp117 const tcu::IVec4 formatBitDepths = tcu::getTextureFormatBitDepth(format); in isRepresentableIntegerValue() local
126 if (deFloorToInt32(log2((double)value[compNdx]) + 1) > formatBitDepths[compNdx]) in isRepresentableIntegerValue()
137 if ((deFloorToInt32(log2((double)deAbs64(value[compNdx])) + 1) + 1) > formatBitDepths[compNdx]) in isRepresentableIntegerValue()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageLoadStoreUtil.cpp117 const tcu::IVec4 formatBitDepths = tcu::getTextureFormatBitDepth(format); in isRepresentableIntegerValue() local
126 if (deFloorToInt32(log2((double)value[compNdx]) + 1) > formatBitDepths[compNdx]) in isRepresentableIntegerValue()
137 if ((deFloorToInt32(log2((double)deAbs64(value[compNdx])) + 1) + 1) > formatBitDepths[compNdx]) in isRepresentableIntegerValue()

Completed in 4 milliseconds