Pass through resource view element size in D3D11 pipeline state

* This lets us calculate the offset and visible length when opening a
  buffer view from a resource binding.
This commit is contained in:
baldurk committed 2016-04-23 13:03:41 +02:00
1 parent e89fab7802
commit 5867d7ada1
4 files changed
+24 -3

No files matched your search

@@ -126,6 +126,7 @@ namespace renderdoc
public bool Structured;
public UInt32 BufferStructCount;
public UInt32 ElementSize;
// Buffer (SRV)
public UInt32 ElementOffset;