• Show log

    Commit

  • Hash : 0304d2fe
    Author : Olli Etuaho
    Date : 2015-09-07T16:28:19

    Don't split the file into two chunks in shader_translator
    
    Splitting the file into two strings in shader_translator complicated
    testing line/file numbering related functionality with it, since each
    chunk passed to ShCompile has its own file number and line numbering.
    These are exposed to the preprocessor in __FILE__ and __LINE__ predefined
    macros.
    
    Just supply the file to ShCompile in a single string. Also, since the
    original motivation for splitting the string seems to have been to
    exercise ShCompile with multiple strings, add a new unit test that
    ensures that ShCompile handles multiple strings as expected.
    
    BUG=angleproject:989
    TEST=angle_unittests
    
    Change-Id: I31d24925ec85ca3411e537df25a985f09737403e
    Reviewed-on: https://chromium-review.googlesource.com/297251
    Tested-by: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: Zhenyao Mo <zmo@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