However, Chromium will clear the whole 3D/2D_ARRAY texture if that texture is not cleared when call into TexSubImage3D. This behavior clears all pixels, including the pixels outside of the sub-region that TexSubImage3D defined.
I wrote a test case in WebGL 2 CTS to expose this issue: https://github.com/KhronosGroup/WebGL/pull/1958. I will submit patch to fix this bug in Chromium later.
I found this issue when I wrote this patch: https://codereview.chromium.org/2208733002/. If it is not a standalone issue, I will fix the issue in the same patch.
Comment 1 by yunchao...@intel.com
, Aug 11 2016