Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.1
-
None
-
Linux x64
Description
When trying to upload a shader uniform value of GLSL type mat2x4, setUniformValue(int, QMatrix2x4) is calling glUniform4fv instead of the correct function, glUniformMatrix2x4fv. This causes an error in OpenGL 4.3 core profile, and the matrix is not uploaded. The error message is:
GL_INVALID_OPERATION error generated. Uniform must be a matrix type in call to UniformMatrix*.
Relevant code is here:
Attachments
For Gerrit Dashboard: QTBUG-37012 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
83847,1 | Document setUniformValue limitations wrt non square matrices | stable | qt/qtbase | Status: MERGED | +2 | 0 |
104707,2 | Add more notes regarding the uniform setters | dev | qt/qtbase | Status: MERGED | +2 | 0 |