• Show log

    Commit

  • Hash : 3036e090
    Author : Shahbaz Youssefi
    Date : 2021-07-29T15:55:39

    Vulkan: Direct SPIR-V Gen: Support the precise keyword
    
    The precise keyword is different in GLSL in that it defines what
    arithmetic operations _that have led to the value being assigned to a
    variable_ should be done precisely (i.e. not "contracted").
    
    A tree traverser is implemented that detects precise access chains and
    applies precise-ness to the right hand side of assignment expressions to
    said access chains.  This is only done if the shader uses the precise
    keyword in the first place.  The algorithm for this is inspired by the
    implementation in glslang.
    
    This change additionally:
    
    - Fixes parser to allow precise on function parameters
    - Fixes GLSL code generation to output precise on struct members and
      function parameters.
    
    Bug: angleproject:4889
    Change-Id: Ie3808c3c8c08da308e88af20f5f90379d9d14d47
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3056369
    Reviewed-by: Tim Van Patten <timvp@google.com>
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    Commit-Queue: Shahbaz Youssefi <syoussefi@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