Home
last modified time | relevance | path

Searched refs:samplerInfo (Results 1 – 25 of 29) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSamplerVk.cpp53 VkSamplerCreateInfo samplerInfo = {}; in syncState() local
54 samplerInfo.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; in syncState()
55 samplerInfo.flags = 0; in syncState()
56 samplerInfo.magFilter = gl_vk::GetFilter(mState.getMagFilter()); in syncState()
57 samplerInfo.minFilter = gl_vk::GetFilter(mState.getMinFilter()); in syncState()
58 samplerInfo.mipmapMode = gl_vk::GetSamplerMipmapMode(mState.getMinFilter()); in syncState()
59 samplerInfo.addressModeU = gl_vk::GetSamplerAddressMode(mState.getWrapS()); in syncState()
60 samplerInfo.addressModeV = gl_vk::GetSamplerAddressMode(mState.getWrapT()); in syncState()
61 samplerInfo.addressModeW = gl_vk::GetSamplerAddressMode(mState.getWrapR()); in syncState()
62 samplerInfo.mipLodBias = 0.0f; in syncState()
[all …]
DUtilsVk.cpp509 VkSamplerCreateInfo samplerInfo = {}; in ensureBlitResolveSamplersInitialized() local
510 samplerInfo.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; in ensureBlitResolveSamplersInitialized()
511 samplerInfo.flags = 0; in ensureBlitResolveSamplersInitialized()
512 samplerInfo.magFilter = VK_FILTER_NEAREST; in ensureBlitResolveSamplersInitialized()
513 samplerInfo.minFilter = VK_FILTER_NEAREST; in ensureBlitResolveSamplersInitialized()
514 samplerInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST; in ensureBlitResolveSamplersInitialized()
515 samplerInfo.addressModeU = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in ensureBlitResolveSamplersInitialized()
516 samplerInfo.addressModeV = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in ensureBlitResolveSamplersInitialized()
517 samplerInfo.addressModeW = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in ensureBlitResolveSamplersInitialized()
518 samplerInfo.mipLodBias = 0.0f; in ensureBlitResolveSamplersInitialized()
[all …]
DTextureVk.cpp1325 VkSamplerCreateInfo samplerInfo = {}; in syncState() local
1326 samplerInfo.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; in syncState()
1327 samplerInfo.flags = 0; in syncState()
1328 samplerInfo.magFilter = gl_vk::GetFilter(samplerState.getMagFilter()); in syncState()
1329 samplerInfo.minFilter = gl_vk::GetFilter(samplerState.getMinFilter()); in syncState()
1330 samplerInfo.mipmapMode = gl_vk::GetSamplerMipmapMode(samplerState.getMinFilter()); in syncState()
1331 samplerInfo.addressModeU = gl_vk::GetSamplerAddressMode(samplerState.getWrapS()); in syncState()
1332 samplerInfo.addressModeV = gl_vk::GetSamplerAddressMode(samplerState.getWrapT()); in syncState()
1333 samplerInfo.addressModeW = gl_vk::GetSamplerAddressMode(samplerState.getWrapR()); in syncState()
1334 samplerInfo.mipLodBias = 0.0f; in syncState()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanBenchmarks/
DTriangleBenchmarks.cpp249 vk::SamplerCreateInfo samplerInfo; in TriangleSampleTexture() local
250 samplerInfo.magFilter = vk::Filter::eLinear; in TriangleSampleTexture()
251 samplerInfo.minFilter = vk::Filter::eLinear; in TriangleSampleTexture()
252 samplerInfo.addressModeU = vk::SamplerAddressMode::eRepeat; in TriangleSampleTexture()
253 samplerInfo.addressModeV = vk::SamplerAddressMode::eRepeat; in TriangleSampleTexture()
254 samplerInfo.addressModeW = vk::SamplerAddressMode::eRepeat; in TriangleSampleTexture()
255 samplerInfo.anisotropyEnable = VK_FALSE; in TriangleSampleTexture()
256 samplerInfo.unnormalizedCoordinates = VK_FALSE; in TriangleSampleTexture()
257 samplerInfo.mipmapMode = vk::SamplerMipmapMode::eLinear; in TriangleSampleTexture()
258 samplerInfo.mipLodBias = 0.0f; in TriangleSampleTexture()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DUtilsVk.cpp1394 VkSamplerCreateInfo samplerInfo = {}; in ensureSamplersInitialized() local
1395 samplerInfo.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; in ensureSamplersInitialized()
1396 samplerInfo.flags = 0; in ensureSamplersInitialized()
1397 samplerInfo.magFilter = VK_FILTER_NEAREST; in ensureSamplersInitialized()
1398 samplerInfo.minFilter = VK_FILTER_NEAREST; in ensureSamplersInitialized()
1399 samplerInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST; in ensureSamplersInitialized()
1400 samplerInfo.addressModeU = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in ensureSamplersInitialized()
1401 samplerInfo.addressModeV = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in ensureSamplersInitialized()
1402 samplerInfo.addressModeW = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in ensureSamplersInitialized()
1403 samplerInfo.mipLodBias = 0.0f; in ensureSamplersInitialized()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkBuilderUtil.cpp109 const ImmutableSamplerInfo& samplerInfo = m_immutableSamplerInfos[samplerInfoNdx]; in build() local
112 while (bindings[bindingNdx].binding != samplerInfo.bindingIndex) in build()
120 bindings[bindingNdx].pImmutableSamplers = &m_immutableSamplers[samplerInfo.samplerBaseIndex]; in build()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp361 const VkSamplerCreateInfo samplerInfo = in testFormat() local
425 const Unique<VkSampler> sampler (createSampler(vkd, device, &samplerInfo)); in testFormat()
519 const tcu::Sampler refSampler = mapVkSampler(samplerInfo); in testFormat()
DvktYCbCrImageQueryTests.cpp405 const VkSamplerCreateInfo samplerInfo = in testImageQuery() local
455 const Unique<VkSampler> sampler (createSampler(vkd, device, &samplerInfo)); in testImageQuery()
588 const VkSamplerCreateInfo samplerInfo = in testImageQueryLod() local
638 const Unique<VkSampler> sampler (createSampler(vkd, device, &samplerInfo)); in testImageQueryLod()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp361 const VkSamplerCreateInfo samplerInfo = in testFormat() local
425 const Unique<VkSampler> sampler (createSampler(vkd, device, &samplerInfo)); in testFormat()
519 const tcu::Sampler refSampler = mapVkSampler(samplerInfo); in testFormat()
DvktYCbCrImageQueryTests.cpp405 const VkSamplerCreateInfo samplerInfo = in testImageQuery() local
455 const Unique<VkSampler> sampler (createSampler(vkd, device, &samplerInfo)); in testImageQuery()
588 const VkSamplerCreateInfo samplerInfo = in testImageQueryLod() local
638 const Unique<VkSampler> sampler (createSampler(vkd, device, &samplerInfo)); in testImageQueryLod()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiSmokeTests.cpp70 const struct VkSamplerCreateInfo samplerInfo = in createSamplerTest() local
92 Move<VkSampler> tmpSampler = createSampler(vk, vkDevice, &samplerInfo); in createSamplerTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp70 const struct VkSamplerCreateInfo samplerInfo = in createSamplerTest() local
92 Move<VkSampler> tmpSampler = createSampler(vk, vkDevice, &samplerInfo); in createSamplerTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationNoneStageTests.cpp668 const VkSamplerCreateInfo samplerInfo in buildSampler() local
689 return createSampler(vk, device, &samplerInfo); in buildSampler()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkfullscreenquad.c84 VkSamplerCreateInfo samplerInfo = { in create_sampler() local
107 vkCreateSampler (self->queue->device->device, &samplerInfo, NULL, in create_sampler()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationNoneStageTests.cpp668 const VkSamplerCreateInfo samplerInfo in buildSampler() local
689 return createSampler(vk, device, &samplerInfo); in buildSampler()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp1128 const BindingInfo& samplerInfo = in ValidateCompatibilityWithPipelineLayout() local
1130 if (samplerInfo.sampler.type != wgpu::SamplerBindingType::Filtering) { in ValidateCompatibilityWithPipelineLayout()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp584 const VkSamplerCreateInfo samplerInfo = in createSamplers() local
606 samplers.push_back(makeSharedPtr(createSampler(vkd, device, &samplerInfo))); in createSamplers()
3090 const VkSamplerCreateInfo samplerInfo = in iterateInternal() local
3112 sampler = createSampler(vkd, device, &samplerInfo); in iterateInternal()
DvktRenderPassFragmentDensityMapTests.cpp1586 const struct VkSamplerCreateInfo samplerInfo in FragmentDensityMapTestInstance() struct
1611 …rSamplers.push_back(VkSamplerSp(new Unique<VkSampler>(createSampler(vk, vkDevice, &samplerInfo)))); in FragmentDensityMapTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp584 const VkSamplerCreateInfo samplerInfo = in createSamplers() local
606 samplers.push_back(makeSharedPtr(createSampler(vkd, device, &samplerInfo))); in createSamplers()
3090 const VkSamplerCreateInfo samplerInfo = in iterateInternal() local
3112 sampler = createSampler(vkd, device, &samplerInfo); in iterateInternal()
DvktRenderPassFragmentDensityMapTests.cpp1586 const struct VkSamplerCreateInfo samplerInfo in FragmentDensityMapTestInstance() struct
1611 …rSamplers.push_back(VkSamplerSp(new Unique<VkSampler>(createSampler(vk, vkDevice, &samplerInfo)))); in FragmentDensityMapTestInstance()
/third_party/vk-gl-cts/doc/testspecs/VK/
Dapitests.adoc68 const struct VkSamplerCreateInfo samplerInfo =
86 Move<VkSamplerT> tmpSampler = createSampler(vk, vkDevice, &samplerInfo);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp2132 const SamplerUniform* samplerInfo = dynamic_cast<const SamplerUniform*>(uniformInfo); in render() local
2134 …criptorSetUpdateBuilder::Location::binding(location), uniformInfo->type, &samplerInfo->descriptor); in render()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRender.cpp2132 const SamplerUniform* samplerInfo = dynamic_cast<const SamplerUniform*>(uniformInfo); in render() local
2134 …criptorSetUpdateBuilder::Location::binding(location), uniformInfo->type, &samplerInfo->descriptor); in render()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
DvktFragmentShadingRateBasic.cpp1262 const struct VkSamplerCreateInfo samplerInfo = in iterate() local
1284 Move<VkSampler> sampler = createSampler(vk, device, &samplerInfo); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/
DvktFragmentShadingRateBasic.cpp1262 const struct VkSamplerCreateInfo samplerInfo = in iterate() local
1284 Move<VkSampler> sampler = createSampler(vk, device, &samplerInfo); in iterate()

12