Mesa (master): 22 new commits

Eric Anholt anholt at kemper.freedesktop.org
Tue Nov 7 17:40:50 UTC 2017


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd24f4890f7f4b4a2c2c6e92163f655904b8709a
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Nov 2 19:04:12 2017 -0700

    broadcom/vc5: Skip emitting textures that aren't used.
    
    Fixes crashes when ARB_fp uses texture[1] but not 0, as in piglit's
    fp-fragment-position.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d5e62dcfaeb2382f42116612e24f7240f1e521d
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Nov 2 18:49:58 2017 -0700

    broadcom/vc5: Add missing SRGBA8 ETC2 support.
    
    Fixes piglit oes_compressed_etc2_texture-miptree srgb8-alpha8.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6079f7c3c3ce30277ce671b9679186f243a5e570
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Nov 2 18:45:07 2017 -0700

    broadcom/vc5: Disable early Z test when the FS writes Z.
    
    Fixes piglit early-z.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eeb9e80272cb0dd795c4197962f2af3398747dda
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Nov 2 12:49:46 2017 -0700

    broadcom/vc5: Shift the min/max lod fields by the BASE_LEVEL.
    
    The lod clamping is what limits you between base and last level, and the
    base level field is just there to help decide where the min/mag change
    happens.
    
    Fixes tex-miplevel-selection GL2:texture()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=521e1d0275e7b237ee676e0426be1b734f270944
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Nov 2 12:24:17 2017 -0700

    broadcom/vc5: Add support for anisotropic filtering.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a266f78741bfdf6802b49df77d4611d6084408e9
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Nov 2 12:19:10 2017 -0700

    broadcom/vc5: Fix mipmap filtering enums.
    
    The ordering of the values was even less obvious than I thought, with both
    the mip filter and the min filter being in different bits depending on
    whether the mip filter is none.
    
    Fixes piglit fs-textureLod-miplevels.shader_test

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73ec70bf13a939e687ddf9c2a7e08962042a09eb
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Nov 2 11:47:30 2017 -0700

    broadcom/vc5: Fix height padding of small UIF slices.
    
    The HW doesn't pad the slice's height to make a full 4x4 group of UIF
    blocks.  We just need to pad to columns, and the start of the next column
    appears in the bottom of the previous column's last block.
    
    Fixes piglit fs-textureOffset-2D.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e23c6991bed6597c777b145a3f24b79e1d28be56
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 17:55:52 2017 -0700

    broadcom/vc5: Print the actual offsets in HW for our resource layout debug.
    
    The alignment of level 0 is non-obvious, so it's hard to turn a faulting
    address into a slice without this.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=426c352336182557f6c845481a38638182faacdf
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 17:22:17 2017 -0700

    broadcom/vc5: Set the available VS outputs to match the FS inputs.
    
    Fixes piglit glsl-es-3.00/minimum-maximums.txt.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1797928fd7333c193b26d11e25b9b58d8116ec8
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 15:29:58 2017 -0700

    broadcom/vc5: Set the max texture LOD bias.
    
    The field is signed 8.8, so the usual 16.0f fits.  Fixes piglit
    gl-2.1-minmax.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47bd9dac197ab47313cfb48a60f7a9e3a2ac3877
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 15:28:04 2017 -0700

    broadcom/vc5: Fix translation of stencil ops.
    
    They aren't quite in the same order as the gallium defines.  Fixes piglit
    gl-2.0-two-sided-stencil.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3be820477fbec5e771d6a35148d08a7507533cfd
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 15:18:34 2017 -0700

    broadcom/vc5: Move stencil state packing to the CSO.
    
    Only the stencil ref comes in as dynamic state at emit time.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3da39f22975703ad3688bfb4b658d219147ce9a1
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 14:39:47 2017 -0700

    broadcom/vc5: Introduce a helper for pre-packing our V3DXX structs.
    
    This is so much more pleasant to write than the manual
    V3D33_whatever_pack() calls, and will be useful for when we start doing
    actual per-V3D compiles.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=078b163a9c581e5b0e7bcc7436f0bf569cbc020d
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 15:16:59 2017 -0700

    broadcom/vc5: Add a cl_emit() variant for merging with a pre-packed struct.
    
    Cleans up the hand-written code, at the cost of another ugly macro.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=735b844b1b32a440738b1a6096ea3aa4df6b52a7
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 14:04:45 2017 -0700

    broadcom/vc5: Skip emitting depth offset while disabled.
    
    The enable flag is also in the rasterizer state, so it will be emitted
    once it's needed.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=386e9362a5711db9344229e4e05953d95a33d114
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 13:56:57 2017 -0700

    broadcom/vc5: Don't emit stencil config if not doing stencil test.
    
    As with blending, we'll have the bit flagged again when it gets reenabled
    in CONFIGURATION_BITS, so there's no need to emit test state if we're not
    testing.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f90ee6eb2b9a7b454ae22c4f63e027a56b5969f9
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 13:56:25 2017 -0700

    broadcom/vc5: Don't emit updated blend factors/funcs while disabled.
    
    The dirty bit will be flagged again when re-enbaled.  Keeps us from
    emitting blend state in CLs that never do blending.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd429cb2db6f5da848ed99144cbd4701ed155204
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 11:51:41 2017 -0700

    broadcom/vc5: Fix missing enum decode for indexed primitives.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb6997e6a349cba95fb29dd6b5223bf8a4d42152
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 11:48:44 2017 -0700

    broadcom/vc5: Drop padding bits from the bottom of the TSDA address.
    
    Fixes misaligned-looking addresses in decode.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=949ac638bc9d5f16abd1666bb465c7f935286d87
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 1 10:28:01 2017 -0700

    broadcom/vc5: Make sure the TMU indirect struct is appropriately aligned.
    
    I was hoping that this would help with fbo-generatemipmap hangs, but no
    luck.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb47de4ff0668597902c4276deb2f8b2e2d2d28e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Oct 25 21:17:14 2017 -0700

    broadcom/genxml: Fix decoding of groups with small fields.
    
    Groups containing fields smaller than a byte probably not being decoded
    correctly.  For example:
    
        <group count="32" start="32" size="4">
          <field name="Vertex Element Enables" start="0" end="3" type="uint"/>
        </group>
    
    gen_field_iterator_next would properly walk over each element of the
    array, incrementing group_iter.  However, the code to print the actual
    values only considered iter->field->start/end, which are 0 and 3 in the
    above example.  So it would always fetch bits 3:0 of the current byte,
    printing the same value over and over.
    
    Cc: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47dac5d2bc8b72a5ea96bccd537ca31b6713f090
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Oct 30 15:12:33 2017 -0700

    broadcom/vc5: Use DEPTH24_STENCIL8 for rendering to depth-only textures.
    
    The HW puts the pad bits at the top for DEPTH_COMPONENT24, but we need it
    at the bottom for texturing.  Using the format with stencil probably means
    we won't be able to do Z24 and separate S8, but I wasn't planning on
    supporting that anyway.
    
    Fixes hiz-depth-read-fbo-d24-s0




More information about the mesa-commit mailing list