Tweak a few things in the pipeline state & config interfaces

* Remove reference out parameters that aren't a good fit for python
  bindings, and change a few names to make a better interface.
This commit is contained in:
baldurk
2017-04-18 14:57:48 +01:00
parent ceb73b85d9
commit a2a96a556c
7 changed files with 54 additions and 59 deletions
@@ -92,9 +92,10 @@ void ConstantBufferPreviewer::OnLogfileClosed()
void ConstantBufferPreviewer::OnEventChanged(uint32_t eventID)
{
uint64_t offs = 0;
uint64_t size = 0;
m_Ctx.CurPipelineState().GetConstantBuffer(m_stage, m_slot, m_arrayIdx, m_cbuffer, offs, size);
BoundCBuffer cb = m_Ctx.CurPipelineState().GetConstantBuffer(m_stage, m_slot, m_arrayIdx);
m_cbuffer = cb.Buffer;
uint64_t offs = cb.ByteOffset;
uint64_t size = cb.ByteSize;
m_shader = m_Ctx.CurPipelineState().GetShader(m_stage);
QString entryPoint = m_Ctx.CurPipelineState().GetShaderEntryPoint(m_stage);