Add missing sampler types and sizes to gl4 helpers
In particular the CubeMapArray and CubeMapArrayShadow
were missing from the call to get uniform size causing
a crash when these sampler types were used.
While fixing this, I double-checked the samplers types in
uniformByteSize
uniformTypeFromGLType
buildUniformBuffer
and made sure they were consistent
Change-Id: Ief91952fd7727945ba1c4156fe053587a4060684
Pick-to: 5.15 6.0
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
| commit | e09188f773ab287dd8c4569a1996d89113bfd5d7 |
| parent | 612c7b5030e25e5750d5c02937d7e3211da0ef12 |
| author | Jim Albamont <jim.albamont@kdab.com> |
| committer | Paul Lemire <paul.lemire@kdab.com> |
| commit time | Fri, 11 Dec 2020 06:53:54 +0000 |