Targeting Vulkan and SPIR-V

Joakim via Digitalmars-d digitalmars-d at
Fri Mar 6 15:25:37 PST 2015

The ground-up redesign of OpenGL, now called Vulkan, has been 
announced at GDC:

Both graphics shaders and the latest verson of OpenCL, which 
enables computation on the GPU, will target a new IR called 

Rather than being forced to use C-like languages like GLSL or 
OpenCL in the past, this new IR will allow writing graphics 
shaders and OpenCL code using any language, including a subset of 
C++14 stripped of exceptions, function pointers, and virtual 

This would be a good opportunity for D, if ldc or gdc could be 
made to target SPIR-V.  Ldc would seem to have a leg up, since 
SPIR was originally based on LLVM IR before diverging with SPIR-V.

More information about the Digitalmars-d mailing list