[Webkit-unassigned] [Bug 183321] texImage2D with HALF_FLOAT_OES doesn't work on iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 7 08:03:26 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=183321

jujjyl at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jujjyl at gmail.com

--- Comment #5 from jujjyl at gmail.com ---
Unity3D engine runs into this issue as well.

Safari 8 - Safari 12 are affected.

Tested as a workaround to use GL.texImage2D(..., null); to create an uninitialized texture, but then immediately afterwards using GL.texSubImage2D(..., /*type=*/0x8d61/*GL_HALF_FLOAT_OES*/, uint16Array); to upload the content, but unfortunately that fails too, i.e. GL.texSubImage2D() neither allows passing a half-float array.

Also tried a workaround to pass a Float32Array, or a Float64Array instead of a Uint16Array, wishfully thinking that perhaps the error message would be wrong, and half-float textures could be populated by submitting another array type instead, but that does not work either.

As result, Unity3D support of half-float textures is disabled, which prevents Safari from running new Unity3D content, which utilize half-floats.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190807/f72ba0a1/attachment-0001.html>


More information about the webkit-unassigned mailing list