Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GPUOpen-Tools/compressonator
/ swap
Function
swap
cmp_core/shaders/bc6_encode_kernel.cpp:54–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
}
53
54
void swap(CGU_INT A, CGU_INT B)
55
{
56
CGU_INT hold = A;
57
A = B;
58
B = hold;
59
}
60
61
#define abs fabs
62
#define floorf floor
Callers
1
SwapIndices
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected