/external/deqp/modules/gles3/functional/ |
D | es3fInternalFormatQueryTests.cpp | 58 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()
|
D | es3fFboTestCase.cpp | 340 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()
|
D | es3fFboMultisampleTests.cpp | 392 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/ |
D | VkPhysicalDevice.cpp | 136 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/ |
D | es31fFboTestCase.cpp | 351 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()
|
D | es31fShaderTextureSizeTests.cpp | 525 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()
|
D | es31fTextureMultisampleTests.cpp | 2060 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/ |
D | vktSparseResourcesImageBlockShapes.cpp | 168 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/ |
D | vktRenderPassDepthStencilResolveTests.cpp | 302 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()
|
D | vktRenderPassSampleReadTests.cpp | 169 || ((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()
|
D | vktRenderPassMultisampleResolveTests.cpp | 260 || ((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()
|
D | vktRenderPassMultisampleTests.cpp | 247 || ((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/ |
D | anv_formats.c | 703 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/ |
D | radv_formats.c | 1051 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/ |
D | vktApiFeatureInfo.cpp | 2499 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/ |
D | vktPipelineMultisampleBase.cpp | 152 if (!(imageFormatProps.sampleCounts & imageInfo.samples)) in validateImageInfo()
|
D | vktPipelineMultisampleImageTests.cpp | 517 if ((imageFormatProperties.sampleCounts & sampleCount) != sampleCount) in checkImageFormatRequirements()
|
/external/skqp/src/gpu/vk/ |
D | GrVkCaps.cpp | 638 VkSampleCountFlags flags = properties.sampleCounts; in initSampleCounts()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMultisampleLoadStoreTests.cpp | 197 if ((imageFormatProperties.sampleCounts & caseDef.numSamples) != caseDef.numSamples) in checkRequirements()
|
/external/skia/src/gpu/vk/ |
D | GrVkCaps.cpp | 699 VkSampleCountFlags flags = properties.sampleCounts; in initSampleCounts()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryRequirementsTests.cpp | 1033 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isImageSupported() 1621 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isMultiplaneImageSupported()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderBuiltinVarTests.cpp | 311 if ((imageFormatProperties.sampleCounts & m_samples) == 0) in BuiltinFragDepthCaseInstance() 1028 if ((imageFormatProperties.sampleCounts & m_sampleCount) == 0) in BuiltinFragCoordMsaaCaseInstance()
|
D | vktShaderRender.cpp | 1811 if ((properties.sampleCounts & m_sampleCount) != m_sampleCount) in render()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkNullDriver.cpp | 1035 pImageFormatProperties->sampleCounts = VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_4_BIT; in getPhysicalDeviceImageFormatProperties()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureTestUtil.cpp | 501 if ((properties.sampleCounts & m_sampleCount) != m_sampleCount) in TextureRenderer()
|