Skip to content

ParticlePeter/DerelictMantle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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.
    ...
}

About

Experimental reverse-engineered binding to AMD mantle

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages