Home
last modified time | relevance | path

Searched refs:sampleCounts (Results 1 – 25 of 40) sorted by relevance

12

/external/deqp/modules/gles3/functional/
Des3fInternalFormatQueryTests.cpp58 StateQueryMemoryWriteGuard<GLint> sampleCounts; in test() local
59 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCounts); in test()
62 if (!sampleCounts.verifyValidity(m_testCtx)) in test()
65 …m_testCtx.getLog() << TestLog::Message << "// sample counts is " << sampleCounts << TestLog::EndMe… in test()
67 if (sampleCounts == 0) in test()
71 samples.resize(sampleCounts, -1); in test()
72 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_SAMPLES, sampleCounts, &samples[0]); in test()
138 StateQueryMemoryWriteGuard<GLint> sampleCounts; in test() local
139 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCounts); in test()
142 if (!sampleCounts.verifyValidity(m_testCtx)) in test()
Des3fFboTestCase.cpp340 std::vector<int> sampleCounts; in querySampleCounts() local
346 sampleCounts.resize(numSampleCounts); in querySampleCounts()
347 …formativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]); in querySampleCounts()
352 return sampleCounts; in querySampleCounts()
Des3fFboMultisampleTests.cpp392 static const int sampleCounts[] = { 2, 4, 8 }; in init() local
394 for (int sampleCntNdx = 0; sampleCntNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCntNdx++) in init()
396 int samples = sampleCounts[sampleCntNdx]; in init()
/external/swiftshader/src/Vulkan/
DVkPhysicalDevice.cpp136 VkSampleCountFlags sampleCounts = getSampleCounts(); in getLimits() local
220 sampleCounts, // framebufferColorSampleCounts in getLimits()
221 sampleCounts, // framebufferDepthSampleCounts in getLimits()
222 sampleCounts, // framebufferStencilSampleCounts in getLimits()
223 sampleCounts, // framebufferNoAttachmentsSampleCounts in getLimits()
225 sampleCounts, // sampledImageColorSampleCounts in getLimits()
227 sampleCounts, // sampledImageDepthSampleCounts in getLimits()
228 sampleCounts, // sampledImageStencilSampleCounts in getLimits()
638 pImageFormatProperties->sampleCounts = getSampleCounts(); in getImageFormatProperties()
/external/deqp/modules/gles31/functional/
Des31fFboTestCase.cpp351 std::vector<int> sampleCounts; in querySampleCounts() local
357 sampleCounts.resize(numSampleCounts); in querySampleCounts()
358 …formativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]); in querySampleCounts()
363 return sampleCounts; in querySampleCounts()
Des31fShaderTextureSizeTests.cpp525 static const int sampleCounts[] = { 1, 4 }; in init() local
529 for (int sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleCountNdx) in init()
531 …const std::string name = std::string() + "samples_" + de::toString(sampleCounts[sampleCountNdx]) +… in init()
532 …const std::string desc = std::string() + "samples count = " + de::toString(sampleCounts[sampleCoun… in init()
534 …ntext, name.c_str(), desc.c_str(), samplerTypes[samplerTypeNdx].type, sampleCounts[sampleCountNdx]… in init()
Des31fTextureMultisampleTests.cpp2060 static const int sampleCounts[] = { 1, 2, 3, 4, 8, 10, 12, 13, 16, 64 }; in init() local
2079 for (int sampleNdx = 0; sampleNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleNdx) in init()
2081 …tcu::TestCaseGroup(m_testCtx, (std::string("samples_") + de::toString(sampleCounts[sampleNdx])).c_… in init()
2085 …sRasterizationTest(m_context, "sample_position", "test SAMPLE_POSITION", sampleCounts[sampleNdx])); in init()
2088 …t, "sample_mask_only", "Test with SampleMask only", sampleCounts[sampleNdx], Sam… in init()
2089 …_to_coverage", "Test with SampleMask and alpha to coverage", sampleCounts[sampleNdx], Sam… in init()
2090 …ple_coverage", "Test with SampleMask and sample coverage", sampleCounts[sampleNdx], Sam… in init()
2091 …age", "Test with SampleMask, sample coverage, and alpha to coverage", sampleCounts[sampleNdx], Sam… in init()
2094 …s", "Test with SampleMask, set higher bits than sample count", sampleCounts[sampleNdx], Sam… in init()
2098 …") + textureTypes[typeNdx].name).c_str(), textureTypes[typeNdx].name, sampleCounts[sampleNdx], tex… in init()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageBlockShapes.cpp168 if (!(formatProperties.sampleCounts & imageCreateInfo.samples)) in iterate()
451 static const deUint32 sampleCounts[] = { 1u, 2u, 4u, 8u, 16u }; in createImageBlockShapesTests() local
463 …for (deInt32 sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleCountN… in createImageBlockShapesTests()
466 const deUint32 sampleCount = sampleCounts[sampleCountNdx]; in createImageBlockShapesTests()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp302 if (imageFormatProperties.sampleCounts < sampleCount) in createImage()
323 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0) in createImage()
1103 const deUint32 sampleCounts[] = in initTests() local
1137 …for (size_t sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCountNdx+… in initTests()
1139 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests()
1266 …for (size_t sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCountNdx+… in initTests()
1268 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests()
DvktRenderPassSampleReadTests.cpp169 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0)) in createImage()
984 const deUint32 sampleCounts[] = { 2u, 4u, 8u, 16u, 32u }; in initTests() local
987 …for (deUint32 sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCountNd… in initTests()
989 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests()
DvktRenderPassMultisampleResolveTests.cpp260 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0) in createImage()
1683 const deUint32 sampleCounts[] = in initTests() local
1705 …for (size_t sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCountNdx+… in initTests()
1707 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests()
DvktRenderPassMultisampleTests.cpp247 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0)) in createImage()
2056 const deUint32 sampleCounts[] = in initTests() local
2068 …for (size_t sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCountNdx+… in initTests()
2070 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests()
/external/mesa3d/src/intel/vulkan/
Danv_formats.c703 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in anv_get_image_format_properties() local
722 sampleCounts = VK_SAMPLE_COUNT_1_BIT; in anv_get_image_format_properties()
760 sampleCounts = isl_device_get_sample_counts(&physical_device->isl_dev); in anv_get_image_format_properties()
811 .sampleCounts = sampleCounts, in anv_get_image_format_properties()
831 .sampleCounts = 0, in anv_get_image_format_properties()
/external/mesa3d/src/amd/vulkan/
Dradv_formats.c1051 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in radv_get_image_format_properties() local
1101 sampleCounts |= VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT; in radv_get_image_format_properties()
1132 .sampleCounts = sampleCounts, in radv_get_image_format_properties()
1146 .sampleCounts = 0, in radv_get_image_format_properties()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiFeatureInfo.cpp2499 VkSampleCountFlags sampleCounts = ~(VkSampleCountFlags)0; in getRequiredOptimalTilingSampleCounts() local
2504 sampleCounts &= deviceLimits.storageImageSampleCounts; in getRequiredOptimalTilingSampleCounts()
2509 sampleCounts &= deviceLimits.sampledImageDepthSampleCounts; in getRequiredOptimalTilingSampleCounts()
2512 sampleCounts &= deviceLimits.sampledImageStencilSampleCounts; in getRequiredOptimalTilingSampleCounts()
2517 sampleCounts &= deviceLimits.sampledImageColorSampleCounts; in getRequiredOptimalTilingSampleCounts()
2525 sampleCounts &= deviceLimits.sampledImageIntegerSampleCounts; in getRequiredOptimalTilingSampleCounts()
2527 sampleCounts &= deviceLimits.sampledImageColorSampleCounts; in getRequiredOptimalTilingSampleCounts()
2533 sampleCounts &= deviceLimits.framebufferColorSampleCounts; in getRequiredOptimalTilingSampleCounts()
2538 sampleCounts &= deviceLimits.framebufferDepthSampleCounts; in getRequiredOptimalTilingSampleCounts()
2541 sampleCounts &= deviceLimits.framebufferStencilSampleCounts; in getRequiredOptimalTilingSampleCounts()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBase.cpp152 if (!(imageFormatProps.sampleCounts & imageInfo.samples)) in validateImageInfo()
DvktPipelineMultisampleImageTests.cpp517 if ((imageFormatProperties.sampleCounts & sampleCount) != sampleCount) in checkImageFormatRequirements()
/external/skqp/src/gpu/vk/
DGrVkCaps.cpp638 VkSampleCountFlags flags = properties.sampleCounts; in initSampleCounts()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMultisampleLoadStoreTests.cpp197 if ((imageFormatProperties.sampleCounts & caseDef.numSamples) != caseDef.numSamples) in checkRequirements()
/external/skia/src/gpu/vk/
DGrVkCaps.cpp699 VkSampleCountFlags flags = properties.sampleCounts; in initSampleCounts()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1033 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isImageSupported()
1621 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isMultiplaneImageSupported()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp311 if ((imageFormatProperties.sampleCounts & m_samples) == 0) in BuiltinFragDepthCaseInstance()
1028 if ((imageFormatProperties.sampleCounts & m_sampleCount) == 0) in BuiltinFragCoordMsaaCaseInstance()
DvktShaderRender.cpp1811 if ((properties.sampleCounts & m_sampleCount) != m_sampleCount) in render()
/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp1035 pImageFormatProperties->sampleCounts = VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_4_BIT; in getPhysicalDeviceImageFormatProperties()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp501 if ((properties.sampleCounts & m_sampleCount) != m_sampleCount) in TextureRenderer()

12