Bug 274858
Summary: | WebCore::ScopedInspectorShaderProgramHighlight constructor does not initialize struct m_savedBlend | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
Component: | WebGL | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> |
Status: | NEW | ||
Severity: | Normal | CC: | djg, kbr, kkinnunen, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 241463 | ||
Bug Blocks: |
David Kilzer (:ddkilzer)
WebCore::ScopedInspectorShaderProgramHighlight constructor does not initialize struct m_savedBlend.
Regressed in:
Fix InspectorScopedShaderProgramHighlight for indexed blend state
https://bugs.webkit.org/show_bug.cgi?id=241463
<rdar://problem/95292922>
<https://commits.webkit.org/251634@main>
```diff
struct {
- RefPtr<Float32Array> color;
- unsigned equationRGB { 0 };
- unsigned equationAlpha { 0 };
- unsigned srcRGB { 0 };
- unsigned srcAlpha { 0 };
- unsigned dstRGB { 0 };
- unsigned dstAlpha { 0 };
- bool enabled { false };
+ GCGLfloat color[4];
+ GCGLenum equationRGB;
+ GCGLenum equationAlpha;
+ GCGLenum srcRGB;
+ GCGLenum dstRGB;
+ GCGLenum srcAlpha;
+ GCGLenum dstAlpha;
+ GCGLboolean enabled;
} m_savedBlend;
```
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/128962006>
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/29245