mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-10 12:00:31 +00:00
GL Reflection support for shadow Cube Map Array samplers Closes #3391
i.e. "samplerCubeArrayShadow" in GLSL
This commit is contained in:
@@ -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