Home
last modified time | relevance | path

Searched refs:colorNdx (Results 1 – 12 of 12) sorted by relevance

/third_party/vk-gl-cts/modules/egl/
DteglNativeColorMappingTests.cpp338 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++) in testNativeWindow() local
341 render(gl, program, colors[colorNdx]); in testNativeWindow()
343 clear(gl, colors[colorNdx]); in testNativeWindow()
351 if (!validate(log, egl, display, config, result, colors[colorNdx])) in testNativeWindow()
382 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++) in testNativePixmap() local
385 render(gl, program, colors[colorNdx]); in testNativePixmap()
387 clear(gl, colors[colorNdx]); in testNativePixmap()
392 if (!validate(log, egl, display, config, result, colors[colorNdx])) in testNativePixmap()
422 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++) in testNativePixmapCopy() local
425 render(gl, program, colors[colorNdx]); in testNativePixmapCopy()
[all …]
DteglRenderCase.cpp442 for (int colorNdx = 0; colorNdx < DE_LENGTH_OF_ARRAY(s_colorRules); colorNdx++) in getDefaultRenderFilterLists() local
446 const string name = string(s_colorRules[colorNdx].name) + "_" + s_surfaceRules[surfaceNdx].name; in getDefaultRenderFilterLists()
450 << s_colorRules[colorNdx].filter in getDefaultRenderFilterLists()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
DvktVideoDecodeTests.cpp647 const uint32_t colorNdx = uint32_t(frameNumber) / barCount; in verifyImage() local
651 const tcu::UVec4 refColorV = tcu::UVec4(refColorsV[colorNdx], 0, 0, 0); in verifyImage()
652 const tcu::UVec4 refColorY = tcu::UVec4(refColorsY[colorNdx], 0, 0, 0); in verifyImage()
653 const tcu::UVec4 refColorU = tcu::UVec4(refColorsU[colorNdx], 0, 0, 0); in verifyImage()
1031 const uint32_t colorNdx = uint32_t(frameNumber) / barCount; in verifyImage() local
1038 …::UVec4 refColorV = tcu::UVec4(firstClip ? refColorsV1[colorNdx] : refColorsV2[colorNdx], 0, … in verifyImage()
1039 …::UVec4 refColorY = tcu::UVec4(firstClip ? refColorsY1[colorNdx] : refColorsY2[colorNdx], 0, … in verifyImage()
1040 …::UVec4 refColorU = tcu::UVec4(firstClip ? refColorsU1[colorNdx] : refColorsU2[colorNdx], 0, … in verifyImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
DvktVideoDecodeTests.cpp647 const uint32_t colorNdx = uint32_t(frameNumber) / barCount; in verifyImage() local
651 const tcu::UVec4 refColorV = tcu::UVec4(refColorsV[colorNdx], 0, 0, 0); in verifyImage()
652 const tcu::UVec4 refColorY = tcu::UVec4(refColorsY[colorNdx], 0, 0, 0); in verifyImage()
653 const tcu::UVec4 refColorU = tcu::UVec4(refColorsU[colorNdx], 0, 0, 0); in verifyImage()
1031 const uint32_t colorNdx = uint32_t(frameNumber) / barCount; in verifyImage() local
1038 …::UVec4 refColorV = tcu::UVec4(firstClip ? refColorsV1[colorNdx] : refColorsV2[colorNdx], 0, … in verifyImage()
1039 …::UVec4 refColorY = tcu::UVec4(firstClip ? refColorsY1[colorNdx] : refColorsY2[colorNdx], 0, … in verifyImage()
1040 …::UVec4 refColorU = tcu::UVec4(firstClip ? refColorsU1[colorNdx] : refColorsU2[colorNdx], 0, … in verifyImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp307 …const tcu::Vec4 getQuarterRefColor (const deUint32 quarterNdx, const int colorNdx, const in…
1329 …rTestInstance::getQuarterRefColor (const deUint32 quarterNdx, const int colorNdx, const int layerN… in getQuarterRefColor() argument
1336 return m_vertexColor[colorNdx]; in getQuarterRefColor()
1339 return m_vertexColor[m_vertexIndices[colorNdx]]; in getQuarterRefColor()
1345 …return m_vertexColor[colorNdx / 4] + tcu::Vec4(0.0, static_cast<float>(layerNdx) * 0.10f, static_c… in getQuarterRefColor()
1348 …return m_vertexColor[m_vertexIndices[colorNdx]] + tcu::Vec4(0.0, static_cast<float>(layerNdx) * 0.… in getQuarterRefColor()
1360 return m_vertexColor[colorNdx] + tcu::Vec4(0.0, static_cast<float>(layerNdx) * 0.10f, 0.0, 0.0); in getQuarterRefColor()
1379 return m_vertexColor[colorNdx]; in getQuarterRefColor()
1548 int colorNdx = 0; in imageData() local
1590 const tcu::Vec4 color = getQuarterRefColor(0u, colorNdx, layerNdx, true, subpassNdx); in imageData()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/
DvktMultiViewRenderTests.cpp307 …const tcu::Vec4 getQuarterRefColor (const deUint32 quarterNdx, const int colorNdx, const in…
1329 …rTestInstance::getQuarterRefColor (const deUint32 quarterNdx, const int colorNdx, const int layerN… in getQuarterRefColor() argument
1336 return m_vertexColor[colorNdx]; in getQuarterRefColor()
1339 return m_vertexColor[m_vertexIndices[colorNdx]]; in getQuarterRefColor()
1345 …return m_vertexColor[colorNdx / 4] + tcu::Vec4(0.0, static_cast<float>(layerNdx) * 0.10f, static_c… in getQuarterRefColor()
1348 …return m_vertexColor[m_vertexIndices[colorNdx]] + tcu::Vec4(0.0, static_cast<float>(layerNdx) * 0.… in getQuarterRefColor()
1360 return m_vertexColor[colorNdx] + tcu::Vec4(0.0, static_cast<float>(layerNdx) * 0.10f, 0.0, 0.0); in getQuarterRefColor()
1379 return m_vertexColor[colorNdx]; in getQuarterRefColor()
1548 int colorNdx = 0; in imageData() local
1590 const tcu::Vec4 color = getQuarterRefColor(0u, colorNdx, layerNdx, true, subpassNdx); in imageData()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolStatisticsTests.cpp1479 int colorNdx = 0; in checkImage() local
1485 referenceFrame.getLevel(0).setPixel(m_data[colorNdx].color, x, y); in checkImage()
1487 colorNdx += 4; in checkImage()
1490 referenceFrame.getLevel(0).setPixel(m_data[colorNdx].color, x, y); in checkImage()
1492 colorNdx += 4; in checkImage()
1495 referenceFrame.getLevel(0).setPixel(m_data[colorNdx].color, x, y); in checkImage()
1497 colorNdx += 4; in checkImage()
1500 referenceFrame.getLevel(0).setPixel(m_data[colorNdx].color, x, y); in checkImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/query_pool/
DvktQueryPoolStatisticsTests.cpp1479 int colorNdx = 0; in checkImage() local
1485 referenceFrame.getLevel(0).setPixel(m_data[colorNdx].color, x, y); in checkImage()
1487 colorNdx += 4; in checkImage()
1490 referenceFrame.getLevel(0).setPixel(m_data[colorNdx].color, x, y); in checkImage()
1492 colorNdx += 4; in checkImage()
1495 referenceFrame.getLevel(0).setPixel(m_data[colorNdx].color, x, y); in checkImage()
1497 colorNdx += 4; in checkImage()
1500 referenceFrame.getLevel(0).setPixel(m_data[colorNdx].color, x, y); in checkImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp1026 const deUint32 colorNdx = (offset + size - numComponents); in setReferenceColor() local
1029 expectedColor[componentNdx] += m_referenceData[colorNdx + componentNdx]; in setReferenceColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp1026 const deUint32 colorNdx = (offset + size - numComponents); in setReferenceColor() local
1029 expectedColor[componentNdx] += m_referenceData[colorNdx + componentNdx]; in setReferenceColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp919 for (size_t colorNdx = 0; colorNdx < colorAttachments.size(); colorNdx++) in logRenderPassInfo() local
921 …on colorAttachmentSection (log, "Color" + de::toString(colorNdx), "Color " + de::toString(colorNdx in logRenderPassInfo()
922 const AttachmentReference& colorAttachment = colorAttachments[colorNdx]; in logRenderPassInfo()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassTests.cpp919 for (size_t colorNdx = 0; colorNdx < colorAttachments.size(); colorNdx++) in logRenderPassInfo() local
921 …on colorAttachmentSection (log, "Color" + de::toString(colorNdx), "Color " + de::toString(colorNdx in logRenderPassInfo()
922 const AttachmentReference& colorAttachment = colorAttachments[colorNdx]; in logRenderPassInfo()