Lines Matching refs:pCreateInfo
151 const VkSamplerCreateInfo *pCreateInfo, in v3dX()
156 switch (pCreateInfo->borderColor) { in v3dX()
186 if ((pCreateInfo->addressModeU == VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER || in v3dX()
187 pCreateInfo->addressModeV == VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER || in v3dX()
188 pCreateInfo->addressModeW == VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER) && in v3dX()
194 if (pCreateInfo->anisotropyEnable) { in v3dX()
196 if (pCreateInfo->maxAnisotropy > 8) in v3dX()
198 else if (pCreateInfo->maxAnisotropy > 4) in v3dX()
200 else if (pCreateInfo->maxAnisotropy > 2) in v3dX()
216 s.wrap_s = vk_to_v3d_wrap_mode[pCreateInfo->addressModeU]; in v3dX()
217 s.wrap_t = vk_to_v3d_wrap_mode[pCreateInfo->addressModeV]; in v3dX()
218 s.wrap_r = vk_to_v3d_wrap_mode[pCreateInfo->addressModeW]; in v3dX()
219 s.fixed_bias = pCreateInfo->mipLodBias; in v3dX()
220 s.max_level_of_detail = MIN2(MAX2(0, pCreateInfo->maxLod), 15); in v3dX()
221 s.min_level_of_detail = MIN2(MAX2(0, pCreateInfo->minLod), 15); in v3dX()
224 vk_to_v3d_compare_func[pCreateInfo->compareEnable ? in v3dX()
225 pCreateInfo->compareOp : VK_COMPARE_OP_NEVER]; in v3dX()
226 s.mip_filter_nearest = pCreateInfo->mipmapMode == VK_SAMPLER_MIPMAP_MODE_NEAREST; in v3dX()
227 s.min_filter_nearest = pCreateInfo->minFilter == VK_FILTER_NEAREST; in v3dX()
228 s.mag_filter_nearest = pCreateInfo->magFilter == VK_FILTER_NEAREST; in v3dX()