MCPcopy Create free account
hub / github.com/GPUOpen-Tools/compressonator / DecompressBlockBC3

Function DecompressBlockBC3

cmp_core/shaders/bc3_encode_kernel.cpp:191–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191int CMP_CDECL DecompressBlockBC3(const unsigned char cmpBlock[16], CMP_GLOBAL unsigned char srcBlock[64], const void* options = NULL)
192{
193 CMP_BC15Options* BC15options = (CMP_BC15Options*)options;
194 CMP_BC15Options BC15optionsDefault;
195 if (BC15options == NULL)
196 {
197 BC15options = &BC15optionsDefault;
198 SetDefaultBC15Options(BC15options);
199 }
200 DecompressBC3_Internal(srcBlock, (CGU_UINT32*)cmpBlock, BC15options);
201 return CGU_CORE_OK;
202}
203#endif
204
205//============================================== OpenCL USER INTERFACE ====================================================

Callers 4

DecompressMethod · 0.85
core_tests.cppFile · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 2

SetDefaultBC15OptionsFunction · 0.85
DecompressBC3_InternalFunction · 0.85

Tested by 1

mainFunction · 0.68