mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-04 13:04:21 +00:00
GL Reflection support for shadow Cube Map Array samplers Closes #3391
i.e. "samplerCubeArrayShadow" in GLSL
This commit is contained in:
1 parent
d0675c75bf
commit
89dd99d203
1 file changed
+6
@@ -1364,6 +1364,12 @@ void MakeShaderReflection(GLenum shadType, GLuint sepProg, ShaderReflection &ref
|
||||
res.variableType.name = "samplerCubeArray";
|
||||
res.variableType.baseType = VarType::Float;
|
||||
}
|
||||
else if(values[0] == eGL_SAMPLER_CUBE_MAP_ARRAY_SHADOW)
|
||||
{
|
||||
res.textureType = TextureType::TextureCubeArray;
|
||||
res.variableType.name = "samplerCubeArrayShadow";
|
||||
res.variableType.baseType = VarType::Float;
|
||||
}
|
||||
else if(values[0] == eGL_SAMPLER_2D_MULTISAMPLE)
|
||||
{
|
||||
res.textureType = TextureType::Texture2DMS;
|
||||
|
||||
Reference in new issue
Block a user