|
|
|
|
@ -394,10 +394,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
glUniform1fv(location, count, values); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
|
void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const GLsizei count, const GLfloat* const values) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
@ -407,12 +411,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
#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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniform2fvImplementation)(location, count, values); |
|
|
|
|
} |
|
|
|
|
@ -422,10 +420,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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()); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
@ -435,12 +437,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
#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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniform3fvImplementation)(location, count, values); |
|
|
|
|
} |
|
|
|
|
@ -450,10 +446,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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()); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
@ -463,12 +463,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
#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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniform4fvImplementation)(location, count, values); |
|
|
|
|
} |
|
|
|
|
@ -478,10 +472,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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()); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
@ -491,12 +489,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
#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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniform1ivImplementation)(location, count, values); |
|
|
|
|
} |
|
|
|
|
@ -506,10 +498,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
glUniform1iv(location, count, values); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
|
void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const GLsizei count, const GLint* const values) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
@ -519,12 +515,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
#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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniform2ivImplementation)(location, count, values); |
|
|
|
|
} |
|
|
|
|
@ -534,10 +524,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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()); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
@ -547,12 +541,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
#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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniform3ivImplementation)(location, count, values); |
|
|
|
|
} |
|
|
|
|
@ -562,10 +550,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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()); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
@ -575,12 +567,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
#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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniform4ivImplementation)(location, count, values); |
|
|
|
|
} |
|
|
|
|
@ -590,10 +576,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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()); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
@ -603,12 +593,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
#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 |
|
|
|
|
void AbstractShaderProgram::setUniform(const Int location, const UnsignedInt count, const UnsignedInt* const values) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniform1uivImplementation)(location, count, values); |
|
|
|
|
@ -620,23 +604,12 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const GLsizei count, const GLuint* const values) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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::uniformImplementationDSA(const GLint location, const GLsizei count, const GLuint* const values) { |
|
|
|
|
void AbstractShaderProgram::uniformImplementationDSAEXT_SSOEXT(const GLint location, const GLsizei count, const GLuint* const values) { |
|
|
|
|
glProgramUniform1uivEXT(_id, location, count, values); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
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); |
|
|
|
|
@ -648,23 +621,12 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
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()); |
|
|
|
|
#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::uniformImplementationDSA(const GLint location, const GLsizei count, const Math::Vector<2, GLuint>* const values) { |
|
|
|
|
void AbstractShaderProgram::uniformImplementationDSAEXT_SSOEXT(const GLint location, const GLsizei count, const Math::Vector<2, GLuint>* const values) { |
|
|
|
|
glProgramUniform2uivEXT(_id, location, count, values[0].data()); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
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); |
|
|
|
|
@ -676,23 +638,12 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
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()); |
|
|
|
|
#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::uniformImplementationDSA(const GLint location, const GLsizei count, const Math::Vector<3, GLuint>* const values) { |
|
|
|
|
void AbstractShaderProgram::uniformImplementationDSAEXT_SSOEXT(const GLint location, const GLsizei count, const Math::Vector<3, GLuint>* const values) { |
|
|
|
|
glProgramUniform3uivEXT(_id, location, count, values[0].data()); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
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); |
|
|
|
|
@ -704,24 +655,13 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
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()); |
|
|
|
|
#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::uniformImplementationDSA(const GLint location, const GLsizei count, const Math::Vector<4, GLuint>* const values) { |
|
|
|
|
void AbstractShaderProgram::uniformImplementationDSAEXT_SSOEXT(const GLint location, const GLsizei count, const Math::Vector<4, GLuint>* const values) { |
|
|
|
|
glProgramUniform4uivEXT(_id, location, count, values[0].data()); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
void AbstractShaderProgram::setUniform(const Int location, const UnsignedInt count, const Double* const values) { |
|
|
|
|
@ -737,7 +677,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -754,7 +694,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -771,7 +711,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -788,7 +728,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
@ -802,10 +742,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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()); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
@ -815,12 +759,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
#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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniformMatrix3fvImplementation)(location, count, values); |
|
|
|
|
} |
|
|
|
|
@ -830,10 +768,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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()); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
@ -843,12 +785,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
#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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniformMatrix4fvImplementation)(location, count, values); |
|
|
|
|
} |
|
|
|
|
@ -858,10 +794,14 @@ void AbstractShaderProgram::uniformImplementationDefault(const GLint location, c
|
|
|
|
|
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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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()); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
@ -871,12 +811,6 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
#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 |
|
|
|
|
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); |
|
|
|
|
@ -888,23 +822,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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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::uniformImplementationDSA(const GLint location, const GLsizei count, const Math::RectangularMatrix<2, 3, GLfloat>* const values) { |
|
|
|
|
void AbstractShaderProgram::uniformImplementationDSAEXT_SSOEXT(const GLint location, const GLsizei count, const Math::RectangularMatrix<2, 3, GLfloat>* const values) { |
|
|
|
|
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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniformMatrix3x2fvImplementation)(location, count, values); |
|
|
|
|
@ -916,23 +839,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) { |
|
|
|
|
#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()); |
|
|
|
|
#else |
|
|
|
|
static_cast<void>(location); |
|
|
|
|
static_cast<void>(count); |
|
|
|
|
static_cast<void>(values); |
|
|
|
|
CORRADE_ASSERT_UNREACHABLE(); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
void AbstractShaderProgram::uniformImplementationDSA(const GLint location, const GLsizei count, const Math::RectangularMatrix<3, 2, GLfloat>* const values) { |
|
|
|
|
void AbstractShaderProgram::uniformImplementationDSAEXT_SSOEXT(const GLint location, const GLsizei count, const Math::RectangularMatrix<3, 2, GLfloat>* const values) { |
|
|
|
|
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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniformMatrix2x4fvImplementation)(location, count, values); |
|
|
|
|
@ -944,23 +856,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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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::uniformImplementationDSA(const GLint location, const GLsizei count, const Math::RectangularMatrix<2, 4, GLfloat>* const values) { |
|
|
|
|
void AbstractShaderProgram::uniformImplementationDSAEXT_SSOEXT(const GLint location, const GLsizei count, const Math::RectangularMatrix<2, 4, GLfloat>* const values) { |
|
|
|
|
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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniformMatrix4x2fvImplementation)(location, count, values); |
|
|
|
|
@ -972,23 +873,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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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::uniformImplementationDSA(const GLint location, const GLsizei count, const Math::RectangularMatrix<4, 2, GLfloat>* const values) { |
|
|
|
|
void AbstractShaderProgram::uniformImplementationDSAEXT_SSOEXT(const GLint location, const GLsizei count, const Math::RectangularMatrix<4, 2, GLfloat>* const values) { |
|
|
|
|
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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniformMatrix3x4fvImplementation)(location, count, values); |
|
|
|
|
@ -1000,23 +890,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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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::uniformImplementationDSA(const GLint location, const GLsizei count, const Math::RectangularMatrix<3, 4, GLfloat>* const values) { |
|
|
|
|
void AbstractShaderProgram::uniformImplementationDSAEXT_SSOEXT(const GLint location, const GLsizei count, const Math::RectangularMatrix<3, 4, GLfloat>* const values) { |
|
|
|
|
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) { |
|
|
|
|
(this->*Context::current()->state().shaderProgram->uniformMatrix4x3fvImplementation)(location, count, values); |
|
|
|
|
@ -1028,24 +907,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) { |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
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::uniformImplementationDSA(const GLint location, const GLsizei count, const Math::RectangularMatrix<4, 3, GLfloat>* const values) { |
|
|
|
|
void AbstractShaderProgram::uniformImplementationDSAEXT_SSOEXT(const GLint location, const GLsizei count, const Math::RectangularMatrix<4, 3, GLfloat>* const values) { |
|
|
|
|
glProgramUniformMatrix4x3fvEXT(_id, location, count, GL_FALSE, values[0].data()); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
void AbstractShaderProgram::setUniform(const Int location, const UnsignedInt count, const Math::RectangularMatrix<2, 2, Double>* const values) { |
|
|
|
|
@ -1061,7 +929,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1078,7 +946,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1095,7 +963,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1112,7 +980,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1129,7 +997,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1146,7 +1014,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1163,7 +1031,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1180,7 +1048,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1197,7 +1065,7 @@ void AbstractShaderProgram::uniformImplementationSSO(const GLint location, const
|
|
|
|
|
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()); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|