Ok, so when i try to compile it says

src\opencl\c\cl_d3d10.d(88): Error: undefined identifier UINT
src\opencl\c\cl_d3d10.d(96): Error: undefined identifier UINT

and upon changing those to uint I get

src\opencl\c\cl_d3d11.d(77): Error: undefined identifier ID3D11Buffer
src\opencl\c\cl_d3d11.d(84): Error: undefined identifier ID3D11Texture2D
src\opencl\c\cl_d3d11.d(91): Error: undefined identifier ID3D11Texture3D

What am I missing?

Well the DirectX stuff isn't tested at all.
I always compile with rdmd so these modules aren't compiled.
The uint errors are small cases I overlooked.
The rest is obvious: cl4d knows nothing about DirectX, so you need a binding.

Maybe I should just turn these into void* to get rid of the errors, but then you loose type safety, hmm.

Reply via email to