Home
last modified time | relevance | path

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

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenccli_error_metrics.cpp274 vfloat4 normal1 = (color1 - 0.5f) * 2.0f; in compute_error_metrics() local
275 normal1 = normalize_safe(normal1.swz<0, 1, 2>(), unit3()); in compute_error_metrics()
281 float normal_cos = clamp(-1.0f, 1.0f, dot3(normal1, normal2)).lane<0>(); in compute_error_metrics()