edgar-mtz-e / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

Setting NULL layout in DX10 #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Common way to draw fullscreen quad in DX10 is to set NULL input layout, 
TriangleStrip primitive topology and then call Draw(3, 0). But when null 
is passed to InputAssembler.SetInputLayout in SlimDX, exception is raised.

Probably there is some other simple and flexible way to create empty input 
layout (without shader signature and other weird stuff).

Original issue reported on code.google.com by boris.ja...@gmail.com on 22 May 2008 at 9:44

GoogleCodeExporter commented 9 years ago
No, this is an oversight -- a bad nullptr check in SetInputLayout. I'll take 
care of 
it.

Original comment by josh.petrie on 23 May 2008 at 1:18

GoogleCodeExporter commented 9 years ago

Original comment by josh.petrie on 23 May 2008 at 1:21