Home
last modified time | relevance | path

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

1234567

/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DD3D11FormatTablesTest.cpp125 if (!textureInfo.sampleCounts.empty()) in TEST_P()
135 EXPECT_TRUE(!textureInfo.sampleCounts.empty()); in TEST_P()
143 EXPECT_EQ(expectedCount, textureInfo.sampleCounts.count(sampleCount)) in TEST_P()
149 EXPECT_TRUE(textureInfo.sampleCounts.empty()) in TEST_P()
/third_party/mesa3d/src/panfrost/vulkan/
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/
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()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_formats.c355 VkSampleCountFlags sampleCounts = VK_SAMPLE_COUNT_1_BIT; in tu_get_image_format_properties() local
383 …le(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/skia/third_party/externals/swiftshader/src/Vulkan/
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, // storageImageSampleCounts in getLimits()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp1386 if ((formatProperties.sampleCounts & m_sampleCount) == 0) in iterate()
1390 if ((formatProperties.sampleCounts & m_sampleCount) == 0) in iterate()
2056 std::vector<VkDeviceSize> sampleCounts (queryCount); in iterate() local
2281 …device, queryPool, 0u, queryCount, queryCount * sizeof(VkDeviceSize), sampleCounts.data(), sizeof(… in iterate()
2288 … << "Passed Samples (without early fragment test) : " << de::toString(sampleCounts[0]) << tcu::Tes… in iterate()
2289 … << "Passed Samples (with early fragment test) : " << de::toString(sampleCounts[1]) << tcu::Tes… in iterate()
2297sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] >= minValue && sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] <= … in iterate()
2301 …else if (sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] >= minValue && sampleCounts[QUERY_INDEX_NO_EARLY_… in iterate()
2309 …else if (sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] >= minValue && sampleCounts[QUERY_INDEX_NO_EARLY_… in iterate()
2310sampleCounts[QUERY_INDEX_EARLY_FRAG] >= (minValue * 2) && sampleCounts[QUERY_INDEX_EARLY_FRAG] <= … in iterate()
[all …]
DvktFragmentOperationsOcclusionQueryTests.cpp305 std::vector<VkDeviceSize> sampleCounts (queryCount); in iterate() local
550 …device, queryPool, 0u, queryCount, queryCount * sizeof(VkDeviceSize), sampleCounts.data(), sizeof(… in iterate()
555 …log << tcu::TestLog::Message << "Passed Samples : " << de::toString(sampleCounts[0]) << " / " << e… in iterate()
562 …if ((m_preciseBitEnabled && sampleCounts[0] == expResult) || (!m_preciseBitEnabled && sampleCounts in iterate()
690 if (formatProperties.sampleCounts == 0 || testFormat == VK_FORMAT_UNDEFINED) in checkSupport()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp1386 if ((formatProperties.sampleCounts & m_sampleCount) == 0) in iterate()
1390 if ((formatProperties.sampleCounts & m_sampleCount) == 0) in iterate()
2056 std::vector<VkDeviceSize> sampleCounts (queryCount); in iterate() local
2281 …device, queryPool, 0u, queryCount, queryCount * sizeof(VkDeviceSize), sampleCounts.data(), sizeof(… in iterate()
2288 … << "Passed Samples (without early fragment test) : " << de::toString(sampleCounts[0]) << tcu::Tes… in iterate()
2289 … << "Passed Samples (with early fragment test) : " << de::toString(sampleCounts[1]) << tcu::Tes… in iterate()
2297sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] >= minValue && sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] <= … in iterate()
2301 …else if (sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] >= minValue && sampleCounts[QUERY_INDEX_NO_EARLY_… in iterate()
2309 …else if (sampleCounts[QUERY_INDEX_NO_EARLY_FRAG] >= minValue && sampleCounts[QUERY_INDEX_NO_EARLY_… in iterate()
2310sampleCounts[QUERY_INDEX_EARLY_FRAG] >= (minValue * 2) && sampleCounts[QUERY_INDEX_EARLY_FRAG] <= … in iterate()
[all …]
DvktFragmentOperationsOcclusionQueryTests.cpp305 std::vector<VkDeviceSize> sampleCounts (queryCount); in iterate() local
550 …device, queryPool, 0u, queryCount, queryCount * sizeof(VkDeviceSize), sampleCounts.data(), sizeof(… in iterate()
555 …log << tcu::TestLog::Message << "Passed Samples : " << de::toString(sampleCounts[0]) << " / " << e… in iterate()
562 …if ((m_preciseBitEnabled && sampleCounts[0] == expResult) || (!m_preciseBitEnabled && sampleCounts in iterate()
690 if (formatProperties.sampleCounts == 0 || testFormat == VK_FORMAT_UNDEFINED) in checkSupport()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_caps_utils.cpp393 const uint32_t sampleCounts = limitsVk.framebufferColorSampleCounts & in ensureCapsInitialized() local
397 mNativeCaps.maxSamples = vk_gl::GetMaxSampleCount(sampleCounts); in ensureCapsInitialized()
511 gl::SupportedSampleSet sampleCounts; in GenerateConfigs() local
527 std::inserter(sampleCounts, sampleCounts.begin())); in GenerateConfigs()
545 const gl::SupportedSampleSet *configSampleCounts = &sampleCounts; in GenerateConfigs()
Dvk_format_utils.cpp44 &outTextureCaps->sampleCounts); in FillTextureFormatCaps()
49 &outTextureCaps->sampleCounts); in FillTextureFormatCaps()
51 &outTextureCaps->sampleCounts); in FillTextureFormatCaps()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/
DvktFragmentShadingRateTests.cpp309 if (fsr.sampleCounts != ~0u) in testShadingRates()
321 if (fsr.sampleCounts & highestSampleCount) 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_shading_rate/
DvktFragmentShadingRateTests.cpp309 if (fsr.sampleCounts != ~0u) in testShadingRates()
321 if (fsr.sampleCounts & highestSampleCount) 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_no_buildgn/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()
/third_party/vk-gl-cts/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()
/third_party/mesa3d/src/intel/vulkan/
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/mesa3d/src/broadcom/vulkan/
Dv3dv_formats.c506 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/renderer/vulkan/
Dvk_caps_utils.cpp908 const uint32_t sampleCounts = in ensureCapsInitialized() local
912 mNativeCaps.maxSamples = LimitToInt(vk_gl::GetMaxSampleCount(sampleCounts)); in ensureCapsInitialized()
1244 gl::SupportedSampleSet sampleCounts; in GenerateConfigs() local
1262 std::inserter(sampleCounts, sampleCounts.begin())); in GenerateConfigs()
1280 const gl::SupportedSampleSet *configSampleCounts = &sampleCounts; in GenerateConfigs()

1234567