Home
last modified time | relevance | path

Searched refs:sampleCounts (Results 1 - 25 of 125) sorted by relevance

12345

/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fInternalFormatQueryTests.cpp58 StateQueryMemoryWriteGuard<GLint> sampleCounts; in test()
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::EndMessage; 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()
139 glGetInternalformativ(GL_RENDERBUFFER, m_internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCounts); in test()
142 if (!sampleCounts in test()
[all...]
H A Des3fFboTestCase.cpp340 std::vector<int> sampleCounts; in querySampleCounts() local
346 sampleCounts.resize(numSampleCounts); in querySampleCounts()
347 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]); in querySampleCounts()
352 return sampleCounts; in querySampleCounts()
H A 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()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A 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()
H A 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()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_formats.c150 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in get_image_format_properties() local
221 sampleCounts |= VK_SAMPLE_COUNT_4_BIT; in get_image_format_properties()
253 .sampleCounts = sampleCounts, in get_image_format_properties()
270 .sampleCounts = 0, in get_image_format_properties()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fFboTestCase.cpp360 std::vector<int> sampleCounts; in querySampleCounts() local
366 sampleCounts.resize(numSampleCounts); in querySampleCounts()
367 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]); in querySampleCounts()
372 return sampleCounts; in querySampleCounts()
H A Des31fShaderTextureSizeTests.cpp544 static const int sampleCounts[] = { 1, 4 };
548 for (int sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleCountNdx)
550 const std::string name = std::string() + "samples_" + de::toString(sampleCounts[sampleCountNdx]) + "_" + samplerTypes[samplerTypeNdx].name;
551 const std::string desc = std::string() + "samples count = " + de::toString(sampleCounts[sampleCountNdx]) + ", type = " + samplerTypes[samplerTypeNdx].name;
553 addChild(new TextureSizeCase(m_context, name.c_str(), desc.c_str(), samplerTypes[samplerTypeNdx].type, sampleCounts[sampleCountNdx]));
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkPhysicalDevice.cpp476 VkSampleCountFlags sampleCounts = getSampleCounts(); in getLimits() local
561 sampleCounts, // framebufferColorSampleCounts in getLimits()
562 sampleCounts, // framebufferDepthSampleCounts in getLimits()
563 sampleCounts, // framebufferStencilSampleCounts in getLimits()
564 sampleCounts, // framebufferNoAttachmentsSampleCounts in getLimits()
566 sampleCounts, // sampledImageColorSampleCounts in getLimits()
567 sampleCounts, // sampledImageIntegerSampleCounts in getLimits()
568 sampleCounts, // sampledImageDepthSampleCounts in getLimits()
569 sampleCounts, // sampledImageStencilSampleCounts in getLimits()
570 sampleCounts, // storageImageSampleCount in getLimits()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
H A DvktFragmentOperationsEarlyFragmentTests.cpp1386 if ((formatProperties.sampleCounts & m_sampleCount) == 0)
1390 if ((formatProperties.sampleCounts & m_sampleCount) == 0)
2056 std::vector<VkDeviceSize> sampleCounts (queryCount);
2281 VK_CHECK(vk.getQueryPoolResults(device, queryPool, 0u, queryCount, queryCount * sizeof(VkDeviceSize), sampleCounts.data(), sizeof(VkDeviceSize), VK_QUERY_RESULT_64_BIT | VK_QUERY_RESULT_WAIT_BIT));
2288 log << tcu::TestLog::Message << "Passed Samples (without early fragment test) : " << de::toString(sampleCounts[0]) << tcu::TestLog::EndMessage;
2289 log << tcu::TestLog::Message << "Passed Samples (with early fragment test) : " << de::toString(sampleCounts[1]) << tcu::TestLog::EndMessage;
2297 if (sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] >= minValue && sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] <= maxValue && sampleCounts[QUERY_INDEX_EARLY_FRAG] >= minValue && sampleCounts[QUERY_INDEX_EARLY_FRA
[all...]
H A DvktFragmentOperationsOcclusionQueryTests.cpp305 std::vector<VkDeviceSize> sampleCounts (queryCount); in iterate()
550 VK_CHECK(vk.getQueryPoolResults(device, queryPool, 0u, queryCount, queryCount * sizeof(VkDeviceSize), sampleCounts.data(), sizeof(VkDeviceSize), VK_QUERY_RESULT_64_BIT | VK_QUERY_RESULT_WAIT_BIT)); in iterate()
555 log << tcu::TestLog::Message << "Passed Samples : " << de::toString(sampleCounts[0]) << " / " << expResult << tcu::TestLog::EndMessage; in iterate()
562 if ((m_preciseBitEnabled && sampleCounts[0] == expResult) || (!m_preciseBitEnabled && sampleCounts[0] > 0)) in iterate()
690 if (formatProperties.sampleCounts == 0 || testFormat == VK_FORMAT_UNDEFINED) in checkSupport()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_formats.c355 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in tu_get_image_format_properties() local
383 if (!ubwc_possible(info->format, info->type, info->usage, info->usage, physical_device->info, sampleCounts, false)) in tu_get_image_format_properties()
442 sampleCounts |= VK_SAMPLE_COUNT_2_BIT | VK_SAMPLE_COUNT_4_BIT; in tu_get_image_format_properties()
496 .sampleCounts = sampleCounts, in tu_get_image_format_properties()
513 .sampleCounts = 0, in tu_get_image_format_properties()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_formats.c208 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in lvp_get_image_format_properties() local
248 sampleCounts |= VK_SAMPLE_COUNT_4_BIT; in lvp_get_image_format_properties()
310 .sampleCounts = sampleCounts, in lvp_get_image_format_properties()
323 .sampleCounts = 0, in lvp_get_image_format_properties()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
H A DvktFragmentShadingRateTests.cpp310 if (fsr.sampleCounts != ~0u) in testShadingRates()
312 log << tcu::TestLog::Message << "implementations must support sampleCounts equal to ~0 for fragmentSize {1, 1}" << tcu::TestLog::EndMessage; in testShadingRates()
322 if (fsr.sampleCounts & highestSampleCount) in testShadingRates()
327 // Check that the highest sample count in sampleCounts is less than or equal to maxFragmentShadingRateRasterizationSamples limit in testShadingRates()
391 (!(fsr.sampleCounts & vk::VK_SAMPLE_COUNT_1_BIT) || !(fsr.sampleCounts & vk::VK_SAMPLE_COUNT_4_BIT))) in testShadingRates()
401 !(fsr.sampleCounts & vk::VK_SAMPLE_COUNT_2_BIT)) in testShadingRates()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/
H A DvktFragmentShadingRateTests.cpp309 if (fsr.sampleCounts != ~0u) in testShadingRates()
311 log << tcu::TestLog::Message << "implementations must support sampleCounts equal to ~0 for fragmentSize {1, 1}" << tcu::TestLog::EndMessage; in testShadingRates()
321 if (fsr.sampleCounts & highestSampleCount) in testShadingRates()
326 // Check that the highest sample count in sampleCounts is less than or equal to maxFragmentShadingRateRasterizationSamples limit in testShadingRates()
390 (!(fsr.sampleCounts & vk::VK_SAMPLE_COUNT_1_BIT) || !(fsr.sampleCounts & vk::VK_SAMPLE_COUNT_4_BIT))) in testShadingRates()
400 !(fsr.sampleCounts & vk::VK_SAMPLE_COUNT_2_BIT)) in testShadingRates()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsEarlyFragmentTests.cpp1386 if ((formatProperties.sampleCounts & m_sampleCount) == 0)
1390 if ((formatProperties.sampleCounts & m_sampleCount) == 0)
2064 std::vector<VkDeviceSize> sampleCounts (queryCount);
2307 VK_CHECK(vk.getQueryPoolResults(device, queryPool, 0u, queryCount, queryCount * sizeof(VkDeviceSize), sampleCounts.data(), sizeof(VkDeviceSize), VK_QUERY_RESULT_64_BIT | VK_QUERY_RESULT_WAIT_BIT));
2314 log << tcu::TestLog::Message << "Passed Samples (without early fragment test) : " << de::toString(sampleCounts[0]) << tcu::TestLog::EndMessage;
2315 log << tcu::TestLog::Message << "Passed Samples (with early fragment test) : " << de::toString(sampleCounts[1]) << tcu::TestLog::EndMessage;
2323 if (sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] >= minValue && sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] <= maxValue && sampleCounts[QUERY_INDEX_EARLY_FRAG] >= minValue && sampleCounts[QUERY_INDEX_EARLY_FRA
[all...]
H A DvktFragmentOperationsOcclusionQueryTests.cpp305 std::vector<VkDeviceSize> sampleCounts (queryCount); in iterate()
550 VK_CHECK(vk.getQueryPoolResults(device, queryPool, 0u, queryCount, queryCount * sizeof(VkDeviceSize), sampleCounts.data(), sizeof(VkDeviceSize), VK_QUERY_RESULT_64_BIT | VK_QUERY_RESULT_WAIT_BIT)); in iterate()
555 log << tcu::TestLog::Message << "Passed Samples : " << de::toString(sampleCounts[0]) << " / " << expResult << tcu::TestLog::EndMessage; in iterate()
562 if ((m_preciseBitEnabled && sampleCounts[0] == expResult) || (!m_preciseBitEnabled && sampleCounts[0] > 0)) in iterate()
690 if (formatProperties.sampleCounts == 0 || testFormat == VK_FORMAT_UNDEFINED) in checkSupport()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_formats.c1004 VkSampleCountFlags sampleCounts; in anv_get_image_format_properties() local
1057 sampleCounts = VK_SAMPLE_COUNT_1_BIT; in anv_get_image_format_properties()
1068 sampleCounts = VK_SAMPLE_COUNT_1_BIT; in anv_get_image_format_properties()
1084 sampleCounts = VK_SAMPLE_COUNT_1_BIT; in anv_get_image_format_properties()
1117 sampleCounts = VK_SAMPLE_COUNT_1_BIT; in anv_get_image_format_properties()
1145 sampleCounts = isl_device_get_sample_counts(&physical_device->isl_dev); in anv_get_image_format_properties()
1275 .sampleCounts = sampleCounts, in anv_get_image_format_properties()
1295 .sampleCounts = 0, in anv_get_image_format_properties()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesImageBlockShapes.cpp191 if (!(imageFormatProperties.sampleCounts & imageCreateInfo.samples)) in iterate()
458 static const deUint32 sampleCounts[] = { 1u, 2u, 4u, 8u, 16u }; in createImageBlockShapesTests() local
471 for (deInt32 sampleCountNdx = 0; sampleCountNdx < DE_LENGTH_OF_ARRAY(sampleCounts); ++sampleCountNdx) in createImageBlockShapesTests()
483 const deUint32 sampleCount = sampleCounts[sampleCountNdx]; in createImageBlockShapesTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A 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); ++sampleCountNdx) in createImageBlockShapesTests()
486 const deUint32 sampleCount = sampleCounts[sampleCountNdx]; in createImageBlockShapesTests()
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_formats.c495 * sampleCounts will be set to VK_SAMPLE_COUNT_1_BIT if at least one of the in get_image_format_properties()
506 pImageFormatProperties->sampleCounts = VK_SAMPLE_COUNT_1_BIT; in get_image_format_properties()
512 pImageFormatProperties->sampleCounts |= VK_SAMPLE_COUNT_4_BIT; in get_image_format_properties()
527 .sampleCounts = 0, in get_image_format_properties()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCaps.cpp42 return !sampleCounts.empty() ? *sampleCounts.rbegin() : 0; in getMaxSamples()
52 for (SupportedSampleSet::const_iterator i = sampleCounts.begin(); i != sampleCounts.end(); i++) in getNearestSamples()
77 caps.sampleCounts.insert(0); in GenerateMinimumTextureCaps()
83 caps.sampleCounts.insert(4); in GenerateMinimumTextureCaps()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_caps_utils.cpp908 const uint32_t sampleCounts = in ensureCapsInitialized()
912 mNativeCaps.maxSamples = LimitToInt(vk_gl::GetMaxSampleCount(sampleCounts)); in ensureCapsInitialized()
1244 gl::SupportedSampleSet sampleCounts;
1262 std::inserter(sampleCounts, sampleCounts.begin()));
1280 const gl::SupportedSampleSet *configSampleCounts = &sampleCounts;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A 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); sampleCountNdx++) in initTests()
990 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A 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); sampleCountNdx++) in initTests()
990 const deUint32 sampleCount (sampleCounts[sampleCountNdx]); in initTests()

Completed in 34 milliseconds

12345