mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-20 06:24:17 +00:00
pica_to_gl: Add GLuvec{2,3,4} aliases
To allow for transfer for integers into shaders.
This commit is contained in:
parent
7d8b7d93fc
commit
8186820d16
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ using GLvec2 = std::array<GLfloat, 2>;
|
||||||
using GLvec3 = std::array<GLfloat, 3>;
|
using GLvec3 = std::array<GLfloat, 3>;
|
||||||
using GLvec4 = std::array<GLfloat, 4>;
|
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 {
|
namespace PicaToGL {
|
||||||
|
|
||||||
inline GLenum TextureFilterMode(Pica::TexturingRegs::TextureConfig::TextureFilter mode) {
|
inline GLenum TextureFilterMode(Pica::TexturingRegs::TextureConfig::TextureFilter mode) {
|
||||||
|
|
Loading…
Reference in a new issue