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

Function SetDefaultEPOCode

cmp_core/shaders/bc7_encode_kernel.cpp:969–979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

967}
968
969INLINE void SetDefaultEPOCode(CGV_INT epo_code_io[8], CGV_INT R, CGV_INT G, CGV_INT B, CGV_INT A)
970{
971 epo_code_io[0] = R;
972 epo_code_io[1] = G;
973 epo_code_io[2] = B;
974 epo_code_io[3] = A;
975 epo_code_io[4] = R;
976 epo_code_io[5] = G;
977 epo_code_io[6] = B;
978 epo_code_io[7] = A;
979}
980
981void GetProjectedIndex(CGV_UINT8 projected_index_out[MAX_SUBSET_SIZE], //output: index, uncentered, in the range 0..clusters-1
982 CGV_FLOAT image_projected[SOURCE_BLOCK_SIZE], // image_block points, might be uncentered

Callers 2

quant_solid_colorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected