Fix array indexing crashes, ditch a lot of messing with UAV start slot

* The UAV array is provided as we expect it - with UAVs from 0 onwards
  even if their 'slots' are 4, 5, 6 etc or whatever. UAVStartSlot is
  the slot of the 0th UAV.
This commit is contained in:
baldurk committed 2015-02-27 14:07:58 +00:00
1 parent a50445781f
commit cca206a356
3 files changed
+7 -8

No files matched your search

+3
View File
@@ -203,6 +203,9 @@ struct D3D11PipelineState
struct OutputMerger
{
OutputMerger()
: UAVStartSlot(0), DepthReadOnly(false), StencilReadOnly(false) {}
struct DepthStencilState
{
DepthStencilState()