Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.38 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.38 KB

DerelictMantle

Unofficial Derelict binding.

This project is closed, there is no way to compile to AMD IL. AMD has removed the AMD IL compiler and according to them it only worked for OpenCL Kernels in the first place.

A port of the experimental reverse-engineered header of the AMD Mantle library for the D Programming Language. Currently only MS Windows is supported, please make sure that you have a suitable GCN AMD/ATI GPU/APU and the mantle32.dll and mantleaxl32.dll (latest catalyst driver) is in your system path. An incomplete test project using some mantle functions can be found here. The windows API, in particular module win32.winuser, is required. Currently the expected Triangle is either not drawn or not displayed, contray to the c/c++ example code.

Please see the pages Building and Linking Derelict and Using Derelict, in the Derelict documentation. In the meantime, here's some sample code.

import derelict.mantle.mantle;

void main() {
    // Load the mantle32 library.
    DerelictMantle.load();

    // Now mantle functions can be called.
    ...
}