[Webkit-unassigned] [Bug 274858] New: WebCore::ScopedInspectorShaderProgramHighlight constructor does not initialize struct m_savedBlend

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 29 13:37:53 PDT 2024


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

            Bug ID: 274858
           Summary: WebCore::ScopedInspectorShaderProgramHighlight
                    constructor does not initialize struct m_savedBlend
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: djg at apple.com, kbr at google.com, kkinnunen at apple.com
        Depends on: 241463

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;
```


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=241463
[Bug 241463] InspectorScopedShaderProgramHighlight breaks indexed blend state
-- 
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/20240529/608a0f35/attachment-0001.htm>


More information about the webkit-unassigned mailing list