Home
last modified time | relevance | path

Searched refs:anv_clamp_f (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/intel/vulkan/
DgenX_state.c195 return (anv_clamp_f(ratio, 2, 16) - 2) / 2; in vk_to_gen_max_anisotropy()
308 .TextureLODBias = anv_clamp_f(pCreateInfo->mipLodBias, -16, 15.996), in genX()
310 .MinLOD = anv_clamp_f(pCreateInfo->minLod, 0, 14), in genX()
311 .MaxLOD = anv_clamp_f(pCreateInfo->maxLod, 0, 14), in genX()
Danv_private.h157 anv_clamp_f(float f, float min, float max) in anv_clamp_f() function