Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GPUOpen-Tools/compressonator
/ normalize
Function
normalize
cmp_compressonatorlib/astc/astc_encode_kernel.cpp:73–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
}
72
73
float2 normalize(float2 p)
74
{
75
return p / length(p);
76
}
77
78
float3 normalize(float3 p)
79
{
Callers
6
compute_endpoints_and_ideal_weights_rgba
Function · 0.70
compute_endpoints_and_ideal_weights_3_components
Function · 0.70
recompute_ideal_colors
Function · 0.70
compute_endpoints_and_ideal_weights_2_components
Function · 0.70
compute_encoding_choice_errors
Function · 0.70
find_best_partitionings
Function · 0.70
Calls
1
length
Function · 0.70
Tested by
no test coverage detected