/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/angle/src/tests/gl_tests/ |
D | RenderbufferMultisampleTest.cpp | 96 std::vector<GLint> sampleCounts; in TEST_P() local 101 sampleCounts.resize(numSampleCounts); in TEST_P() 104 sampleCounts.data()); in TEST_P() 111 if (sampleCounts[i - 1] > (sampleCounts[i] + 1)) in TEST_P() 113 glRenderbufferStorageMultisample(GL_RENDERBUFFER, sampleCounts[i] + 1, GL_RGBA8, 64, in TEST_P() 120 EXPECT_EQ(renderbufferSamples, sampleCounts[i - 1]); in TEST_P()
|
D | D3D11FormatTablesTest.cpp | 126 if (!textureInfo.sampleCounts.empty()) in TEST_P() 136 EXPECT_TRUE(!textureInfo.sampleCounts.empty()); in TEST_P() 144 EXPECT_EQ(expectedCount, textureInfo.sampleCounts.count(sampleCount)) in TEST_P() 150 EXPECT_TRUE(textureInfo.sampleCounts.empty()) in TEST_P()
|
/external/swiftshader/src/Vulkan/ |
D | VkPhysicalDevice.cpp | 423 VkSampleCountFlags sampleCounts = getSampleCounts(); in getLimits() local 506 sampleCounts, // framebufferColorSampleCounts in getLimits() 507 sampleCounts, // framebufferDepthSampleCounts in getLimits() 508 sampleCounts, // framebufferStencilSampleCounts in getLimits() 509 sampleCounts, // framebufferNoAttachmentsSampleCounts in getLimits() 511 sampleCounts, // sampledImageColorSampleCounts in getLimits() 512 sampleCounts, // sampledImageIntegerSampleCounts in getLimits() 513 sampleCounts, // sampledImageDepthSampleCounts in getLimits() 514 sampleCounts, // sampledImageStencilSampleCounts in getLimits() 515 sampleCounts, // storageImageSampleCounts in getLimits() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboTestCase.cpp | 360 std::vector<int> sampleCounts; in querySampleCounts() local 366 sampleCounts.resize(numSampleCounts); in querySampleCounts() 367 …formativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]); in querySampleCounts() 372 return sampleCounts; in querySampleCounts()
|
D | es31fShaderTextureSizeTests.cpp | 544 static const int sampleCounts[] = { 1, 4 }; in init() local 548 for (int sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleCountNdx) in init() 550 …const std::string name = std::string() + "samples_" + de::toString(sampleCounts[sampleCountNdx]) +… in init() 551 …const std::string desc = std::string() + "samples count = " + de::toString(sampleCounts[sampleCoun… in init() 553 …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/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_formats.c | 269 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in lvp_get_image_format_properties() local 305 sampleCounts |= VK_SAMPLE_COUNT_4_BIT; in lvp_get_image_format_properties() 363 .sampleCounts = sampleCounts, in lvp_get_image_format_properties() 376 .sampleCounts = 0, in lvp_get_image_format_properties()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageBlockShapes.cpp | 194 if (!(imageFormatProperties.sampleCounts & imageCreateInfo.samples)) in iterate() 461 static const deUint32 sampleCounts[] = { 1u, 2u, 4u, 8u, 16u }; in createImageBlockShapesTests() local 474 …for (deInt32 sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleCountN… in createImageBlockShapesTests() 486 const deUint32 sampleCount = sampleCounts[sampleCountNdx]; in createImageBlockShapesTests()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_formats.c | 831 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in anv_get_image_format_properties() local 851 sampleCounts = VK_SAMPLE_COUNT_1_BIT; in anv_get_image_format_properties() 889 sampleCounts = isl_device_get_sample_counts(&physical_device->isl_dev); in anv_get_image_format_properties() 971 assert(sampleCounts == VK_SAMPLE_COUNT_1_BIT); in anv_get_image_format_properties() 1012 .sampleCounts = sampleCounts, in anv_get_image_format_properties() 1032 .sampleCounts = 0, in anv_get_image_format_properties()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_formats.c | 524 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in tu_get_image_format_properties() local 609 sampleCounts |= VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT; in tu_get_image_format_properties() 645 .sampleCounts = sampleCounts, in tu_get_image_format_properties() 662 .sampleCounts = 0, in tu_get_image_format_properties()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_caps_utils.cpp | 886 const uint32_t sampleCounts = in ensureCapsInitialized() local 890 mNativeCaps.maxSamples = LimitToInt(vk_gl::GetMaxSampleCount(sampleCounts)); in ensureCapsInitialized() 1203 gl::SupportedSampleSet sampleCounts; in GenerateConfigs() local 1221 std::inserter(sampleCounts, sampleCounts.begin())); in GenerateConfigs() 1239 const gl::SupportedSampleSet *configSampleCounts = &sampleCounts; in GenerateConfigs()
|
D | vk_format_utils.cpp | 54 &outTextureCaps->sampleCounts); in FillTextureFormatCaps() 63 &outTextureCaps->sampleCounts); in FillTextureFormatCaps()
|
D | vk_utils.cpp | 1450 void AddSampleCounts(VkSampleCountFlags sampleCounts, gl::SupportedSampleSet *setOut) in AddSampleCounts() argument 1454 for (size_t bit : angle::BitSet32<32>(sampleCounts & kSupportedSampleCounts)) in AddSampleCounts() 1460 GLuint GetMaxSampleCount(VkSampleCountFlags sampleCounts) in GetMaxSampleCount() argument 1463 for (size_t bit : angle::BitSet32<32>(sampleCounts & kSupportedSampleCounts)) in GetMaxSampleCount()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_formats.c | 1148 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in radv_get_image_format_properties() local 1211 sampleCounts |= VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT | VK_SAMPLE_COUNT_8_BIT; in radv_get_image_format_properties() 1293 .sampleCounts = sampleCounts, in radv_get_image_format_properties() 1307 .sampleCounts = 0, in radv_get_image_format_properties() 1382 format_properties->sampleCounts &= VK_SAMPLE_COUNT_1_BIT; in get_external_image_format_properties()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassDepthStencilResolveTests.cpp | 348 if (imageFormatProperties.sampleCounts < sampleCount) in createImage() 369 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0) in createImage() 1357 const deUint32 sampleCounts[] = in initTests() local 1400 …for (size_t sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCountNdx+… in initTests() 1402 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests() 1574 …for (size_t sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCountNdx+… in initTests() 1576 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests()
|
D | vktRenderPassSampleReadTests.cpp | 169 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0)) in createImage() 985 const deUint32 sampleCounts[] = { 2u, 4u, 8u, 16u, 32u }; in initTests() local 988 …for (deUint32 sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); sampleCountNd… in initTests() 990 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_format_utils.mm | 86 constexpr uint32_t sampleCounts[] = {2, 4, 8}; 87 for (auto sampleCount : sampleCounts) 91 textureCaps.sampleCounts.insert(sampleCount);
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Renderer11.cpp | 1100 gl::SupportedSampleSet sampleCounts; in generateSampleSetForEGLConfig() local 1104 std::set_intersection(colorBufferFormatCaps.sampleCounts.begin(), in generateSampleSetForEGLConfig() 1105 colorBufferFormatCaps.sampleCounts.end(), in generateSampleSetForEGLConfig() 1106 depthStencilBufferFormatCaps.sampleCounts.begin(), in generateSampleSetForEGLConfig() 1107 depthStencilBufferFormatCaps.sampleCounts.end(), in generateSampleSetForEGLConfig() 1108 std::inserter(sampleCounts, sampleCounts.begin())); in generateSampleSetForEGLConfig() 1112 if (depthStencilBufferFormatCaps.sampleCounts.empty()) in generateSampleSetForEGLConfig() 1114 sampleCounts = colorBufferFormatCaps.sampleCounts; in generateSampleSetForEGLConfig() 1116 else if (colorBufferFormatCaps.sampleCounts.empty()) in generateSampleSetForEGLConfig() 1119 sampleCounts = depthStencilBufferFormatCaps.sampleCounts; in generateSampleSetForEGLConfig() [all …]
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_formats.c | 679 pImageFormatProperties->sampleCounts = VK_SAMPLE_COUNT_1_BIT; in get_image_format_properties() 685 pImageFormatProperties->sampleCounts |= VK_SAMPLE_COUNT_4_BIT; in get_image_format_properties() 700 .sampleCounts = 0, in get_image_format_properties()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleBase.cpp | 151 if (!(imageFormatProps.sampleCounts & imageInfo.samples)) in validateImageInfo()
|
/external/angle/src/libANGLE/ |
D | Caps.cpp | 43 return !sampleCounts.empty() ? *sampleCounts.rbegin() : 0; in getMaxSamples() 53 for (SupportedSampleSet::const_iterator i = sampleCounts.begin(); i != sampleCounts.end(); i++) in getNearestSamples() 78 caps.sampleCounts.insert(0); in GenerateMinimumTextureCaps() 84 caps.sampleCounts.insert(4); in GenerateMinimumTextureCaps()
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | renderer9_utils.cpp | 464 textureCaps.sampleCounts.insert(1); in GenerateTextureFormatCaps() 473 textureCaps.sampleCounts.insert(i); in GenerateTextureFormatCaps()
|