Mesa (master): 29 new commits

Mathias Fröhlich frohlich at kemper.freedesktop.org
Thu Jun 16 05:23:10 UTC 2016


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e73d9454d626f4ac96be51733d3d3db4b77392c
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    vbo: Use a bitmask to track the active arrays in vbo_save*.
    
    The use of a bitmask makes functions iterating only active
    attributes less visible in profiles.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc4e0c486874ee8c6f2e616b91589a1da63164d8
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    vbo: Use a bitmask to track the active arrays in vbo_exec*.
    
    The use of a bitmask makes functions iterating only active
    attributes less visible in profiles.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=22e5d4a1ee02089258d1fc67dfe7fa02a1dfcf22
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Use bitmask/ffs to iterate the active_samplers bitmask.
    
    Replaces an iterate and test bit in a bitmask loop by a
    loop only iterating over the bits set in the bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34f741b0809a0d7bb5dbc262bbc3ff2eb743090f
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Use bitmask/ffs to iterate the enabled textures.
    
    Replaces an iterate and test bit in a bitmask loop by a
    loop only iterating over the bits set in the bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11a5b776c20a9f9dd7fd822d56e3a8a979278151
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Use designated bool value to check texture unit completeness.
    
    The change helps to use the bitmask/ffs in the next change.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c14ec9aafa156c01fabf14d5f75cfe6fc4302480
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Use bitmask/ffs to iterate SamplersUsed
    
    Replaces an iterate and test bit in a bitmask loop by a
    loop only iterating over the bits set in the bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53691b7cb1246286db38db04f8aeb88fef75feb7
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    i965: Use bitmask/ffs to iterate used vertex attributes.
    
    Replaces an iterate and test bit in a bitmask loop by a
    loop only iterating over the bits set in the bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b670f0d1d741d176c155df062e861c2f2a9e4ee6
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    i965: Use bitmask/ffs to iterate enabled clip planes.
    
    Replaces an iterate and test bit in a bitmask loop by a
    loop only iterating over the bits set in the bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0fe569e53f779b5a8497ff669c1b277d1c13796
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    radeon/r200: Use bitmask/ffs to iterate enabled clip planes.
    
    Replaces an iterate and test bit in a bitmask loop by a
    loop only iterating over the bits set in the bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc9e604ef16ee19cf7480325100e6edd768dbb16
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Use bitmask/ffs to iterate enabled clip planes.
    
    Replaces an iterate and test bit in a bitmask loop by a
    loop only iterating over the bits set in the bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8a3ac90df67ab1b397b59acdaf4f8e5dc27203a
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Use bitmask/ffs to iterate color material attributes.
    
    Replaces an iterate and test bit in a bitmask loop by a
    loop only iterating over the bits set in the bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4eb2f9cda1fa08949f8e28ef414bbb41e150459
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Use bitmask/ffs to build ff fragment shader keys.
    
    Replaces an iterate and test bit in a bitmask loop by a
    loop only iterating over the bits set in the bitmask.
    The bitmask used here for iteration is a combination
    of different enabled masks present for texture units.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ee409bebfa88eaec34a7f912a1bbc86304a522f
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Use bitmask/ffs to build ff vertex shader keys.
    
    Replaces an iterate and test bit in a bitmask loop by a
    loop only iterating over the bits set in the bitmask.
    The bitmask used here for iteration is a combination
    of different enabled masks present for texture units.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5820759de6338811dfe0295de34849b41c1c64f
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Remove the linked list of enabled lights
    
    Clean up after conversion to bitmasks.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=21f7f67685587f359f500019a7f4995151995792
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Switch to bitmask based enabled lights in gen_matypes.c
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0391ba6c1eebb9647032f27da7a94559141992b
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    radeon/r200: Use bitmask/ffs to iterate enabled lights
    
    Replaces a loop that iterates all lights and test
    which of them is enabled by a loop only iterating over
    the bits set in the enabled bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f69a4005132e6e343ed210f288f752587c97f2f4
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    nouveau: Use bitmask/ffs to iterate enabled lights
    
    Replaces a loop that iterates all lights and test
    which of them is enabled by a loop only iterating over
    the bits set in the enabled bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a3fcb010c8ecbcbae0b7b299b64165051b03b85
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    tnl: Use bitmask/ffs to iterate enabled lights
    
    Replaces loops that iterate all lights and test
    which of them is enabled by a loop only iterating over
    the bits set in the enabled bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=664aec437088dbee299499f0539adc3fc9a2386f
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Use bitmask/ffs to iterate enabled lights for ff shader keys.
    
    Replaces a loop that iterates all lights and test
    which of them is enabled by a loop only iterating over
    the bits set in the enabled bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ccb1be2fab853c2d82a2159b049d5975d7fc199d
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Use bitmask/ffs to iterate enabled lights
    
    Replaces loops that iterate all lights and test
    which of them is enabled by a loop only iterating over
    the bits set in the enabled bitmask.
    
    v2: Use _mesa_bit_scan{,64} instead of open coding.
    v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b60c7302357c2ceb0297d5ef2f748c9b686dbad5
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Track enabled lights in a bitmask
    
    This enables some optimizations afterwards.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6749d77c690d2254b8ed3f16a653c41565ebab49
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Rename CoordReplaceBits back to CoordReplace.
    
    It used to be called like that and fits better with 80 columns.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=291f00fa12a35ad2bcaa8f81309fa06b9cab6802
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Remove the now unused CoordsReplace array.
    
    Now that all users are converted, remove the array.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d19c69659ae5874b0c78afac5f4e634f7f0f5489
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    i965: Convert i965 to use CoordsReplaceBits.
    
    Switch over to use the CoordsReplaceBits bitmask.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97f67be0a7562cc477531675170c52fd7b17f899
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    i915: Convert i915 to use CoordsReplaceBits.
    
    Switch over to use the CoordsReplaceBits bitmask.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e01fd63965e0c7ab0854e0a899d6138deca5b07
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    r200: convert r200 to use CoordsReplaceBits.
    
    Switch over to use the CoordsReplaceBits bitmask.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da79d76503c778ad4835bea077a76ad1a0691a1c
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    gallium: Convert the state_tracker to use CoordsReplaceBits.
    
    Switch over to use the CoordsReplaceBits bitmask.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=664ba9ccc9180f390606b3f3cc56c4be4eb838e2
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    swrast: Convert swrast to use CoordsReplaceBits.
    
    Switch over to use the CoordsReplaceBits bitmask.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c78515d93994e529cb4fd8d009476c90c55365c
Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sun May 22 14:10:19 2016 +0200

    mesa: Add gl_point_attrib::CoordReplaceBits bitfield.
    
    The aim is to replace the CoordReplace array by
    a bitfield. Until all drivers are converted,
    establish the bitfield in parallel to the
    CoordReplace array.
    
    v2: Fix bitmask logic.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>




More information about the mesa-commit mailing list