Home
last modified time | relevance | path

Searched refs:samplerCreateInfo (Results 1 – 13 of 13) sorted by relevance

/external/angle/third_party/vulkan_memory_allocator/src/
DSparseBindingTest.cpp285 VkSamplerCreateInfo samplerCreateInfo = { VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO }; in ValidateContent() local
286 samplerCreateInfo.magFilter = VK_FILTER_NEAREST; in ValidateContent()
287 samplerCreateInfo.minFilter = VK_FILTER_NEAREST; in ValidateContent()
288 samplerCreateInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST; in ValidateContent()
289 samplerCreateInfo.addressModeU = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in ValidateContent()
290 samplerCreateInfo.addressModeV = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in ValidateContent()
291 samplerCreateInfo.addressModeW = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in ValidateContent()
292 samplerCreateInfo.unnormalizedCoordinates = VK_TRUE; in ValidateContent()
295 TEST( vkCreateSampler( g_hDevice, &samplerCreateInfo, nullptr, &sampler) == VK_SUCCESS ); in ValidateContent()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp1448 VkSamplerCreateInfo samplerCreateInfo; in VkSamplerObj() local
1449 memset(&samplerCreateInfo, 0, sizeof(samplerCreateInfo)); in VkSamplerObj()
1450 samplerCreateInfo.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; in VkSamplerObj()
1451 samplerCreateInfo.magFilter = VK_FILTER_NEAREST; in VkSamplerObj()
1452 samplerCreateInfo.minFilter = VK_FILTER_NEAREST; in VkSamplerObj()
1453 samplerCreateInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST; in VkSamplerObj()
1454 samplerCreateInfo.addressModeU = VK_SAMPLER_ADDRESS_MODE_REPEAT; in VkSamplerObj()
1455 samplerCreateInfo.addressModeV = VK_SAMPLER_ADDRESS_MODE_REPEAT; in VkSamplerObj()
1456 samplerCreateInfo.addressModeW = VK_SAMPLER_ADDRESS_MODE_REPEAT; in VkSamplerObj()
1457 samplerCreateInfo.mipLodBias = 0.0; in VkSamplerObj()
[all …]
/external/swiftshader/tests/VulkanWrapper/
DDrawTester.hpp102 Resource<vk::Sampler> addSampler(const vk::SamplerCreateInfo &samplerCreateInfo) in addSampler() argument
104 auto sampler = device.createSampler(samplerCreateInfo); in addSampler()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp1246 …VkSamplerCreateInfo samplerCreateInfo = mapSampler(params.sampler, m_textureBindings[tex… in renderQuad() local
1250 samplerCreateInfo.anisotropyEnable = VK_TRUE; in renderQuad()
1251 samplerCreateInfo.maxAnisotropy = maxAnisotropy; in renderQuad()
1254 …bool linFilt = (samplerCreateInfo.magFilter == VK_FILTER_LINEAR || samplerCreateInfo.minFilter == … in renderQuad()
1255 if (linFilt && samplerCreateInfo.compareEnable == VK_FALSE) in renderQuad()
1266 sampler = createSampler(vkd, vkDevice, &samplerCreateInfo); in renderQuad()
DvktTextureFilteringExplicitLodTests.cpp378 VkSamplerCreateInfo samplerCreateInfo = in mapSamplerCreateInfo() local
402 samplerCreateInfo.compareEnable = VK_TRUE; in mapSamplerCreateInfo()
407 return samplerCreateInfo; in mapSamplerCreateInfo()
828 const VkSamplerCreateInfo samplerCreateInfo = mapSamplerCreateInfo(m_samplerParams); in createResources() local
829 m_sampler = createSampler(vkd, device, &samplerCreateInfo); in createResources()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp3800 tcu::Sampler mapVkSampler (const VkSamplerCreateInfo& samplerCreateInfo) in mapVkSampler() argument
3808 void const *pNext = samplerCreateInfo.pNext; in mapVkSampler()
3838 tcu::Sampler sampler(mapVkSamplerAddressMode(samplerCreateInfo.addressModeU), in mapVkSampler()
3839 mapVkSamplerAddressMode(samplerCreateInfo.addressModeV), in mapVkSampler()
3840 mapVkSamplerAddressMode(samplerCreateInfo.addressModeW), in mapVkSampler()
3841 mapVkMinTexFilter(samplerCreateInfo.minFilter, samplerCreateInfo.mipmapMode), in mapVkSampler()
3842 mapVkMagTexFilter(samplerCreateInfo.magFilter), in mapVkSampler()
3844 !samplerCreateInfo.unnormalizedCoordinates, in mapVkSampler()
3845 samplerCreateInfo.compareEnable ? mapVkSamplerCompareOp(samplerCreateInfo.compareOp) in mapVkSampler()
3853 if (samplerCreateInfo.anisotropyEnable) in mapVkSampler()
[all …]
DvkImageUtil.hpp56 tcu::Sampler mapVkSampler (const VkSamplerCreateInfo& samplerCreateInfo);
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsSampled.cpp687 VkSamplerCreateInfo samplerCreateInfo = in recordCommands() local
708 m_sampler = createSampler(deviceInterface, getDevice(), &samplerCreateInfo); in recordCommands()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFilteringTests.cpp296 const VkSamplerCreateInfo samplerCreateInfo (getSamplerInfo(&samplerConvInfo)); in iterate() local
297 const Unique<VkSampler> sampler (createSampler(m_vkd, m_device, &samplerCreateInfo)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp1548 const vk::VkSamplerCreateInfo samplerCreateInfo = in iterate() local
1569 const auto texSampler = vk::createSampler(vkd, device, &samplerCreateInfo); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryDeviceMemoryReportTests.cpp792 const VkSamplerCreateInfo samplerCreateInfo = in create() local
814 return createSampler(env.vkd, env.device, &samplerCreateInfo); in create()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDataSpillTests.cpp1708 const VkSamplerCreateInfo samplerCreateInfo = in iterate() local
1738 samplers.emplace_back(createSampler(vkd, device, &samplerCreateInfo)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp734 const VkSamplerCreateInfo samplerCreateInfo = in Image() local
773 m_sampler = createSampler(vk, device, &samplerCreateInfo); in Image()