• Show log

    Commit

  • Hash : 7ca9f46a
    Author : Matthew Denton
    Date : 2024-06-21T13:09:24

    ESSL -> WGSL: Emit func calls, struct access, constants
    
    Also includes constructor calls, swizzles, and a slightly incorrect
    version of the ternary operator.
    
    The ternary operator doesn't exist in WGSL, only a non-short-circuiting
    select() builtin. For now the ternary is implemented with select()
    but that isn't correct if any of the true/false expressions have side
    effects, and may have perf implications by computing both true/false
    expressions.
    
    Constants are mostly done after this, however NaN and infinity are not
    valid constants in WGSL and it's unclear what we can do about this as
    WGPU implementations are allowed to assume NaNs and infinities are
    never operated on.
    
    Bug: angleproject:42267100
    Change-Id: Ie6190091a7b95d3d372736ab7cea45868846e7be
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5648990
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Matthew Denton <mpdenton@chromium.org>
    Reviewed-by: Geoff Lang <geofflang@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