mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 06:56:40 +00:00
Store API pipeline states in the replay controller
* Instead of storing the API pipeline states in the replay driver and returning pointers, we store them in the replay controller and write into it from the replay driver. * This will allow us to remove the replay driver and still keep any previously obtained references/pointers to the pipeline state valid.
This commit is contained in:
@@ -553,7 +553,7 @@ void ResourceInspector::on_viewContents_clicked()
|
||||
ResourceId id = m_Resource;
|
||||
ICaptureContext *ctx = &m_Ctx;
|
||||
m_Ctx.Replay().AsyncInvoke([this, ctx, pipeid, id, entry](IReplayController *r) {
|
||||
ShaderReflection *refl = r->GetShader(pipeid, id, entry);
|
||||
const ShaderReflection *refl = r->GetShader(pipeid, id, entry);
|
||||
|
||||
if(!refl)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user