Skip to content

Add missing sampler types and sizes to gl4 helpers

Paul Lemire requested to merge lemirep/qt3d:patch_4 into kde/5.15

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

Fixes #242

Merge request reports