From 8186820d1674753abaa8ea04d569e905f0a6c0fd Mon Sep 17 00:00:00 2001 From: MerryMage <MerryMage@users.noreply.github.com> Date: Wed, 27 Dec 2017 13:10:15 +0000 Subject: [PATCH] pica_to_gl: Add GLuvec{2,3,4} aliases To allow for transfer for integers into shaders. --- src/video_core/renderer_opengl/pica_to_gl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/video_core/renderer_opengl/pica_to_gl.h b/src/video_core/renderer_opengl/pica_to_gl.h index 6005c6148..45d4bc4bb 100644 --- a/src/video_core/renderer_opengl/pica_to_gl.h +++ b/src/video_core/renderer_opengl/pica_to_gl.h @@ -19,6 +19,10 @@ using GLvec2 = std::array<GLfloat, 2>; using GLvec3 = std::array<GLfloat, 3>; using GLvec4 = std::array<GLfloat, 4>; +using GLuvec2 = std::array<GLuint, 2>; +using GLuvec3 = std::array<GLuint, 3>; +using GLuvec4 = std::array<GLuint, 4>; + namespace PicaToGL { inline GLenum TextureFilterMode(Pica::TexturingRegs::TextureConfig::TextureFilter mode) {