Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17560

Problems with a structured buffer in DX12

$
0
0

Hello everybody. I'm learning D3D12, so sorry if my question is kind of stupid. I'm having some troubles with a structured buffer. In general I want to implement particles using a compute shader. But my structured buffer doesn't work.
 
In the beggining I had a vertex buffer of points. Then I appled GS and I received billboards. It works. Now I want to use a structured buffer instead of a vertex buffer. When I try to use it a debug layer doesn't give me any information. I don't understand what I do wrong.

 

It is a pipeline with a vertex buffer.

Spoiler

 

It is a pipeline with a structured buffer.

Spoiler

 

Do you have any idea of what I'm doing wrong?


Viewing all articles
Browse latest Browse all 17560

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>