[Webkit-unassigned] [Bug 231490] https://tankionline.com/play/ html5 engine not working: crashes. (Metal shader not working)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 11 10:42:05 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=231490
--- Comment #2 from Kyle Piddington <kpiddington at apple.com> ---
Hello! Thank you for reporting this.
The issue we're having is caused by an unused output variable. The shader in question:
//
// #version 300 es
// #ifdef GL_FRAGMENT_PRECISION_HIGH
// precision highp float;
// precision highp int;
// #else
// precision mediump float;
// precision mediump int;
// #endif
//
// #define varying in
// #define texture2D texture
// #define textureCube texture
//
// out vec4 outColor0;
// #define gl_FragColor outColor0
//
//
// void main() {
// }
//
Doesn't actually do anything with outColor0. However, we still generated an initialization instruction to zero it out, despite not including this output variable from the shader.
Thanks for catching this, it's a real bug and we should fix it up.
--
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/20211011/b8f6fe59/attachment.htm>
More information about the webkit-unassigned
mailing list