mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
ecd8dd0ade
* If we return back (accurate) replaced IDs in current pipeline state, the UI won't recognise them since the list of resources is cached and fixed at load time. * The replaced ID is still present in the shader reflection info as we return the replaced shader's reflection and not the original's. * We also change how we replace a programshader (glCreateShaderProgramv) on GL. Instead of creating a program and a shader - resulting in two objects replacing one - we instead replace the shader that got built with a program. We can do this safely since we know the shader won't be used as an actual real shader (since it was a program in the original capture too).