• Home
  • Raw
  • Download

Lines Matching refs:sampler_create_info

539     VkSamplerCreateInfo sampler_create_info = {};  in SafeSaneSamplerCreateInfo()  local
540 sampler_create_info.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; in SafeSaneSamplerCreateInfo()
541 sampler_create_info.pNext = nullptr; in SafeSaneSamplerCreateInfo()
542 sampler_create_info.magFilter = VK_FILTER_NEAREST; in SafeSaneSamplerCreateInfo()
543 sampler_create_info.minFilter = VK_FILTER_NEAREST; in SafeSaneSamplerCreateInfo()
544 sampler_create_info.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST; in SafeSaneSamplerCreateInfo()
545 sampler_create_info.addressModeU = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in SafeSaneSamplerCreateInfo()
546 sampler_create_info.addressModeV = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in SafeSaneSamplerCreateInfo()
547 sampler_create_info.addressModeW = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in SafeSaneSamplerCreateInfo()
548 sampler_create_info.mipLodBias = 0.0; in SafeSaneSamplerCreateInfo()
549 sampler_create_info.anisotropyEnable = VK_FALSE; in SafeSaneSamplerCreateInfo()
550 sampler_create_info.maxAnisotropy = 1.0; in SafeSaneSamplerCreateInfo()
551 sampler_create_info.compareEnable = VK_FALSE; in SafeSaneSamplerCreateInfo()
552 sampler_create_info.compareOp = VK_COMPARE_OP_NEVER; in SafeSaneSamplerCreateInfo()
553 sampler_create_info.minLod = 0.0; in SafeSaneSamplerCreateInfo()
554 sampler_create_info.maxLod = 16.0; in SafeSaneSamplerCreateInfo()
555 sampler_create_info.borderColor = VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE; in SafeSaneSamplerCreateInfo()
556 sampler_create_info.unnormalizedCoordinates = VK_FALSE; in SafeSaneSamplerCreateInfo()
558 return sampler_create_info; in SafeSaneSamplerCreateInfo()