[Webkit-unassigned] [Bug 230472] iOS 15 Internal error compiling shader with Metal backend

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 20 01:10:28 PDT 2021


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

--- Comment #1 from Kimmo Kinnunen <kkinnunen at apple.com> ---
Created attachment 438645

  --> https://bugs.webkit.org/attachment.cgi?id=438645&action=review

translation and errors

program_source:106:12: error: no matching constructor for initialization of 'ANGLE_VectorElemRef<float, 3>'
    return ANGLE_VectorElemRef<T, N>(vec, is);
           ^                         ~~~~~~~
program_source:216:6: note: in instantiation of function template specialization 'ANGLE_swizzle_ref<float, 3>' requested here
  aW(ANGLE_swizzle_ref(aQ, 0));
     ^
program_source:65:5: note: candidate constructor not viable: no known conversion from 'const int [1]' to 'int' for 2nd argument
    ANGLE_VectorElemRef(thread metal::vec<T, N> &vec, int index)
    ^
program_source:59:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
struct ANGLE_VectorElemRef
       ^
program_source:59:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
program_source:59:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
program_source:59:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
program_source:59:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
program_source:59:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided

-- 
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/20210920/c7f917c7/attachment.htm>


More information about the webkit-unassigned mailing list