Home
last modified time | relevance | path

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

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenccli_error_metrics.cpp277 vfloat4 normal2 = (color2 - 0.5f) * 2.0f; in compute_error_metrics() local
278 normal2 = normalize_safe(normal2.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()