Searched refs:sampler_info (Results 1 – 6 of 6) sorted by relevance
60 VkSamplerCreateInfo sampler_info = VkSamplerCreateInfo(); in CreateSampler() local61 sampler_info.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; in CreateSampler()62 sampler_info.magFilter = sampler->GetMagFilter() == FilterType::kLinear in CreateSampler()65 sampler_info.minFilter = sampler->GetMinFilter() == FilterType::kLinear in CreateSampler()68 sampler_info.mipmapMode = sampler->GetMipmapMode() == FilterType::kLinear in CreateSampler()71 sampler_info.addressModeU = GetVkAddressMode(sampler->GetAddressModeU()); in CreateSampler()72 sampler_info.addressModeV = GetVkAddressMode(sampler->GetAddressModeV()); in CreateSampler()73 sampler_info.addressModeW = GetVkAddressMode(sampler->GetAddressModeW()); in CreateSampler()74 sampler_info.borderColor = GetVkBorderColor(sampler->GetBorderColor()); in CreateSampler()75 sampler_info.minLod = sampler->GetMinLOD(); in CreateSampler()[all …]
276 for (const auto& sampler_info : pipeline->GetSamplers()) { in CreatePipeline() local278 cmd->SetDescriptorSet(sampler_info.descriptor_set); in CreatePipeline()279 cmd->SetBinding(sampler_info.binding); in CreatePipeline()280 cmd->SetSampler(sampler_info.sampler); in CreatePipeline()
57 struct sampler_info struct83 struct sampler_info fragment_samplers_saved; argument84 struct sampler_info compute_samplers_saved;85 struct sampler_info samplers[PIPE_SHADER_TYPES];998 struct sampler_info *info = &ctx->samplers[PIPE_SHADER_COMPUTE]; in cso_save_compute_samplers()999 struct sampler_info *saved = &ctx->compute_samplers_saved; in cso_save_compute_samplers()1010 struct sampler_info *info = &ctx->samplers[PIPE_SHADER_COMPUTE]; in cso_restore_compute_samplers()1011 struct sampler_info *saved = &ctx->compute_samplers_saved; in cso_restore_compute_samplers()1274 struct sampler_info *info = &ctx->samplers[shader_stage]; in cso_single_sampler_done()1352 struct sampler_info *info = &ctx->samplers[PIPE_SHADER_FRAGMENT]; in cso_save_fragment_samplers()[all …]
1445 VkSamplerCreateInfo sampler_info = {}; in setup_swapchain_data_pipeline() local1446 sampler_info.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; in setup_swapchain_data_pipeline()1447 sampler_info.magFilter = VK_FILTER_LINEAR; in setup_swapchain_data_pipeline()1448 sampler_info.minFilter = VK_FILTER_LINEAR; in setup_swapchain_data_pipeline()1449 sampler_info.mipmapMode = VK_SAMPLER_MIPMAP_MODE_LINEAR; in setup_swapchain_data_pipeline()1450 sampler_info.addressModeU = VK_SAMPLER_ADDRESS_MODE_REPEAT; in setup_swapchain_data_pipeline()1451 sampler_info.addressModeV = VK_SAMPLER_ADDRESS_MODE_REPEAT; in setup_swapchain_data_pipeline()1452 sampler_info.addressModeW = VK_SAMPLER_ADDRESS_MODE_REPEAT; in setup_swapchain_data_pipeline()1453 sampler_info.minLod = -1000; in setup_swapchain_data_pipeline()1454 sampler_info.maxLod = 1000; in setup_swapchain_data_pipeline()[all …]
775 VkSamplerCreateInfo sampler_info = { in FN_CREATING() local778 .minFilter = sampler_info.magFilter, in FN_CREATING()782 .addressModeV = sampler_info.addressModeU, in FN_CREATING()783 .addressModeW = sampler_info.addressModeU, in FN_CREATING()794 ret = vkCreateSampler(s->hwctx->act_dev, &sampler_info, in FN_CREATING()
3987 VkSamplerCreateInfo sampler_info = { in blit_shader() local3997 result = v3dv_CreateSampler(_device, &sampler_info, &device->vk.alloc, in blit_shader()