Home
last modified time | relevance | path

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

123

/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/angle/src/tests/gl_tests/
DRenderbufferMultisampleTest.cpp96 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()
DD3D11FormatTablesTest.cpp126 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/
DVkPhysicalDevice.cpp423 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/
Des31fFboTestCase.cpp360 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()
Des31fShaderTextureSizeTests.cpp544 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()
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/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c269 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/
DvktSparseResourcesImageBlockShapes.cpp194 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/
Danv_formats.c831 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/
Dtu_formats.c524 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/
Dvk_caps_utils.cpp886 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()
Dvk_format_utils.cpp54 &outTextureCaps->sampleCounts); in FillTextureFormatCaps()
63 &outTextureCaps->sampleCounts); in FillTextureFormatCaps()
Dvk_utils.cpp1450 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/
Dradv_formats.c1148 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/
DvktRenderPassDepthStencilResolveTests.cpp348 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()
DvktRenderPassSampleReadTests.cpp169 || ((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/
Dmtl_format_utils.mm86 constexpr uint32_t sampleCounts[] = {2, 4, 8};
87 for (auto sampleCount : sampleCounts)
91 textureCaps.sampleCounts.insert(sampleCount);
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp1100 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/
Dv3dv_formats.c679 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/
DvktPipelineMultisampleBase.cpp151 if (!(imageFormatProps.sampleCounts & imageInfo.samples)) in validateImageInfo()
/external/angle/src/libANGLE/
DCaps.cpp43 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/
Drenderer9_utils.cpp464 textureCaps.sampleCounts.insert(1); in GenerateTextureFormatCaps()
473 textureCaps.sampleCounts.insert(i); in GenerateTextureFormatCaps()

123