@ -407,10 +407,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
glUniform1fv ( location , count , values ) ;
glUniform1fv ( location , count , values ) ;
}
}
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const GLfloat * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const GLfloat * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform1fv ( _id , location , count , values ) ;
glProgramUniform1fv ( _id , location , count , values ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
}
# endif
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const GLfloat * const values ) {
# if !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform1fvEXT ( _id , location , count , values ) ;
glProgramUniform1fvEXT ( _id , location , count , values ) ;
# else
# else
static_cast < void > ( location ) ;
static_cast < void > ( location ) ;
@ -420,12 +424,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
# endif
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const GLfloat * const values ) {
glProgramUniform1fvEXT ( _id , location , count , values ) ;
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 2 , Float > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 2 , Float > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform2fvImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform2fvImplementation ) ( location , count , values ) ;
}
}
@ -435,10 +433,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
glUniform2fv ( location , count , values [ 0 ] . data ( ) ) ;
glUniform2fv ( location , count , values [ 0 ] . data ( ) ) ;
}
}
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform2fv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform2fv ( _id , location , count , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
}
# endif
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLfloat > * const values ) {
# if !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform2fvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform2fvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
# else
# else
static_cast < void > ( location ) ;
static_cast < void > ( location ) ;
@ -448,12 +450,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
# endif
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLfloat > * const values ) {
glProgramUniform2fvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 3 , Float > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 3 , Float > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform3fvImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform3fvImplementation ) ( location , count , values ) ;
}
}
@ -463,10 +459,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
glUniform3fv ( location , count , values [ 0 ] . data ( ) ) ;
glUniform3fv ( location , count , values [ 0 ] . data ( ) ) ;
}
}
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform3fv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform3fv ( _id , location , count , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
}
# endif
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLfloat > * const values ) {
# if !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform3fvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform3fvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
# else
# else
static_cast < void > ( location ) ;
static_cast < void > ( location ) ;
@ -476,12 +476,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
# endif
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLfloat > * const values ) {
glProgramUniform3fvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 4 , Float > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 4 , Float > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform4fvImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform4fvImplementation ) ( location , count , values ) ;
}
}
@ -491,10 +485,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
glUniform4fv ( location , count , values [ 0 ] . data ( ) ) ;
glUniform4fv ( location , count , values [ 0 ] . data ( ) ) ;
}
}
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform4fv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform4fv ( _id , location , count , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
}
# endif
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLfloat > * const values ) {
# if !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform4fvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform4fvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
# else
# else
static_cast < void > ( location ) ;
static_cast < void > ( location ) ;
@ -504,12 +502,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
# endif
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLfloat > * const values ) {
glProgramUniform4fvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Int * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Int * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform1ivImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform1ivImplementation ) ( location , count , values ) ;
}
}
@ -519,10 +511,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
glUniform1iv ( location , count , values ) ;
glUniform1iv ( location , count , values ) ;
}
}
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const GLint * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const GLint * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform1iv ( _id , location , count , values ) ;
glProgramUniform1iv ( _id , location , count , values ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
}
# endif
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const GLint * const values ) {
# if !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform1ivEXT ( _id , location , count , values ) ;
glProgramUniform1ivEXT ( _id , location , count , values ) ;
# else
# else
static_cast < void > ( location ) ;
static_cast < void > ( location ) ;
@ -532,12 +528,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
# endif
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const GLint * const values ) {
glProgramUniform1ivEXT ( _id , location , count , values ) ;
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 2 , Int > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 2 , Int > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform2ivImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform2ivImplementation ) ( location , count , values ) ;
}
}
@ -547,10 +537,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
glUniform2iv ( location , count , values [ 0 ] . data ( ) ) ;
glUniform2iv ( location , count , values [ 0 ] . data ( ) ) ;
}
}
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLint > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLint > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform2iv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform2iv ( _id , location , count , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
}
# endif
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLint > * const values ) {
# if !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform2ivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform2ivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
# else
# else
static_cast < void > ( location ) ;
static_cast < void > ( location ) ;
@ -560,12 +554,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
# endif
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLint > * const values ) {
glProgramUniform2ivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 3 , Int > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 3 , Int > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform3ivImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform3ivImplementation ) ( location , count , values ) ;
}
}
@ -575,10 +563,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
glUniform3iv ( location , count , values [ 0 ] . data ( ) ) ;
glUniform3iv ( location , count , values [ 0 ] . data ( ) ) ;
}
}
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLint > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLint > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform3iv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform3iv ( _id , location , count , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
}
# endif
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLint > * const values ) {
# if !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform3ivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform3ivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
# else
# else
static_cast < void > ( location ) ;
static_cast < void > ( location ) ;
@ -588,12 +580,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
# endif
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLint > * const values ) {
glProgramUniform3ivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 4 , Int > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 4 , Int > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform4ivImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform4ivImplementation ) ( location , count , values ) ;
}
}
@ -603,10 +589,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
glUniform4iv ( location , count , values [ 0 ] . data ( ) ) ;
glUniform4iv ( location , count , values [ 0 ] . data ( ) ) ;
}
}
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLint > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLint > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform4iv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform4iv ( _id , location , count , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
}
# endif
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLint > * const values ) {
# if !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform4ivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform4ivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
# else
# else
static_cast < void > ( location ) ;
static_cast < void > ( location ) ;
@ -616,12 +606,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
# endif
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLint > * const values ) {
glProgramUniform4ivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
# endif
# ifndef MAGNUM_TARGET_GLES2
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const UnsignedInt * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const UnsignedInt * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform1uivImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform1uivImplementation ) ( location , count , values ) ;
@ -633,23 +617,12 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
}
}
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const GLuint * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const GLuint * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform1uiv ( _id , location , count , values ) ;
glProgramUniform1uiv ( _id , location , count , values ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform1uivEXT ( _id , location , count , values ) ;
# else
static_cast < void > ( location ) ;
static_cast < void > ( count ) ;
static_cast < void > ( values ) ;
CORRADE_ASSERT_UNREACHABLE ( ) ;
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const GLuint * const values ) {
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const GLuint * const values ) {
glProgramUniform1uivEXT ( _id , location , count , values ) ;
glProgramUniform1uivEXT ( _id , location , count , values ) ;
}
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 2 , UnsignedInt > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 2 , UnsignedInt > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform2uivImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform2uivImplementation ) ( location , count , values ) ;
@ -661,23 +634,12 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
}
}
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLuint > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLuint > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform2uiv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform2uiv ( _id , location , count , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform2uivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
# else
static_cast < void > ( location ) ;
static_cast < void > ( count ) ;
static_cast < void > ( values ) ;
CORRADE_ASSERT_UNREACHABLE ( ) ;
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLuint > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLuint > * const values ) {
glProgramUniform2uivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform2uivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 3 , UnsignedInt > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 3 , UnsignedInt > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform3uivImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform3uivImplementation ) ( location , count , values ) ;
@ -689,23 +651,12 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
}
}
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLuint > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLuint > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform3uiv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform3uiv ( _id , location , count , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform3uivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
# else
static_cast < void > ( location ) ;
static_cast < void > ( count ) ;
static_cast < void > ( values ) ;
CORRADE_ASSERT_UNREACHABLE ( ) ;
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLuint > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLuint > * const values ) {
glProgramUniform3uivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform3uivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 4 , UnsignedInt > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : Vector < 4 , UnsignedInt > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform4uivImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniform4uivImplementation ) ( location , count , values ) ;
@ -717,24 +668,13 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
}
}
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLuint > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLuint > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniform4uiv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform4uiv ( _id , location , count , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniform4uivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
# else
static_cast < void > ( location ) ;
static_cast < void > ( count ) ;
static_cast < void > ( values ) ;
CORRADE_ASSERT_UNREACHABLE ( ) ;
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLuint > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLuint > * const values ) {
glProgramUniform4uivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform4uivEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
}
# endif
# endif
# endif
# ifndef MAGNUM_TARGET_GLES
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Double * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Double * const values ) {
@ -750,7 +690,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniform1dv ( _id , location , count , values ) ;
glProgramUniform1dv ( _id , location , count , values ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const GLdouble * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const GLdouble * const values ) {
glProgramUniform1dvEXT ( _id , location , count , values ) ;
glProgramUniform1dvEXT ( _id , location , count , values ) ;
}
}
@ -767,7 +707,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniform2dv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform2dv ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : Vector < 2 , GLdouble > * const values ) {
glProgramUniform2dvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform2dvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
}
@ -784,7 +724,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniform3dv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform3dv ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : Vector < 3 , GLdouble > * const values ) {
glProgramUniform3dvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform3dvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
}
@ -801,7 +741,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniform4dv ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform4dv ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : Vector < 4 , GLdouble > * const values ) {
glProgramUniform4dvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
glProgramUniform4dvEXT ( _id , location , count , values [ 0 ] . data ( ) ) ;
}
}
# endif
# endif
@ -815,10 +755,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
glUniformMatrix2fv ( location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glUniformMatrix2fv ( location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 2 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 2 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniformMatrix2fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
}
# endif
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 2 , GLfloat > * const values ) {
# if !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniformMatrix2fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# else
# else
static_cast < void > ( location ) ;
static_cast < void > ( location ) ;
@ -828,12 +772,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
# endif
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 2 , GLfloat > * const values ) {
glProgramUniformMatrix2fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 3 , 3 , Float > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 3 , 3 , Float > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix3fvImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix3fvImplementation ) ( location , count , values ) ;
}
}
@ -843,10 +781,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
glUniformMatrix3fv ( location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glUniformMatrix3fv ( location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 3 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 3 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniformMatrix3fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
}
# endif
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 3 , GLfloat > * const values ) {
# if !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniformMatrix3fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# else
# else
static_cast < void > ( location ) ;
static_cast < void > ( location ) ;
@ -856,12 +798,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
# endif
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 3 , GLfloat > * const values ) {
glProgramUniformMatrix3fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 4 , 4 , Float > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 4 , 4 , Float > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix4fvImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix4fvImplementation ) ( location , count , values ) ;
}
}
@ -871,10 +807,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
glUniformMatrix4fv ( location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glUniformMatrix4fv ( location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 4 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 4 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniformMatrix4fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
}
# endif
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 4 , GLfloat > * const values ) {
# if !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniformMatrix4fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# else
# else
static_cast < void > ( location ) ;
static_cast < void > ( location ) ;
@ -884,12 +824,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
# endif
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 4 , GLfloat > * const values ) {
glProgramUniformMatrix4fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
# endif
# ifndef MAGNUM_TARGET_GLES2
# ifndef MAGNUM_TARGET_GLES2
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 2 , 3 , Float > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 2 , 3 , Float > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix2x3fvImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix2x3fvImplementation ) ( location , count , values ) ;
@ -901,23 +835,12 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
}
}
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 3 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 3 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniformMatrix2x3fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2x3fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniformMatrix2x3fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# else
static_cast < void > ( location ) ;
static_cast < void > ( count ) ;
static_cast < void > ( values ) ;
CORRADE_ASSERT_UNREACHABLE ( ) ;
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 3 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 3 , GLfloat > * const values ) {
glProgramUniformMatrix2x3fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2x3fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 3 , 2 , Float > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 3 , 2 , Float > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix3x2fvImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix3x2fvImplementation ) ( location , count , values ) ;
@ -929,23 +852,12 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
}
}
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 2 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 2 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniformMatrix3x2fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniformMatrix3x2fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3x2fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# else
static_cast < void > ( location ) ;
static_cast < void > ( count ) ;
static_cast < void > ( values ) ;
CORRADE_ASSERT_UNREACHABLE ( ) ;
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 2 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 2 , GLfloat > * const values ) {
glProgramUniformMatrix3x2fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3x2fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 2 , 4 , Float > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 2 , 4 , Float > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix2x4fvImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix2x4fvImplementation ) ( location , count , values ) ;
@ -957,23 +869,12 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
}
}
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 4 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 4 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniformMatrix2x4fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2x4fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniformMatrix2x4fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# else
static_cast < void > ( location ) ;
static_cast < void > ( count ) ;
static_cast < void > ( values ) ;
CORRADE_ASSERT_UNREACHABLE ( ) ;
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 4 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 4 , GLfloat > * const values ) {
glProgramUniformMatrix2x4fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2x4fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 4 , 2 , Float > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 4 , 2 , Float > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix4x2fvImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix4x2fvImplementation ) ( location , count , values ) ;
@ -985,23 +886,12 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
}
}
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 2 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 2 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniformMatrix4x2fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4x2fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniformMatrix4x2fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# else
static_cast < void > ( location ) ;
static_cast < void > ( count ) ;
static_cast < void > ( values ) ;
CORRADE_ASSERT_UNREACHABLE ( ) ;
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 2 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 2 , GLfloat > * const values ) {
glProgramUniformMatrix4x2fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4x2fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 3 , 4 , Float > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 3 , 4 , Float > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix3x4fvImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix3x4fvImplementation ) ( location , count , values ) ;
@ -1013,23 +903,12 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
}
}
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 4 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 4 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniformMatrix3x4fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3x4fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniformMatrix3x4fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# else
static_cast < void > ( location ) ;
static_cast < void > ( count ) ;
static_cast < void > ( values ) ;
CORRADE_ASSERT_UNREACHABLE ( ) ;
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 4 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 4 , GLfloat > * const values ) {
glProgramUniformMatrix3x4fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3x4fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
# endif
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 4 , 3 , Float > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 4 , 3 , Float > * const values ) {
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix4x3fvImplementation ) ( location , count , values ) ;
( this - > * Context : : current ( ) - > state ( ) . shaderProgram - > uniformMatrix4x3fvImplementation ) ( location , count , values ) ;
@ -1041,24 +920,13 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
}
}
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 3 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationSSO ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 3 , GLfloat > * const values ) {
# ifndef MAGNUM_TARGET_GLES
glProgramUniformMatrix4x3fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4x3fv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glProgramUniformMatrix4x3fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
# else
static_cast < void > ( location ) ;
static_cast < void > ( count ) ;
static_cast < void > ( values ) ;
CORRADE_ASSERT_UNREACHABLE ( ) ;
# endif
}
}
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : uniformImplementationDSAEXT_SSOEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 3 , GLfloat > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 3 , GLfloat > * const values ) {
glProgramUniformMatrix4x3fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4x3fvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
# endif
# endif
# endif
# ifndef MAGNUM_TARGET_GLES
# ifndef MAGNUM_TARGET_GLES
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 2 , 2 , Double > * const values ) {
void AbstractShaderProgram : : setUniform ( const Int location , const UnsignedInt count , const Math : : RectangularMatrix < 2 , 2 , Double > * const values ) {
@ -1074,7 +942,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniformMatrix2dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 2 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 2 , GLdouble > * const values ) {
glProgramUniformMatrix2dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
@ -1091,7 +959,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniformMatrix3dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 3 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 3 , GLdouble > * const values ) {
glProgramUniformMatrix3dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
@ -1108,7 +976,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniformMatrix4dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 4 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 4 , GLdouble > * const values ) {
glProgramUniformMatrix4dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
@ -1125,7 +993,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniformMatrix2x3dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2x3dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 3 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 3 , GLdouble > * const values ) {
glProgramUniformMatrix2x3dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2x3dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
@ -1142,7 +1010,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniformMatrix3x2dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3x2dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 2 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 2 , GLdouble > * const values ) {
glProgramUniformMatrix3x2dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3x2dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
@ -1159,7 +1027,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniformMatrix2x4dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2x4dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 4 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 2 , 4 , GLdouble > * const values ) {
glProgramUniformMatrix2x4dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix2x4dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
@ -1176,7 +1044,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniformMatrix4x2dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4x2dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 2 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 2 , GLdouble > * const values ) {
glProgramUniformMatrix4x2dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4x2dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
@ -1193,7 +1061,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniformMatrix3x4dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3x4dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 4 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 3 , 4 , GLdouble > * const values ) {
glProgramUniformMatrix3x4dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix3x4dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
@ -1210,7 +1078,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
glProgramUniformMatrix4x3dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4x3dv ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
void AbstractShaderProgram : : uniformImplementationDSA ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 3 , GLdouble > * const values ) {
void AbstractShaderProgram : : uniformImplementationDSAEXT ( const GLint location , const GLsizei count , const Math : : RectangularMatrix < 4 , 3 , GLdouble > * const values ) {
glProgramUniformMatrix4x3dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
glProgramUniformMatrix4x3dvEXT ( _id , location , count , GL_FALSE , values [ 0 ] . data ( ) ) ;
}
}
# endif
# endif