mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-16 17:19:20 +00:00
Fix missing else that caused all samplers to be skipped. Oooops.
This commit is contained in:
1 parent
6326b3344d
commit
a1bc380f06
1 file changed
+1
-1
@@ -850,7 +850,7 @@ void MakeShaderReflection(const GLHookSet &gl, GLenum shadType, GLuint sepProg,
|
||||
res.variableType.descriptor.type = eVar_UInt;
|
||||
}
|
||||
// float images
|
||||
if(values[0] == eGL_IMAGE_BUFFER)
|
||||
else if(values[0] == eGL_IMAGE_BUFFER)
|
||||
{
|
||||
res.resType = eResType_Buffer;
|
||||
res.variableType.descriptor.name = "imageBuffer";
|
||||
|
||||
Reference in new issue
Block a user