mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
Use bindpoint mapping when looking up read-write resources on GL
This commit is contained in:
@@ -1010,7 +1010,7 @@ void GLPipelineStateViewer::setShaderState(const GLPipe::Shader &stage, RDLabel
|
||||
for(int i = 0; shaderDetails && i < shaderDetails->readWriteResources.count(); i++)
|
||||
{
|
||||
const ShaderResource &res = shaderDetails->readWriteResources[i];
|
||||
int bindPoint = stage.bindpointMapping.readWriteResources[i].bind;
|
||||
int bindPoint = stage.bindpointMapping.readWriteResources[res.bindPoint].bind;
|
||||
|
||||
GLReadWriteType readWriteType = GetGLReadWriteType(res);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user