mirror of
https://github.com/citra-emu/citra-canary.git
synced 2024-12-23 11:15:44 +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
|
@ -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