Changeset 225584 in webkit


Ignore:
Timestamp:
Dec 6, 2017 11:43:31 AM (6 years ago)
Author:
dino@apple.com
Message:

Some iOS tests failing after ANGLE update
https://bugs.webkit.org/show_bug.cgi?id=180487
<rdar://problem/35885969>

Reviewed by Antoine Quint.

Source/ThirdParty/ANGLE:

The iOS OpenGL compiler doesn't like function declarations with
nameless array parameters. See:
<rdar://problem/35885989> Nameless array parameters in function declaration cause compiler error

While that is being fixed, tell ANGLE's translator to not cull
the names from parameters. This is not a bug in ANGLE, so we won't
fix it upstream at the moment.

  • src/compiler/translator/ParseContext.cpp:

(sh::TParseContext::addFunctionPrototypeDeclaration):

LayoutTests:

Unskip some WebGL tests.

  • platform/ios/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r225583 r225584  
     12017-12-06  Dean Jackson  <dino@apple.com>
     2
     3        Some iOS tests failing after ANGLE update
     4        https://bugs.webkit.org/show_bug.cgi?id=180487
     5        <rdar://problem/35885969>
     6
     7        Reviewed by Antoine Quint.
     8
     9        Unskip some WebGL tests.
     10
     11        * platform/ios/TestExpectations:
     12
    1132017-12-06  John Wilander  <wilander@apple.com>
    214
  • trunk/LayoutTests/platform/ios/TestExpectations

    r225472 r225584  
    29582958webgl/1.0.3/conformance/glsl/misc/shaders-with-invariance.html [ Failure ]
    29592959webgl/1.0.3/conformance/glsl/misc/shaders-with-name-conflicts.html [ Failure ]
    2960 webgl/1.0.3/conformance/glsl/misc/struct-nesting-of-variable-names.html [ Failure ]
    29612960webgl/1.0.3/conformance/renderbuffers/feedback-loop.html [ Failure ]
    29622961webgl/1.0.3/conformance/rendering/point-no-attributes.html [ Failure ]
     
    30813080
    30823081# <rdar://problem/33135669>
    3083 webgl/1.0.2/conformance/textures/gl-teximage.html [ Failure ]
    30843082fast/canvas/webgl/gl-teximage.html [ Failure ]
    30853083
     
    33013299media/modern-media-controls/time-labels-support/elapsed-time.html [ Skip ]
    33023300
    3303 # Skip WebGL while the ANGLE update has caused many failures
    3304 webgl [ Skip ]
    3305 
    33063301# Requries AVFoundation support <rdar://problem/34502208>
    33073302http/tests/images/image-supports-video.html
  • trunk/Source/ThirdParty/ANGLE/ChangeLog

    r225436 r225584  
     12017-12-06  Dean Jackson  <dino@apple.com>
     2
     3        Some iOS tests failing after ANGLE update
     4        https://bugs.webkit.org/show_bug.cgi?id=180487
     5        <rdar://problem/35885969>
     6
     7        Reviewed by Antoine Quint.
     8
     9        The iOS OpenGL compiler doesn't like function declarations with
     10        nameless array parameters. See:
     11        <rdar://problem/35885989> Nameless array parameters in function declaration cause compiler error
     12
     13        While that is being fixed, tell ANGLE's translator to not cull
     14        the names from parameters. This is not a bug in ANGLE, so we won't
     15        fix it upstream at the moment.
     16
     17        * src/compiler/translator/ParseContext.cpp:
     18        (sh::TParseContext::addFunctionPrototypeDeclaration):
     19
    1202017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
    221
  • trunk/Source/ThirdParty/ANGLE/src/compiler/translator/ParseContext.cpp

    r225340 r225584  
    32413241    function->setHasPrototypeDeclaration();
    32423242
     3243    // WebKit note: We currently pass true instead of false for the last parameter
     3244    // here because some compilers have an issue with nameless parameters in function
     3245    // declarations.
    32433246    TIntermFunctionPrototype *prototype =
    3244         createPrototypeNodeFromFunction(*function, location, false);
     3247        createPrototypeNodeFromFunction(*function, location, true);
    32453248
    32463249    symbolTable.pop();
Note: See TracChangeset for help on using the changeset viewer.