• Show log

    Commit

  • Hash : 78048112
    Author : Kimmo Kinnunen
    Date : 2025-01-15T15:13:14

    Fix IndexRange::vertexIndexCount calculation
    
    Use only one loop.
    Avoid redundant primitive restart index parameter.
    Avoid calling GetPrimitiveRestartIndexFromType() because the algorithm
    relies on the value being numeric_limits<T>::max().
    
    Fixes a bug where primitive restart case would process the value
    after first primitive restart twice, once in both for loops. This would
    result in incorrect vertexIndexCount.
    
    Fix by removing IndexRange::vertexIndexCount, and instead using
    IndexRange::mCount == 0 to signify empty range.
    
    Bug: angleproject:401284933
    Change-Id: Ifaeb9949f2e852fb7c5ef80bc47f72bfabba21a6
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6333541
    Reviewed-by: Geoff Lang <geofflang@chromium.org>
    Auto-Submit: Kimmo Kinnunen <kkinnunen@apple.com>
    Commit-Queue: 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