• Show log

    Commit

  • Hash : e10803f7
    Author : Cody Northrop
    Date : 2022-01-20T09:03:55

    Compiler: Allow deferred array sizing in geometry shaders
    
    Based on work by Brandon Schade <b.schade@samsung.com>.
    
    When a shader sets an array input size in a GS after declaring input
    variables, compilation would fail.
    
    Example shader -
    
     in vec3 normal[];
     in vec3 view_dir[];
     in float patch_dist[];
     in float e_patch_wire_scale[];
     ...
     layout(triangles) in;
     layout(triangle_strip, max_vertices=3) out;
     void main() {
     ...
    
    Update translator to handle such cases.
    
    Also add a new check that there are no remaining unsized
    arrays when compilation has completed.
    
    Test: GeometryShaderTest.DeferredSetOfArrayInputSize
    Bug: angleproject:3571
    Bug: angleproject:7125
    Change-Id: I4853832c27f9551284bcca92b98cbf5f3a63aaf5
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3564259
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Cody Northrop <cnorthrop@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_l thodg
    Tags