Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GPUOpen-Tools/compressonator
/ SetGammaBC2
Function
SetGammaBC2
cmp_core/shaders/bc2_encode_kernel.cpp:131–134 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
129
}
130
131
int CMP_CDECL SetGammaBC2(void* options, CGU_BOOL sRGB)
132
{
133
return SetSrgbBC2(options, sRGB);
134
}
135
136
#define EXPLICIT_ALPHA_PIXEL_MASK 0xf
137
#define EXPLICIT_ALPHA_PIXEL_BPP 4
Callers
1
main
Function · 0.85
Calls
1
SetSrgbBC2
Function · 0.85
Tested by
1
main
Function · 0.68