• Show log

    Commit

  • Hash : 76f377c5
    Author : Charlie Lao
    Date : 2022-06-17T16:05:16

    Vulkan: Break renderpass when switch from query to non-query
    
    getQueryResult will wait for query result to be available, which means a
    potential CPU bubble if the result is not yet available. On tiler GPUs
    it will at least wait for renderpass to complete. Usually query enabled
    draws are very tiny (usually just draw a point to see if it is occluded
    or not), and query disabled draws are expensive. Some apps do issue a
    glFlush when switch from query draw to non-query draw, but app like
    dead_by_daylight does not issue such flush.  In order to reduce the
    bubble, this CL ends renderpass and issue a flush  when we switch from
    query enabled draws to non-query enabled draw so that the result will be
    available much earlier, this reduce the CPU bubble. This result in
    dead_by_daylight frame time improves from 5.45ms to 3.5ms (35%
    improvement).
    
    Bug: b/250706693
    Change-Id: Ia3a32a9fb336e6f256809b3cad83f61a45415fb1
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3931739
    Reviewed-by: Yuxin Hu <yuxinhu@google.com>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Auto-Submit: Charlie Lao <cclao@google.com>
    Commit-Queue: Charlie Lao <cclao@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 thodg_l
    Tags