Home
last modified time | relevance | path

Searched refs:sampleCounts (Results 1 – 25 of 33) 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.cpp338 std::vector<int> sampleCounts; in querySampleCounts() local
344 sampleCounts.resize(numSampleCounts); in querySampleCounts()
345 …formativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]); in querySampleCounts()
350 return sampleCounts; in querySampleCounts()
Des3fFboMultisampleTests.cpp299 static const int sampleCounts[] = { 2, 4, 8 }; in init() local
301 for (int sampleCntNdx = 0; sampleCntNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCntNdx++) in init()
303 int samples = sampleCounts[sampleCntNdx]; in init()
/external/deqp/modules/gles31/functional/
Des31fFboTestCase.cpp345 std::vector<int> sampleCounts; in querySampleCounts() local
351 sampleCounts.resize(numSampleCounts); in querySampleCounts()
352 …formativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]); in querySampleCounts()
357 return sampleCounts; in querySampleCounts()
Des31fShaderTextureSizeTests.cpp509 static const int sampleCounts[] = { 1, 4 }; in init() local
513 for (int sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleCountNdx) in init()
515 …const std::string name = std::string() + "samples_" + de::toString(sampleCounts[sampleCountNdx]) +… in init()
516 …const std::string desc = std::string() + "samples count = " + de::toString(sampleCounts[sampleCoun… in init()
518 …ntext, name.c_str(), desc.c_str(), samplerTypes[samplerTypeNdx].type, sampleCounts[sampleCountNdx]… in init()
Des31fTextureMultisampleTests.cpp2039 static const int sampleCounts[] = { 1, 2, 3, 4, 8, 10, 12, 13, 16, 64 }; in init() local
2058 for (int sampleNdx = 0; sampleNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleNdx) in init()
2060 …tcu::TestCaseGroup(m_testCtx, (std::string("samples_") + de::toString(sampleCounts[sampleNdx])).c_… in init()
2064 …sRasterizationTest(m_context, "sample_position", "test SAMPLE_POSITION", sampleCounts[sampleNdx])); in init()
2067 …t, "sample_mask_only", "Test with SampleMask only", sampleCounts[sampleNdx], Sam… in init()
2068 …_to_coverage", "Test with SampleMask and alpha to coverage", sampleCounts[sampleNdx], Sam… in init()
2069 …ple_coverage", "Test with SampleMask and sample coverage", sampleCounts[sampleNdx], Sam… in init()
2070 …age", "Test with SampleMask, sample coverage, and alpha to coverage", sampleCounts[sampleNdx], Sam… in init()
2073 …s", "Test with SampleMask, set higher bits than sample count", sampleCounts[sampleNdx], Sam… in init()
2077 …") + textureTypes[typeNdx].name).c_str(), textureTypes[typeNdx].name, sampleCounts[sampleNdx], tex… in init()
/external/mesa3d/src/intel/vulkan/
Danv_formats.c468 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in anv_GetPhysicalDeviceImageFormatProperties() local
496 sampleCounts = VK_SAMPLE_COUNT_1_BIT; in anv_GetPhysicalDeviceImageFormatProperties()
534 sampleCounts = isl_device_get_sample_counts(&physical_device->isl_dev); in anv_GetPhysicalDeviceImageFormatProperties()
585 .sampleCounts = sampleCounts, in anv_GetPhysicalDeviceImageFormatProperties()
600 .sampleCounts = 0, in anv_GetPhysicalDeviceImageFormatProperties()
/external/mesa3d/src/amd/vulkan/
Dradv_formats.c972 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in radv_GetPhysicalDeviceImageFormatProperties() local
1019 sampleCounts |= VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT; in radv_GetPhysicalDeviceImageFormatProperties()
1050 .sampleCounts = sampleCounts, in radv_GetPhysicalDeviceImageFormatProperties()
1064 .sampleCounts = 0, in radv_GetPhysicalDeviceImageFormatProperties()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiFeatureInfo.cpp2133 VkSampleCountFlags sampleCounts = ~(VkSampleCountFlags)0; in getRequiredOptimalTilingSampleCounts() local
2138 sampleCounts &= deviceLimits.storageImageSampleCounts; in getRequiredOptimalTilingSampleCounts()
2143 sampleCounts &= deviceLimits.sampledImageDepthSampleCounts; in getRequiredOptimalTilingSampleCounts()
2146 sampleCounts &= deviceLimits.sampledImageStencilSampleCounts; in getRequiredOptimalTilingSampleCounts()
2154 sampleCounts &= deviceLimits.sampledImageIntegerSampleCounts; in getRequiredOptimalTilingSampleCounts()
2156 sampleCounts &= deviceLimits.sampledImageColorSampleCounts; in getRequiredOptimalTilingSampleCounts()
2161 sampleCounts &= deviceLimits.framebufferColorSampleCounts; in getRequiredOptimalTilingSampleCounts()
2166 sampleCounts &= deviceLimits.framebufferDepthSampleCounts; in getRequiredOptimalTilingSampleCounts()
2169 sampleCounts &= deviceLimits.framebufferStencilSampleCounts; in getRequiredOptimalTilingSampleCounts()
2174 if (sampleCounts == ~(VkSampleCountFlags)0) in getRequiredOptimalTilingSampleCounts()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp227 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0)) in createImage()
1696 const deUint32 sampleCounts[] = in initTests() local
1708 …for (size_t sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCountNdx+… in initTests()
1710 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests()
DvktRenderPassMultisampleTests.cpp242 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0)) in createImage()
2279 const deUint32 sampleCounts[] = in initTests() local
2291 …for (size_t sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCountNdx+… in initTests()
2293 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests()
/external/skia/src/gpu/vk/
DGrVkCaps.cpp360 VkSampleCountFlags flags = properties.sampleCounts; in initSampleCounts()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMultisampleLoadStoreTests.cpp195 if ((imageFormatProperties.sampleCounts & caseDef.numSamples) != caseDef.numSamples) in checkRequirements()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1024 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isImageSupported()
1613 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isMultiplaneImageSupported()
/external/vulkan-validation-layers/layers/
Dimage.cpp370 if ((pCreateInfo->samples & ImageFormatProperties.sampleCounts) == 0) { in CreateImage()
374 … string_VkSampleCountFlagBits(pCreateInfo->samples), ImageFormatProperties.sampleCounts); in CreateImage()
/external/vulkan-validation-layers/libs/vkjson/
Dvkjson.cc71 visitor->Visit("sampleCounts", &properties->sampleCounts) && in Iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp310 if ((imageFormatProperties.sampleCounts & m_samples) == 0) in BuiltinFragDepthCaseInstance()
1258 if ((imageFormatProperties.sampleCounts & m_sampleCount) == 0) in BuiltinFragCoordMsaaCaseInstance()
DvktShaderRender.cpp2305 if ((properties.sampleCounts & m_sampleCount) != m_sampleCount) in render()
/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp871 pImageFormatProperties->sampleCounts = VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_4_BIT; in getPhysicalDeviceImageFormatProperties()
DvkStructTypes.inl115 VkSampleCountFlags sampleCounts; member
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleInterpolationTests.cpp233 if (!(imageFormatProps.sampleCounts & imageInfo.samples)) in validateImageInfo()
DvktPipelineMultisampleImageTests.cpp523 if ((imageFormatProperties.sampleCounts & sampleCount) != sampleCount) in checkImageFormatRequirements()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp450 if ((properties.sampleCounts & m_sampleCount) != m_sampleCount) in TextureRenderer()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp238 if ((properties.sampleCounts & m_sampleCount) != m_sampleCount) in BaseRenderingTestInstance()
/external/vulkan-validation-layers/include/vulkan/
Dvulkan.h1281 VkSampleCountFlags sampleCounts; member

12