From 6f05ff3b9e3da0f394a23b5a6c94a08f8bdd1532 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Thu, 13 Aug 2015 21:25:54 +0100 Subject: glretrace: Support GL_ARB_gpu_shader_int64 uniforms. --- helpers/glsize.hpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'helpers') diff --git a/helpers/glsize.hpp b/helpers/glsize.hpp index f0f2ae6b..9557a612 100644 --- a/helpers/glsize.hpp +++ b/helpers/glsize.hpp @@ -146,6 +146,36 @@ _gl_uniform_size(GLenum type, GLenum &elemType, GLint &numCols, GLint &numRows) elemType = GL_UNSIGNED_INT; numCols = 4; break; + case GL_INT64_ARB: + elemType = GL_INT64_ARB; + break; + case GL_INT64_VEC2_ARB: + elemType = GL_INT64_ARB; + numCols = 2; + break; + case GL_INT64_VEC3_ARB: + elemType = GL_INT64_ARB; + numCols = 3; + break; + case GL_INT64_VEC4_ARB: + elemType = GL_INT64_ARB; + numCols = 4; + break; + case GL_UNSIGNED_INT64_ARB: + elemType = GL_UNSIGNED_INT64_ARB; + break; + case GL_UNSIGNED_INT64_VEC2_ARB: + elemType = GL_UNSIGNED_INT64_ARB; + numCols = 2; + break; + case GL_UNSIGNED_INT64_VEC3_ARB: + elemType = GL_UNSIGNED_INT64_ARB; + numCols = 3; + break; + case GL_UNSIGNED_INT64_VEC4_ARB: + elemType = GL_UNSIGNED_INT64_ARB; + numCols = 4; + break; case GL_BOOL: elemType = GL_BOOL; break; -- cgit v1.2.3