[Webkit-unassigned] [Bug 249633] WebGLRenderingContextBase::copyTexImage2D does not handle "GCGLint level" parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 20 17:33:18 PST 2022


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

--- Comment #2 from byao <bing.yao at commscope.com> ---
Yes, I run below codes:
PASS: Bad target (in assertFail)(function(){ 
  gl.copyTexImage2D(gl.FLOAT, 0, gl.RGBA, 0,0, 16,16,0); 
})
PASS: Bad internal format (in assertFail)(function(){ 
  gl.copyTexImage2D(gl.TEXTURE_2D, 0, gl.FLOAT, 0,0, 16,16,0); 
})
Fail: Negative level (in assertFail)(function(){ 
  gl.copyTexImage2D(gl.TEXTURE_2D, -1, gl.RGBA, 0,0, 16,16,0); 
})
The last one causes the crash.
I don't know ValidMipLevel until you told me actually.

-- 
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/20221221/79506596/attachment.htm>


More information about the webkit-unassigned mailing list