• Show log

    Commit

  • Hash : 6ae0c321
    Author : Steven Noonan
    Date : 2022-05-15T18:18:47

    Vulkan: clamp dynamic line width to supported values
    
    On my Apple M1, MoltenVK reports wide lines are not supported. Trying to
    use vkCmdSetLineWidth with any value other than 1.0f will cause MoltenVK
    to throw an exception and stop accepting render commands.
    
    I originally tried making this a change in the frontend Context class,
    by clamping the value to the supported line width range. But that
    approach failed the WebGL conformance tests, because queries of of
    GL_LINE_WIDTH must match the value specified by glLineWidth.
    
    OpenGL ES docs state:
    
        The line width specified by glLineWidth is always returned when
        GL_LINE_WIDTH is queried. Clamping and rounding have no effect on
        the specified value.
    
    Bug: angleproject:7317
    Change-Id: I7a3c3454e1483f9124fd70b7e9f2138bd717e1de
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3654264
    Auto-Submit: Steven Noonan <steven@valvesoftware.com>
    Reviewed-by: Shahbaz Youssefi <syoussefi@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