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
2016-04-23 13:03:41 +02:00
parent e89fab7802
commit 5867d7ada1
4 changed files with 24 additions and 3 deletions
@@ -126,6 +126,7 @@ namespace renderdoc
public bool Structured;
public UInt32 BufferStructCount;
public UInt32 ElementSize;
// Buffer (SRV)
public UInt32 ElementOffset;