Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
ASSERT(!toType.isArray()) failure in sh::CoerceSimple due to vector a…
…rray dereference https://bugs.webkit.org/show_bug.cgi?id=225864 Source/ThirdParty/ANGLE: <rdar://77968214> Reviewed by Dean Jackson. Fixed program translation error, additional issues with transform feedback shaders * src/compiler/translator/TranslatorMetalDirect/AddExplicitTypeCasts.cpp: * src/libANGLE/renderer/metal/ProgramMtl.mm: (rx::ProgramMtl::reset): LayoutTests: <rdar://77968214> Reviewed by Dean Jackson. Fixed program translation error, additional issues with preloaded transform feedback shaders * fast/canvas/webgl/shader-vec-array-deref-no-crash-expected.txt: Added. * fast/canvas/webgl/shader-vec-array-deref-no-crash.html: Added. Canonical link: https://commits.webkit.org/237919@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
6 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PASS, no crash. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<body> | ||
<script> | ||
if (window.testRunner) | ||
testRunner.dumpAsText(); | ||
let c = document.createElement("canvas"); | ||
let gl = c.getContext("webgl2"); | ||
let vs = gl.createShader(gl.VERTEX_SHADER); | ||
gl.shaderSource(vs, "#version 300 es\nvoid main(){vec2 S[1];S;}"); | ||
gl.compileShader(vs); | ||
if (!gl.getShaderParameter(vs, gl.COMPILE_STATUS) ) { | ||
let info = gl.getShaderInfoLog(vs); | ||
throw 'Could not compile WebGL program. Info:' + info; | ||
} | ||
document.body.innerHTML += "PASS, no crash." | ||
</script> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters