Bug 274858

Summary: WebCore::ScopedInspectorShaderProgramHighlight constructor does not initialize struct m_savedBlend
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: WebGLAssignee: 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)
Reported 2024-05-29 13:37:53 PDT
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
Radar WebKit Bug Importer
Comment 1 2024-05-29 13:38:13 PDT
David Kilzer (:ddkilzer)
Comment 2 2024-05-29 13:41:45 PDT
Note You need to log in before you can comment on or make changes to this bug.