Title: [266445] trunk/Source/ThirdParty/ANGLE
Revision
266445
Author
[email protected]
Date
2020-09-01 18:55:30 -0700 (Tue, 01 Sep 2020)

Log Message

[ANGLE] InternalFormat::blendSupport is uninitialized by constructor
<https://webkit.org/b/216053>
<rdar://problem/68166032>

Reviewed by Kenneth Russell.

* changes.diff: Add this patch.
* src/libANGLE/formatutils.cpp:
(gl::InternalFormat::InternalFormat):
- Initialize blendSupport to NeverSupported.

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (266444 => 266445)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2020-09-02 01:51:54 UTC (rev 266444)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2020-09-02 01:55:30 UTC (rev 266445)
@@ -1,3 +1,16 @@
+2020-09-01  David Kilzer  <[email protected]>
+
+        [ANGLE] InternalFormat::blendSupport is uninitialized by constructor
+        <https://webkit.org/b/216053>
+        <rdar://problem/68166032>
+
+        Reviewed by Kenneth Russell.
+
+        * changes.diff: Add this patch.
+        * src/libANGLE/formatutils.cpp:
+        (gl::InternalFormat::InternalFormat):
+        - Initialize blendSupport to NeverSupported.
+
 2020-08-31  James Darpinian  <[email protected]>
 
         Implement WEBGL_compressed_texture_s3tc_srgb extension

Modified: trunk/Source/ThirdParty/ANGLE/changes.diff (266444 => 266445)


--- trunk/Source/ThirdParty/ANGLE/changes.diff	2020-09-02 01:51:54 UTC (rev 266444)
+++ trunk/Source/ThirdParty/ANGLE/changes.diff	2020-09-02 01:55:30 UTC (rev 266445)
@@ -121,6 +121,20 @@
  #include "libANGLE/State.h"
  
  #include <string.h>
+diff --git a/src/libANGLE/formatutils.cpp b/src/libANGLE/formatutils.cpp
+index 8314f8cfbeec..f2da2fb2ec20 100644
+--- a/src/libANGLE/formatutils.cpp
++++ b/src/libANGLE/formatutils.cpp
+@@ -354,7 +354,8 @@ InternalFormat::InternalFormat()
+       textureSupport(NeverSupported),
+       filterSupport(NeverSupported),
+       textureAttachmentSupport(NeverSupported),
+-      renderbufferSupport(NeverSupported)
++      renderbufferSupport(NeverSupported),
++      blendSupport(NeverSupported)
+ {}
+ 
+ InternalFormat::InternalFormat(const InternalFormat &other) = default;
 diff --git a/src/libANGLE/renderer/gl/cgl/ContextCGL.cpp b/src/libANGLE/renderer/gl/cgl/ContextCGL.cpp
 index af167090d..cf4da9c81 100644
 --- a/src/libANGLE/renderer/gl/cgl/ContextCGL.cpp

Modified: trunk/Source/ThirdParty/ANGLE/src/libANGLE/formatutils.cpp (266444 => 266445)


--- trunk/Source/ThirdParty/ANGLE/src/libANGLE/formatutils.cpp	2020-09-02 01:51:54 UTC (rev 266444)
+++ trunk/Source/ThirdParty/ANGLE/src/libANGLE/formatutils.cpp	2020-09-02 01:55:30 UTC (rev 266445)
@@ -354,7 +354,8 @@
       textureSupport(NeverSupported),
       filterSupport(NeverSupported),
       textureAttachmentSupport(NeverSupported),
-      renderbufferSupport(NeverSupported)
+      renderbufferSupport(NeverSupported),
+      blendSupport(NeverSupported)
 {}
 
 InternalFormat::InternalFormat(const InternalFormat &other) = default;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to