Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AMD Mantle API Documentation [closed]

Is documentation for AMD Mantle available somewhere ? I can't find anything on http://developer.amd.com/

Comparision of OpenGL,DirectX and Mantle would be nice, if Mantle is at the same level ob abstraction.

like image 375
Zayl Avatar asked Jan 31 '14 10:01

Zayl


1 Answers

According to the GDC presentation the Mantle Beta SDK developer website will opening in April. But there will be only selected access. You have to contact AMD if want to have access to it. You have also to sign a secrecy agreement. Because of this I think there will be no public documentation available.

By the way the prementioned presentation shows some code snippets, which gives you some hints how the API looks like. It seems that Mantle is more like Direct3D 12 offering pipeline state objects, command list, discriptor heaps and tables.

Things like bindless textures resources also already avaible in OpenGL.

This presentation shows some code snippets of using Mantle - like this one:

GR_APPLICATION_INFO appINfo = {};
appInfo.pAppName = "myApp";
appInfo.pEngineName = "myEngine";
appInfo.apiVersion = GR_API_VERSION;

GR_UINT32 gpuCount;
GR_PYSICAL_GPU gups[GR_MAX_PHYSICAL_GPUS];

GR_RESULT result = grInitAndEnumerateGpus(&appInfo, nullptr, &gpuCount, &gpus[0]);

if(result == GR_SUCCESS)
{
    FindSutableGPu(gpus, gpuCount);
}

You can register for the Mantle beta program here: http://developer.amd.com/mantle/

like image 156
Vertexwahn Avatar answered Nov 15 '22 15:11

Vertexwahn