• Show log

    Commit

  • Hash : 7b14dd73
    Author : Matthew Denton
    Date : 2025-08-19T15:57:34

    WGSL: RewriteMixedTypeMathExprs
    
    RewriteMixedTypeMathExprs: Some mixed-type arithmetic is legal in GLSL
    but not WGSL. Generate code to perform the arithmetic as specified in
    GLSL.
    
    Example:
    uvec2 x;
    uint y;
    x &= y;
    Is transformed into:
    x &= uvec(y);
    
    Also,
    mat2 x;
    int y;
    x += y;
    Is transformed into:
    x += mat2(float(y), float(y), float(y), float(y))
    
    Bug: angleproject:42267100
    Change-Id: I4a0ec1d9806b3331b4b1feff6fbe7c0f212f8120
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6862843
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: Geoff Lang <geofflang@chromium.org>
    Commit-Queue: Matthew Denton <mpdenton@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