Home
last modified time | relevance | path

Searched refs:minLodRelative (Results 1 - 1 of 1) sorted by relevance

/third_party/vk-gl-cts/framework/common/
H A DtcuTexture.cpp2661 // minLodRelative is used to calculate the image level to sample from, when VK_EXT_image_view_min_lod extension is enabled. in sampleLevelArray2DOffset()
2663 const float minLodRelative = (minLodParams != DE_NULL) ? getImageViewMinLod(minLodParams->minLod) - (float)minLodParams->baseLevel : 0.0f; in sampleLevelArray2DOffset() local
2674 if (lod < deFloatFloor(minLodRelative) || lod >= (float)numLevels) in sampleLevelArray2DOffset()
2690 const int level0 = isLinearMipmapMode ? (int)deFloatFloor(minLodRelative) : deClamp32((int)deFloatCeil(minLodRelative + 0.5f) - 1, 0, maxLevel); in sampleLevelArray2DOffset()
2696 const float frac = deFloatFrac(minLodRelative); in sampleLevelArray2DOffset()
2707 lod = de::max(lod, minLodRelative); in sampleLevelArray2DOffset()
2730 lod = de::max(lod, minLodRelative); in sampleLevelArray2DOffset()
2760 // minLodRelative is used to calculate the image level to sample from, when VK_EXT_image_view_min_lod extension is enabled. in sampleLevelArray3DOffset()
2762 const float minLodRelative in sampleLevelArray3DOffset() local
[all...]

Completed in 6 milliseconds