fix gles3 shader uniform vec3 error, close #30930

(cherry picked from commit b8bb5e90ea)
This commit is contained in:
RaphaelHunter 2019-09-06 14:06:20 +08:00 committed by Rémi Verschelde
parent c9a5ca7ca5
commit 5e8edf9c5d
1 changed files with 3 additions and 1 deletions

View File

@ -2939,7 +2939,9 @@ _FORCE_INLINE_ static void _fill_std140_ubo_empty(ShaderLanguage::DataType type,
case ShaderLanguage::TYPE_BVEC3:
case ShaderLanguage::TYPE_IVEC3:
case ShaderLanguage::TYPE_UVEC3:
case ShaderLanguage::TYPE_VEC3:
case ShaderLanguage::TYPE_VEC3: {
zeromem(data, 12);
} break;
case ShaderLanguage::TYPE_BVEC4:
case ShaderLanguage::TYPE_IVEC4:
case ShaderLanguage::TYPE_UVEC4: