• Show log

    Commit

  • Hash : 4a5b0284
    Author : Kimmo Kinnunen
    Date : 2024-10-24T11:46:54

    Disallow discarded uniform block references
    
    Uniform block instances cannot be used by themselves, as there
    is no way to refer to their type. Disallow the only typeless
    access pattern, discarding via expression statement:
    
      uniform MyBlock { int x;  } b;
      void main() {
        b;
        0, b;
      }
    
    Explained as disallowed in newer GLSL 300:
    https://github.com/KhronosGroup/WebGL/issues/3644
    
    The comma expression form would ASSERT in CollectVariables.
    
    Bug: angleproject:42267026
    Change-Id: I6c8b835482fd551bd97576c1bd24f005874da6af
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5961498
    Reviewed-by: Alexey Knyazev <lexa.knyazev@gmail.com>
    Reviewed-by: Geoff Lang <geofflang@chromium.org>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Kimmo Kinnunen <kkinnunen@apple.com>
    Auto-Submit: Kimmo Kinnunen <kkinnunen@apple.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