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

Function DecompressBlockBC2

cmp_core/shaders/bc2_encode_kernel.cpp:203–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203int CMP_CDECL DecompressBlockBC2(const unsigned char cmpBlock[16], CMP_GLOBAL unsigned char srcBlock[64], const void* options = NULL)
204{
205 CMP_BC15Options* BC15options = (CMP_BC15Options*)options;
206 CMP_BC15Options BC15optionsDefault;
207 if (BC15options == NULL)
208 {
209 BC15options = &BC15optionsDefault;
210 SetDefaultBC15Options(BC15options);
211 }
212 DecompressBC2_Internal(srcBlock, (CGU_UINT32*)cmpBlock, BC15options);
213
214 return CGU_CORE_OK;
215}
216#endif
217
218//============================================== OpenCL USER INTERFACE ========================================================

Callers 4

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

Calls 2

SetDefaultBC15OptionsFunction · 0.85
DecompressBC2_InternalFunction · 0.85

Tested by 1

mainFunction · 0.68