mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-30 10:25:43 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user