DirectX 12 issues

Started by
5 comments, last by DividedByZero 8 years, 10 months ago
Hi guys,

I am currently trying to get a head start on DirectX 12 with the Windows 10 public release just around the corner.

I am using the latest Tech Preview of 10 (downloaded yesterday) and have installed VS 2015.

I am trying to follow the MSDN with regards to DX12 but the examples they give don't even come close to compiling.

Has anyone had any luck yet with building a DX12 based application? Even if it is something as fundamental as rendering a triangle?

Thanks in advance :)
Advertisement

Take a look at this sample https://code.msdn.microsoft.com/windowsapps/Direct3D-12-UAP-Sample-ecb1779f

It should work with the latest public SDK. If you don't like the UAP environment you can easily port the D3D12 intialization part (DeviceResources.cpp/h) to Win32 to get a barebone for your experiments.

Thanks for the reply.

I looked through that code earlier today actually :)

The odd thing is, it it full of DX11 calls and doesn't seem to reference any of the DX12 calls that are listed in the MSDN.

So, I am not sure if Microsoft mislabelled the example of whether they are using some sort of DX11/12 hybrid code.

The odd thing is, it it full of DX11 calls and doesn't seem to reference any of the DX12 calls that are listed in the MSDN.

What? Are you sure you are looking at the right source code?

Weird - apparently not. So it seems.

Re-downloaded it (it even overwrote the downloaded file) and it seems to be packed full of DX12 goodies. Odd.

Thanks again for pointing out the error of my ways :)

Hi DarkRonin,

you might want to take a look at this thread: http://www.gamedev.net/topic/666986-direct3d-12-documentation-is-now-public/. There are floating a couple of simple example codes around.

Thanks for the link. That certainly gives me a couple of things to try :)

This topic is closed to new replies.

Advertisement