• Show log

    Commit

  • Hash : 066fb91b
    Author : Shahbaz Youssefi
    Date : 2021-10-18T15:31:27

    Vulkan: SPIR-V Gen: Handle scalar(const) produced by index clamp
    
    Normally scalar(const) is folded into a constant.  The index clamp
    transformation may produce such a code where the index looks dynamic at
    first (for example `false ? uniform_value : constant`), but becomes
    constant after folding.
    
    This change makes SPIR-V generation robust in that case.  A potential
    future change could avoid the clamp entirely by making FoldExpressions
    adjust the op of the EOpIndexIndirect node whose index is being replaced
    with a constant with EOpIndexDirect (and apply the clamp on the
    argument).
    
    Bug: chromium:1260651
    Change-Id: I552b7527d821d1cb52e0e53212cc481285674861
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226311
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: Tim Van Patten <timvp@google.com>
    

  • 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