Lines Matching refs:GrSamplerState
13 static VkSamplerAddressMode wrap_mode_to_vk_sampler_address(GrSamplerState::WrapMode wrapMode) { in wrap_mode_to_vk_sampler_address()
15 case GrSamplerState::WrapMode::kClamp: in wrap_mode_to_vk_sampler_address()
17 case GrSamplerState::WrapMode::kRepeat: in wrap_mode_to_vk_sampler_address()
19 case GrSamplerState::WrapMode::kMirrorRepeat: in wrap_mode_to_vk_sampler_address()
21 case GrSamplerState::WrapMode::kClampToBorder: in wrap_mode_to_vk_sampler_address()
27 static VkSamplerMipmapMode mipmap_mode_to_vk_sampler_mipmap_mode(GrSamplerState::MipmapMode mm) { in mipmap_mode_to_vk_sampler_mipmap_mode()
32 case GrSamplerState::MipmapMode::kNone: return VK_SAMPLER_MIPMAP_MODE_LINEAR; in mipmap_mode_to_vk_sampler_mipmap_mode()
33 case GrSamplerState::MipmapMode::kNearest: return VK_SAMPLER_MIPMAP_MODE_NEAREST; in mipmap_mode_to_vk_sampler_mipmap_mode()
34 case GrSamplerState::MipmapMode::kLinear: return VK_SAMPLER_MIPMAP_MODE_LINEAR; in mipmap_mode_to_vk_sampler_mipmap_mode()
39 GrVkSampler* GrVkSampler::Create(GrVkGpu* gpu, GrSamplerState samplerState, in Create()
134 GrVkSampler::Key GrVkSampler::GenerateKey(GrSamplerState samplerState, in GenerateKey()