diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-08-13 21:25:54 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-08-13 21:25:54 +0100 |
commit | 6f05ff3b9e3da0f394a23b5a6c94a08f8bdd1532 (patch) | |
tree | 46402d4db80bbbeb531d98f5e33181b717ce3d0f /helpers | |
parent | 6a7815c2c75464e687a45b1c696bdbcfdd567360 (diff) |
glretrace: Support GL_ARB_gpu_shader_int64 uniforms.
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/glsize.hpp | 30 |
1 files changed, 30 insertions, 0 deletions
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; |