⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 246439 in webkit


Ignore:
Timestamp:
Jun 14, 2019, 11:59:18 AM (7 years ago)
Author:
sbarati@apple.com
Message:

Unreviewed. Follow up to r246438. This removes a debug assert until
we do further compiler work in: https://bugs.webkit.org/show_bug.cgi?id=198861

  • Modules/webgpu/WHLSL/WHLSLCheckDuplicateFunctions.cpp:

(WebCore::WHLSL::checkDuplicateFunctions):

  • Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r246438 r246439  
     12019-06-14  Saam Barati  <sbarati@apple.com>
     2
     3        Unreviewed. Follow up to r246438. This removes a debug assert until
     4        we do further compiler work in: https://bugs.webkit.org/show_bug.cgi?id=198861
     5
     6        * Modules/webgpu/WHLSL/WHLSLCheckDuplicateFunctions.cpp:
     7        (WebCore::WHLSL::checkDuplicateFunctions):
     8        * Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt:
     9
    1102019-06-14  Saam Barati  <sbarati@apple.com>
    211
  • trunk/Source/WebCore/Modules/webgpu/WHLSL/WHLSLCheckDuplicateFunctions.cpp

    r246128 r246439  
    167167        // Since we do that, we just need to make sure no native function is a duplicate
    168168        // of a user-defined function.
    169         ASSERT(passesStaticChecks(nativeFunctionDeclaration.get()));
     169
     170        // FIXME: Add back this assert once we begin to auto generate these in the compiler
     171        // instead of having them in the stdlib
     172        // https://bugs.webkit.org/show_bug.cgi?id=198861
     173        // ASSERT(passesStaticChecks(nativeFunctionDeclaration.get()));
    170174        if (functions.contains(DuplicateFunctionKey { nativeFunctionDeclaration.get() }))
    171175            return false;
  • trunk/Source/WebCore/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt

    r246438 r246439  
    442442native bool operator==(float, float);
    443443native bool operator==(int, int);
     444native float operator*(float, float);
     445
     446// FIXME: These should be auto generated by the compiler.
     447// https://bugs.webkit.org/show_bug.cgi?id=198861
    444448native bool operator==(thread int*, thread int*);
    445 native float operator*(float, float);
    446449
    447450native bool operator.x(bool2);
Note: See TracChangeset for help on using the changeset viewer.