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

Function CMP_GetDeviceInfo

cmp_framework/compute_base.cpp:374–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374CMP_ERROR CMP_API CMP_GetDeviceInfo(KernelDeviceInfo* pDeviceInfo)
375{
376 CMP_ERROR result;
377 if (g_ComputeBase)
378 {
379 result = g_ComputeBase->TC_GetDeviceInfo(pDeviceInfo);
380 if (result != CMP_OK)
381 return (result);
382 }
383 else
384 return CMP_ABORTED;
385 return CMP_OK;
386}
387
388CMP_ERROR CMP_API CMP_CompressTexture(KernelOptions* options, CMP_MipSet srcMipSet, CMP_MipSet dstMipSet, CMP_Feedback_Proc pFeedback)
389{

Callers 3

CMP_ConvertMipTextureCGPFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

TC_GetDeviceInfoMethod · 0.45

Tested by 2

mainFunction · 0.68
mainFunction · 0.68