From c1287fe853ac178ff78a298b60fb06f09ae3cda9 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 2 Dec 2014 00:14:16 +0000 Subject: [PATCH] Include SAMPLER_CUBE_MAP_ARRAY in switch (as any other sampler type) --- renderdoc/driver/gl/gl_common.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/renderdoc/driver/gl/gl_common.cpp b/renderdoc/driver/gl/gl_common.cpp index 9f071d24f..759e3a160 100644 --- a/renderdoc/driver/gl/gl_common.cpp +++ b/renderdoc/driver/gl/gl_common.cpp @@ -606,6 +606,7 @@ static void ForAllProgramUniforms(const GLHookSet &gl, Serialiser *ser, GLuint p case GL_SAMPLER_2D: case GL_SAMPLER_3D: case GL_SAMPLER_CUBE: + case GL_SAMPLER_CUBE_MAP_ARRAY: case GL_SAMPLER_1D_SHADOW: case GL_SAMPLER_2D_SHADOW: case GL_SAMPLER_1D_ARRAY: @@ -724,6 +725,7 @@ static void ForAllProgramUniforms(const GLHookSet &gl, Serialiser *ser, GLuint p case GL_SAMPLER_2D: case GL_SAMPLER_3D: case GL_SAMPLER_CUBE: + case GL_SAMPLER_CUBE_MAP_ARRAY: case GL_SAMPLER_1D_SHADOW: case GL_SAMPLER_2D_SHADOW: case GL_SAMPLER_1D_ARRAY: