• Show log

    Commit

  • Hash : cfe2c8fe
    Author : Matthew Denton
    Date : 2025-06-25T13:25:01

    WGSL: RewriteMultielementSwizzle
    
    WGSL doesn't support assignments to multi-element swizzles.
    This is used in a lot of shader tests, so temporarily work around
    this with an AST traverser that splits these assignments into
    multiple assignments that only assign to single element
    swizzles.
    
    One special case is multiplication-by-a-matrix assignment:
      vec.xy *= mat;
    is converted to
      vec.x = (vec.xy * mat).x;
      vec.y = (vec.xy * mat).y;
    
    Bug: angleproject:392542001
    Change-Id: I3f393039aae13eb3f2c5dc5e553f68eb03b6316d
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6847280
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Matthew Denton <mpdenton@chromium.org>
    Reviewed-by: Liza Burakova <liza@chromium.org>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags