Lines Matching defs:depth

271 	const VkImageSubresourceRange	colorImageSubresourceRange	= makeImageSubresourceRange(aspectFlags, 0u, 1u, 0u, extent.depth);
428 vector<deUint8> pixelAccessData (m_parameters.extent.width * m_parameters.extent.height * m_parameters.extent.depth * mapVkFormat(m_parameters.colorFormat).getPixelSize());
429 tcu::PixelBufferAccess dst (mapVkFormat(m_parameters.colorFormat), m_parameters.extent.width, m_parameters.extent.height, m_parameters.extent.depth, pixelAccessData.data());
448 m_parameters.extent.depth, //deUint32 layerCount;
472 m_parameters.extent.depth, //deUint32 layerCount;
507 m_parameters.extent.depth, //deUint32 layerCount;
568 m_parameters.extent.depth,
673 newParameters.extent.depth = multiviewProperties.maxMultiviewViewCount;
822 if (multiviewProperties.maxMultiviewViewCount <m_parameters.extent.depth)
1303 m_parameters.extent.depth, // deUint32 layerCount;
1317 m_parameters.extent.depth, // deUint32 arraySize;
1343 for (deUint32 layerNdx = 0u; layerNdx < m_parameters.extent.depth; layerNdx++)
1418 // depth ranges in views are <0;0.5>, <0;1> or <0.5;1> so
1538 MovePtr<tcu::Texture2DArray> referenceFrame = MovePtr<tcu::Texture2DArray>(new tcu::Texture2DArray(mapVkFormat(m_parameters.colorFormat), m_parameters.extent.width, m_parameters.extent.height, m_parameters.extent.depth));
1542 deMemset (referenceFrame->getLevel(0).getDataPtr(), 0, m_parameters.extent.width * m_parameters.extent.height * m_parameters.extent.depth* mapVkFormat(m_parameters.colorFormat).getPixelSize());
1556 for (deUint32 layerNdx = 0; layerNdx < m_parameters.extent.depth; ++layerNdx)
1760 vector<deUint8> pixelAccessData (m_parameters.extent.width * m_parameters.extent.height * m_parameters.extent.depth * mapVkFormat(m_parameters.colorFormat).getPixelSize());
1761 tcu::PixelBufferAccess dst (mapVkFormat(m_parameters.colorFormat), m_parameters.extent.width, m_parameters.extent.height, m_parameters.extent.depth, pixelAccessData.data());
1831 m_parameters.extent.depth, //deUint32 layerCount;
1857 const deUint32 bufferSize = m_parameters.extent.width * m_parameters.extent.height * m_parameters.extent.depth * tcu::getPixelSize(mapVkFormat(m_parameters.colorFormat));
1900 m_parameters.extent.depth, // deUint32 arraySize;
1912 m_parameters.extent.depth, // deUint32 layerCount;
2011 m_parameters.extent.depth,
2109 m_parameters.extent.depth,
2268 m_parameters.extent.depth,
2402 m_parameters.extent.depth,
2554 m_parameters.extent.depth,
2683 m_parameters.extent.depth,
2768 vector<deUint8> pixelAccessData (m_parameters.extent.width * m_parameters.extent.height * m_parameters.extent.depth * mapVkFormat(m_parameters.colorFormat).getPixelSize());
2769 tcu::PixelBufferAccess dst (mapVkFormat(m_parameters.colorFormat), m_parameters.extent.width, m_parameters.extent.height, m_parameters.extent.depth, pixelAccessData.data());
2818 m_parameters.extent.depth, // deUint32 layerCount;
2868 m_parameters.extent.depth,
2904 m_parameters.extent.depth, // deUint32 layerCount;
3238 m_parameters.extent.depth,
3423 vector<deUint8> pixelAccessData (m_parameters.extent.width * m_parameters.extent.height * m_parameters.extent.depth * mapVkFormat(m_parameters.colorFormat).getPixelSize());
3424 tcu::PixelBufferAccess dst (mapVkFormat(m_parameters.colorFormat), m_parameters.extent.width, m_parameters.extent.height, m_parameters.extent.depth, pixelAccessData.data());
3491 m_parameters.extent.depth,
3600 TCU_FAIL("Supported depth/stencil format not found, that violates specification");
3618 MovePtr<tcu::Texture2DArray> referenceFrame = MovePtr<tcu::Texture2DArray>(new tcu::Texture2DArray(mapVkFormat(m_parameters.colorFormat), m_parameters.extent.width, m_parameters.extent.height, m_parameters.extent.depth));
3623 deMemset(referenceFrame->getLevel(0).getDataPtr(), 0, m_parameters.extent.width * m_parameters.extent.height * m_parameters.extent.depth* mapVkFormat(m_parameters.colorFormat).getPixelSize());
3625 for (deUint32 layerNdx = 0; layerNdx < m_parameters.extent.depth; ++layerNdx)
3647 // quads with depth out of range should be cliiped
3727 m_parameters.extent.depth, // deUint32 layerCount;
3750 // Translate depth into color space
3757 const float depth = pixelBuffer.getPixDepth(x, y, z);
3758 const tcu::Vec4 color = tcu::Vec4(depth, 0.0f, 0.0f, 1.0f);
3836 vector<deUint8> pixelAccessData (m_parameters.extent.width * m_parameters.extent.height * m_parameters.extent.depth * mapVkFormat(m_parameters.colorFormat).getPixelSize());
3837 tcu::PixelBufferAccess dst (mapVkFormat(m_parameters.colorFormat), m_parameters.extent.width, m_parameters.extent.height, m_parameters.extent.depth, pixelAccessData.data());
3896 float depth (getQuarterRefColor(0u, 0u, 0u, true, 0u)[0]);
3899 appendVertex(tcu::Vec4(-1.0f,-0.5f, depth, 1.0f), color); // when testing TEST_TYPE_DEPTH_DIFFERENT_RANGES
3900 appendVertex(tcu::Vec4(-1.0f, 0.0f, depth, 1.0f), color); // this quad will have depth 1.2
3901 appendVertex(tcu::Vec4( 0.0f,-0.5f, depth, 1.0f), color); // and will be clipped in all views
3902 appendVertex(tcu::Vec4( 0.0f, 0.0f, depth, 1.0f), color);
3904 depth = getQuarterRefColor(0u, 0u, 0u, true, 1u)[0];
3905 appendVertex(tcu::Vec4(-1.0f, 0.0f, depth, 1.0f), color);
3906 appendVertex(tcu::Vec4(-1.0f, 0.5f, depth, 1.0f), color);
3907 appendVertex(tcu::Vec4( 0.0f, 0.0f, depth, 1.0f), color);
3908 appendVertex(tcu::Vec4( 0.0f, 0.5f, depth, 1.0f), color);
3910 depth = getQuarterRefColor(0u, 0u, 0u, true, 2u)[0];
3911 appendVertex(tcu::Vec4( 0.0f,-0.5f, depth, 1.0f), color);
3912 appendVertex(tcu::Vec4( 0.0f, 0.0f, depth, 1.0f), color);
3913 appendVertex(tcu::Vec4( 1.0f,-0.5f, depth, 1.0f), color);
3914 appendVertex(tcu::Vec4( 1.0f, 0.0f, depth, 1.0f), color);
3916 depth = getQuarterRefColor(0u, 0u, 0u, true, 3u)[0];
3917 appendVertex(tcu::Vec4( 0.0f, 0.0f, depth, 1.0f), color);
3918 appendVertex(tcu::Vec4( 0.0f, 0.5f, depth, 1.0f), color);
3919 appendVertex(tcu::Vec4( 1.0f, 0.0f, depth, 1.0f), color);
3920 appendVertex(tcu::Vec4( 1.0f, 0.5f, depth, 1.0f), color);
3923 depth = getQuarterRefColor(0u, 0u, 0u, true, 4u)[0];
3924 appendVertex(tcu::Vec4(-0.5f,-1.0f, depth, 1.0f), color);
3925 appendVertex(tcu::Vec4(-0.5f, 0.0f, depth, 1.0f), color);
3926 appendVertex(tcu::Vec4( 0.0f,-1.0f, depth, 1.0f), color);
3927 appendVertex(tcu::Vec4( 0.0f, 0.0f, depth, 1.0f), color);
3929 depth = getQuarterRefColor(0u, 0u, 0u, true, 5u)[0];
3930 appendVertex(tcu::Vec4(-0.5f, 0.0f, depth, 1.0f), color);
3931 appendVertex(tcu::Vec4(-0.5f, 1.0f, depth, 1.0f), color);
3932 appendVertex(tcu::Vec4( 0.0f, 0.0f, depth, 1.0f), color);
3933 appendVertex(tcu::Vec4( 0.0f, 1.0f, depth, 1.0f), color);
3935 depth = getQuarterRefColor(0u, 0u, 0u, true, 6u)[0];
3936 appendVertex(tcu::Vec4( 0.0f,-1.0f, depth, 1.0f), color);
3937 appendVertex(tcu::Vec4( 0.0f, 0.0f, depth, 1.0f), color);
3938 appendVertex(tcu::Vec4( 0.5f,-1.0f, depth, 1.0f), color);
3939 appendVertex(tcu::Vec4( 0.5f, 0.0f, depth, 1.0f), color);
3941 depth = getQuarterRefColor(0u, 0u, 0u, true, 7u)[0]; // when testing TEST_TYPE_DEPTH_DIFFERENT_RANGES
3942 appendVertex(tcu::Vec4( 0.0f, 0.0f, depth, 1.0f), color); // this quad will have depth -0.05
3943 appendVertex(tcu::Vec4( 0.0f, 1.0f, depth, 1.0f), color); // and will be clipped in all views
3944 appendVertex(tcu::Vec4( 0.5f, 0.0f, depth, 1.0f), color);
3945 appendVertex(tcu::Vec4( 0.5f, 1.0f, depth, 1.0f), color);
4053 m_parameters.extent.depth, // deUint32 layerCount;
4096 m_parameters.extent.depth, //deUint32 layerCount;
4125 m_parameters.extent.depth, // deUint32 layerCount;
4155 m_layerCount = m_parameters.extent.depth;
4781 "depth",