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

Function SetDefaultIndex

cmp_core/shaders/bc7_encode_kernel.cpp:962–967  ·  view source on GitHub ↗

===================================== COMPRESS CODE =============================================

Source from the content-addressed store, hash-verified

960
961//===================================== COMPRESS CODE =============================================
962INLINE void SetDefaultIndex(CGV_UINT8 index_io[MAX_SUBSET_SIZE])
963{
964 // Use this a final call
965 for (CGU_INT i = 0; i < MAX_SUBSET_SIZE; i++)
966 index_io[i] = 0;
967}
968
969INLINE void SetDefaultEPOCode(CGV_INT epo_code_io[8], CGV_INT R, CGV_INT G, CGV_INT B, CGV_INT A)
970{

Callers 2

GetProjectedIndexFunction · 0.85
GetQuantizeIndexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected