Mesa (master): 99 new commits

Axel Davy axeldavy at kemper.freedesktop.org
Tue Dec 20 22:45:21 UTC 2016


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b154ac04d9cacf98631a826c25e7e3756f5cda9
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Nov 13 12:41:53 2016 +0100

    st/nine: Optimize ColorFill
    
    When we lock the whole surface to overwrite it, we can use DISCARD.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bf1da05d9375f6faf4a3977c7674a1cda9ca0b0
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Nov 13 12:40:10 2016 +0100

    st/nine: Simplify ColorFill
    
    For render targets, NineSurface9_GetSurface is not
    expected to fail.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=31262bbce085c69ef7a654528f509cb37415b41f
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Nov 12 23:36:35 2016 +0100

    st/nine: use get_pipe_acquire/release when possible
    
    Use the acquire/release semantic when we don't need
    to wait for any pending command.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=22f6d6fbd270333979c282627349eb74c06acd6b
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Nov 3 23:37:46 2016 +0100

    st/nine: Implement Fast path for dynamic buffers and csmt
    
    Use the secondary pipe for DISCARD/NOOVERWRITE, which
    avoids stalling to get the pipe from the worker thread.
    
    v2: flush at unmap. This is required for example if
    the driver does hidden draw calls or copies. In the case
    of unsynchronized it is probably not required, but
    it is more safe.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e8234fff42022b12ff7bdbff052c75c71f5bedb
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Nov 3 22:12:01 2016 +0100

    st/nine: Add secondary pipe for device
    
    The secondary pipe will be used for operations
    that don't need synchronization.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a7eeefd7dd858682244e43eb5cb0d2c84fb0b07
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Nov 12 22:24:04 2016 +0100

    st/nine: Add nine_context_get_pipe_acquire/release
    
    See commit for description.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddb6f1d2d138109b5716baf4d77683d5bf6cffc8
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Dec 13 01:10:15 2016 +0100

    st/nine: SYSTEMMEM ignores DISCARD.
    
    Tests show SYSTEMMEM should ignore DISCARD.
    
    Prevents game bugs with following patches reimplementing
    DISCARD. Halo is affected.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f344db8b0fdb08cdcba00d714309f27e073edf8
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Nov 6 12:38:38 2016 +0100

    st/nine: Upload Managed buffers just before draw call using them
    
    Previously we were uploading Managed buffers at the next draw call
    after they were set dirty.
    This is not the expected behaviour. Instead upload just before
    draw call needing the content.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e52aded87febcf422ae80551e5d204be04c89278
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Nov 3 21:53:53 2016 +0100

    st/nine: Track bindings for buffers
    
    Similar code than for textures.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62068c9d90ceda8a4a6696dee1ec7f7a718b9d36
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Nov 6 12:06:22 2016 +0100

    st/nine: Fix BASETEX_REGISTER_UPDATE
    
    BASETEX_REGISTER_UPDATE was adding the texture to the list
    of textures to upload in too many cases. tex->base.base.bind
    will be set to true if the texture is in a stateblock, whereas
    we want to upload only if bound to the device, which is
    what bind_count is for.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=804b28cdc461043bba18f1b2b914ef61b9773192
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Nov 6 12:05:50 2016 +0100

    st/nine: Simplify the logic to bind textures
    
    This makes the code more readable.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fef23f6712064416f02211f1517e387169735e0b
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Nov 2 17:17:21 2016 +0100

    st/nine: Use nine_context for resource_copy_region
    
    Use nine_context wrapper for resource_copy_region.
    Enables to offload it with CSMT.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8913a06b454bd0aca813d2ea362e7d06840216f
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Thu Oct 27 07:39:03 2016 +0200

    st/nine: Use nine_context for blit
    
    Enables to offload it with CSMT.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fd57306134b9f4e57e544ecc11971a94d7a90df
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Oct 28 18:04:10 2016 +0200

    st/nine: Add NINE_DEBUG=tid to turn threadid on or off
    
    To ease debugging.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3098bf03a6cdfdfec181f89da6f10ab7a3121515
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Oct 28 17:54:18 2016 +0200

    st/nine: Print threadid in debug log
    
    To ease debugging.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac2927335bc7cd4994d2fc0906eb328773b1f923
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Oct 26 17:11:00 2016 +0200

    st/nine: Implement gallium nine CSMT
    
    Use an offloading thread for all nine_context functions.
    Macros are used to ease the reading of the code.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c371a25a8800883dda353853cca6b5a2ba71bb4
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Dec 18 10:59:53 2016 +0100

    st/nine: Call GetPipe for implicit pipe usages
    
    With csmt, every usage of the pipe in the main thread
    has to be protected by calling GetPipe.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1277ceefd1e8c0c495b75de55cfe661a478d1aae
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Tue Oct 25 20:06:31 2016 +0200

    st/nine: Add struct nine_clipplane
    
    Required to know the size exact size of the plane.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3af17a671d871e725967a74617e5adb2e985e6ef
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Tue Oct 25 18:03:44 2016 +0200

    st/nine: Add nine_queue
    
    This queue mechanism will be used for CSMT.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e068d3afe17cb7e26d8229ee279c71a09e9a20af
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Nov 4 22:39:14 2016 +0100

    st/nine: Create pipe_surfaces on resource creation.
    
    Create the pipe_surfaces on renderable resources creation.
    
    This enables to avoid creating them on the fly.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb666b0297cb81fc1b8192ba91efd2e0a69835c5
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Nov 1 18:30:33 2016 +0100

    st/nine: Back swvp in nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5f881fd3eac79fc2dad865bc1387bfcee40e352
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Nov 1 18:23:05 2016 +0100

    st/nine: Change the way nine_shader gets the pipe
    
    The change is required with csmt, where depending on the thread
    you don't access the pipe the same way.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97e4b65e7f7b675ca0d25b6dfe8cf299af2b7a3f
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Nov 1 18:00:02 2016 +0100

    st/nine: Reimplement nine_context_apply_stateblock
    
    The new version uses nine_context functions instead of
    applying the changes directly to nine_context.
    This will enable it to work with CSMT.
    
    v2: Fix nine_context_light_enable_stateblock
    The memcpy arguments were wrong, and the state
    wasn't set dirty.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d967abb98d766e44478e4cc78dc844c29d4d360
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Nov 1 16:57:37 2016 +0100

    st/nine: Decompose nine_context_set_texture
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=69f447752debda137498c9891ffcbc15a3db301a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Nov 1 16:38:57 2016 +0100

    st/nine: Decompose nine_context_set_indices
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=08b717dfd33cb733ef3558ef3edf2e051396c462
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 26 23:25:05 2016 +0200

    st/nine: Decompose nine_context_set_stream_source
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ebdbb573b6d784068d92993d1f5f81986cfe279
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Oct 31 17:04:29 2016 +0100

    st/nine: Do not use NineBaseTexture9 in nine_context
    
    Some fields are subject to modification outside of nine_context
    (SetLod, etc).
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=152d0077690199b6cb4913d1596ed1d2048e32ca
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 30 15:00:48 2016 +0100

    st/nine: Move Managed Pool handling out of nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb884a4ac2579a8c15a0548e0a72cf9cc07530e0
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Oct 28 19:19:39 2016 +0200

    st/nine: Integrate nine_pipe_context_clear to nine_context_clear
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b95205b1f28ba23d88bc24bbb663b1e4938bbb48
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Oct 28 19:03:59 2016 +0200

    st/nine: Move pipe and cso to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=66ad5b1592bb050269216bc64aa7916056cca466
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Oct 28 19:05:31 2016 +0200

    st/nine: Rename pipe to pipe_data in nine_context
    
    This patch it to avoid name conflict when device->pipe
    will be moved to nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc49f7df8920df77dfbb0163a11486494f0c7883
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Oct 28 18:54:52 2016 +0200

    st/nine: Rename cso in nine_context to cso_shader
    
    This patch it to avoid name conflict when device->cso
    is moved to nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7237e2c5c9935d80f04f2793bde9489ca6bda9d
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Oct 28 00:43:56 2016 +0200

    st/nine: Access pipe_context via NineDevice9_GetPipe
    
    Except for nine_ff and nine_state.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a4eba8c059022b1bff7a389e72f66e513a3dc06
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Oct 27 23:36:39 2016 +0200

    st/nine: Remove NineDevice9_GetCSO
    
    Was useless. Remove useless usage in
    swapchain9.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a7541a5aa5ce496cbef4d1b15dc3caeb512606c
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Oct 27 22:52:53 2016 +0200

    st/nine: Move query9 pipe calls to nine_context
    
    This will enable to use threading for them.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a5252d25b3e65c29c3c231cec46fed8ca7dedb0
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 26 23:15:34 2016 +0200

    st/nine: Use atomics for nine_bind
    
    nine_bind didn't need atomics up to now,
    because it's use what always within a protected
    mutex. We need to use atomics because with the
    next patches several threads may use nine_bind.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b748b8fd8619ab412517f859dbf9a42b62ef6309
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Oct 20 22:10:34 2016 +0200

    st/nine: Track dirty state groups in nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0a18920c7cdba1ffc6d642aff039476755c1cae
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Oct 20 21:59:01 2016 +0200

    st/nine: Back User Clip Planes to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6ca7c747e47127bb0ced0c7ca38beaa760376a4
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Oct 20 21:41:19 2016 +0200

    st/nine: Back ps to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d671190df907b7643ba00143b2fbf0a1f5bee6c4
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Oct 20 21:31:43 2016 +0200

    st/nine: Back ds to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a735a99d0ab4d618802e4044f068f926aaf4513
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 19 23:40:27 2016 +0200

    st/nine: Back all ff states in nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb62ea925a9aaebb053f0df14a9b7c995fdb6537
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 19 23:36:50 2016 +0200

    st/nine: Refactor LightEnable
    
    Call a helper function.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbe370020e4e2b6293230bf0908f3f199c2468eb
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 19 23:29:58 2016 +0200

    st/nine: Refactor SetLight
    
    Call a helper function to set the light.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5af96aebd2be165e29124c1e5d5bb3b7021bb30
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 19 23:06:05 2016 +0200

    st/nine: Put ff data in a separate structure
    
    And make nine_state_access_transform take this
    new structure as input.
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a6d83ebc29546e8a70b4187bf1b66f6d745ef2e
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 19 21:57:52 2016 +0200

    st/nine: Back viewport to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9498613607aa9bf42a36db0462f5e38b1d1f4c60
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 19 21:47:02 2016 +0200

    st/nine: Back scissor to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f6e01052b77ee825ec681ee5d9b65f5d182ca4f
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 19 21:38:47 2016 +0200

    st/nine: Back RT to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aafbd62955f279172b0b57c3fd2b82da54f8035f
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 19 20:41:40 2016 +0200

    st/nine: Back current index buffer to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b13b217243f1700e9c88bfc91a4d85cc2c17ab60
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Oct 18 22:43:53 2016 +0200

    st/nine: Back all shader constants to nine_context
    
    For device vs shader float constants and may_swvp,
    the same tips than for the other constant types is
    used.
    
    Also memset the constants properly.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=93ac6dfdcce5260ee06b8c32306cb2af8ee782e3
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Oct 18 20:48:54 2016 +0200

    st/nine: Back sampler states to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a698c3df2a940a693d39c77692b32d946ccec1d
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Oct 17 21:43:11 2016 +0200

    st/nine: Back vs to nine_context
    
    And move programmable_vs storage and computation.
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=43288cf376a280f1f7757e2c47f6ddcaad0c384f
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Oct 17 21:18:42 2016 +0200

    st/nine: Back vdecl to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63633e2a08b227025f1e479fe26244e6bf37d7e7
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 16 19:16:31 2016 +0200

    st/nine: Move stream freq data to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=848ffc81e4c91414ec29464ee71560547a12cd64
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 16 18:17:27 2016 +0200

    st/nine: Move vtxbuf to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aea7a019ef67a4a5cb83f97aceafac098275171c
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 16 17:49:09 2016 +0200

    st/nine: Move stream_usage_mask to nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eed47b748f26363c0de063f51b0c67959e7e5b06
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 16 16:09:51 2016 +0200

    st/nine: Back textures into nine_context
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bbb7b9fc5bc978ac3236064a1de50376177c735
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 16 15:56:14 2016 +0200

    st/nine: Move texture setting to nine_context_*
    
    And move samplers_shadow to nine_context.
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1871e829aa220a7040ca6e423d404f072256db9
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 16 15:29:46 2016 +0200

    st/nine: Track changed.texture only for stateblocks
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64e232bd60336591e55e6c95112bac334cb38970
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 16 11:34:35 2016 +0200

    st/nine: Move draw calls to nine_state
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    v2: Release buffers for Draw*Up functions in device9.c,
    instead of nine_context. This prevents a leak with csmt
    where the wrong pointers were released.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f72d8719ebecce0937087a56eec24a51bea9e27a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Oct 15 13:52:04 2016 +0200

    st/nine: Move core of device clear to nine_state
    
    Part of the refactor to move all gallium calls to
    nine_state.c, and have all internal states required
    for those calls in nine_context.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b24d5e1f5450e51d79c22679fed5d4b9731004c
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Oct 15 13:17:52 2016 +0200

    st/nine: Introduce nine_context
    
    nine_context is a new structure which goal will be
    to contain all internal states. It will be the states
    of the second thread in the to-be-introduced CSMT mode.
    
    This patch moves several internal states to nine_context,
    while the next patches add the other fields.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3c59fbd25dbad82f26bbaa260435c1557fa926d
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Nov 30 00:00:25 2016 +0100

    st/nine: Implement WFOG properly
    
    We were advertising support for WFOG (like all win drivers),
    but we weren't implementing it.
    This patch implements the behaviour. See comments.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b40f12ebf0288ee66eb8500986c35fbe09da9b56
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Nov 27 16:23:37 2016 +0100

    st/nine: Fix ff texture coordinate selection
    
    The code was wrongly detecting which texture coordinates
    to generate when the coordinate index was different to
    the stage index.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c75415224fdb7f16f4a6f7ed87dbe62479048a9d
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Nov 27 13:14:21 2016 +0100

    st/nine: Convert redundant check to assert in ff ps
    
    We disable the alpha stage if the color stage is disabled.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32f6f91617b5d90d162aab1d4fb97e58c692edb9
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Nov 27 13:13:13 2016 +0100

    st/nine: Fix two special cases in ff ps
    
    if first alpha stage is disabled and writes to temp,
    diffuse alpha is written to temp.
    Last stage always writes to current.
    
    Behaviour was deduced by tests with a test app.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1efdc8f5946af509da697b604c6f2639c7080bc9
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Nov 27 13:10:52 2016 +0100

    st/nine: Remove useless code in ff ps
    
    Current is already initialized to Diffuse.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7afea63d4fc2077c0f18604c0b68adb13435eabc
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Nov 26 21:58:29 2016 +0100

    st/nine: Fix ff cases when stages should be disabled
    
    When a texture is read by a stage for colorop, it should
    be disabled, and disable following stages.
    
    When a texture is read for alphaop, 1.0f is read for the input,
    which is the behaviour for a dummy texture.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=191b90a35c1fa5230937456a95722971d46ed79d
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Nov 27 12:55:46 2016 +0100

    st/nine: Always initialize current in ff ps
    
    The check was not catching all possible cases.
    NVE4 should be fine.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ee978fa5054617624a7e521d9eddccbcc1f87ce
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Nov 26 21:47:44 2016 +0100

    st/nine: Fix check for ff specular
    
    Fix the check for computing ff specular.
    
    This seems to match the opengl behavior,
    and give the correct output on windows.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89716b0b384cfdab979127c70b8525692fcb243a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Nov 26 14:28:38 2016 +0100

    st/nine: Do not saturate illumination coefficients in ff
    
    Fixes bad rendering of a test app.
    Wine has the same behaviour.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=877dc0308f57bae3d4737fd28e56915428c1f261
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Nov 26 14:25:44 2016 +0100

    st/nine: Fix ff COLOR0 w component computation
    
    The computation was wrong. COLOR0's last component
    should be equal to the material diffuse w component.
    
    The behaviour was checked with a test app on Windows.
    Wine has the same behaviour.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e94ac230a29ecf6060c5fb15a9274ea8294239cb
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Nov 22 21:53:03 2016 +0100

    st/nine: Fix specular enable for alpha
    
    Apparently specular enable doesn't affect
    the alpha channel.
    
    Fixes https://github.com/iXit/Mesa-3D/issues/253
    
    Behaviour comfirmed looking in wine sources.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=85811d0e87b4e460a1cf4cc6654482c05628c383
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Nov 20 10:55:54 2016 +0100

    st/nine: Ignore MULTISAMPLEMASK when RT is not multisampled
    
    We were ignoring MULTISAMPLEMASK for non-maskable multisample
    modes, but we were missing the non-multisampled case.
    
    Fixes a crash in Halo.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bce9fe8db25d767d51ed995e2dcb56a89b40d21a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Dec 6 21:58:25 2016 +0100

    driconf: Fix missing gettext
    
    DRI_CONF_NINE_OVERRIDEVENDOR was missing gettext for the
    description.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59048e75489e6a8d1a75ed6b9c869bd96886f75c
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Nov 19 13:11:15 2016 +0100

    st/nine: Add new driconf options to control DISCARD behaviour
    
    See the patch for the new controls added.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=06657fa203a46c37042e87d05d741439857156c7
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Nov 19 12:39:31 2016 +0100

    st/nine: Rework buffer presentation path
    
    Use the new API for DISCARD.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=35ea402a24545770353713434e35bd791687841c
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Nov 18 19:11:29 2016 +0100

    st/nine: Fix a leak in Swapchain dtor
    
    Count properly the number of backbuffers,
    and use the new info to release the correct
    number of buffers
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f78cbbdfaaf2e83708da93fe62b1b73c27cd3ef5
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Nov 18 23:07:08 2016 +0100

    d3dadapter/present: Add precision for WaitBufferReleased
    
    Add precision on the behaviour of WaitBufferReleased.
    All implementers and users of the API were expecting
    that behaviour.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0eef5491d306cdf3094763f7923a59f2d2288a57
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Nov 18 19:26:54 2016 +0100

    d3dadapter/present: Add new API to ID3DPresent
    
    The API will enable better support for the commonly
    used DISCARD swapchain parameter.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2f17e5f62e43ab6fd07d8752d0fc27f89f8aa37
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Dec 6 22:24:53 2016 +0100

    st/nine: Silent warnings with guid_str
    
    In non-debug build, the variables are unused,
    and thus trigger a compilation warning.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cd8622fb33b72671feae3918850e7cc885aa030
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Nov 18 18:44:43 2016 +0100

    st/nine: Do not generate gallium NOP on d3d NOP
    
    Some drivers crash if NOP is generated.
    Besides there is no point to generate NOP.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=461e03167e20451ee2f531120f93894b23d802da
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Nov 2 22:06:29 2016 +0100

    st/nine: Fix leak in user constant upload path
    
    The new code properly releases the previous buffers
    allocated.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3e5140142c65edc7004a3e8c0d4a852dfb8e60e
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Oct 24 21:50:26 2016 +0200

    st/nine: Correctly release sw cursor image
    
    cursor.image is used for software cursor
    emulation. It wasn't released.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c0f65e08a197d153801f0ea3ee0fb9e85884f44
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Oct 24 21:48:13 2016 +0200

    st/nine: Handle when cursor stride is not what is expected
    
    SetCursor assumes for now a 32x32 argb cursor with pitch 128.
    32x32 argb doesn't have pitch 128 on all hw, thus use a
    temporary surface with the correct pitch when needed.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7a0f580a6029845b372504388b5b5d2eed2c55b
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 23 22:27:30 2016 +0200

    st/nine: Avoid crash on empty Draw*Up
    
    Ignore empty draw calls.
    Avoid assertion fault when such draw calls happen
    in u_upload_mgr.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ada0c2ceaa510550ad11f509016fc09f5a5e56d3
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 23 22:26:23 2016 +0200

    st/nine: Capture texturestage states in pixel stateblocks
    
    pixels stateblocks need to capture these.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b021be769ae74ba0bf5d79b7faee693f5cd5807
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 23 12:16:38 2016 +0200

    st/nine: Add missing changed states to pixel stateblocks
    
    Some states were not properly recorded in pixel stateblocks.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3b593b83b25b84975d2898d34dafa01d23c61b3
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 23 12:16:06 2016 +0200

    st/nine: Add some debug info in stateblocks
    
    This is useful to check what is exactly recorded.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fad0f147fb6590e85bd77d44494a4813a15dfd5b
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Oct 21 17:14:14 2016 +0200

    st/nine: Remove useless check in surface9 ctor
    
    Textures already have the check in BaseTexture9.
    Non-Textures cannot be in the MANAGED Pool.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=503d72902955441425fa7f612026c0188c4cc0ac
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Oct 20 00:00:57 2016 +0200

    st/nine: Fix bad light initialization in stateblocks
    
    src was initialized instead of dst.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9be94d5c1ac42bd39b9774db9de507c947ceb8f2
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 19 22:18:56 2016 +0200

    st/nine: Remove unused ff.changed.group
    
    It was unused.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=638b70985d97fddd4c34940de6720fe1d9847b26
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 19 21:08:57 2016 +0200

    st/nine: Fix ps multisample check
    
    We want to use centroid for nonmaskable
    multisampling as well.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d38215fb175140050c721a357c0982377ce423bb
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Oct 19 20:57:48 2016 +0200

    st/nine: Fix useless swapchain init checks
    
    In NineDevice9_SetDefaultState we can assume the
    implicit swapchain is properly initialized.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=409ad787778461e774b5b0dfa4e6c77f355ca16f
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 16 17:47:56 2016 +0200

    st/nine: Don't update stream_usage_mask in sw path
    
    The variable is used only in the hw path.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0630d3600bfb770cf3b23761c45b3add3b277c6b
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 16 10:54:41 2016 +0200

    st/nine: Remove useless call to nine_update_state
    
    The call was not needed.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=494ace4b851fc3201bdb0297e53ccf8dfde78510
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat May 16 16:46:51 2015 +0200

    st/nine: Add validation to SetSamplerState
    
    Check value validity and mimick Win behaviour.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4d5bc2555a419bd5304b64fedc91fad79cd8d2b
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 9 13:07:27 2016 +0100

    st/nine: Improve doc of D3DPMISCCAPS_POSTBLENDSRGBCONVERT
    
    The cap should be advertised for d3d10 able cards,
    but only for Ex contexts.
    
    Unfortunately at this point Mesa has no way to know if
    Ex is used or not (the info is got later).
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4268fd175336f91e571f9060c9ad1f167132574
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Dec 19 20:06:51 2016 +0100

    gallium-docs: Add documentation for when using several contexts
    
    Add documentation to explicit what can be expected and what is allowed
    when using several contexts.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1736ef65701d915cb5c4c7e489d35da4df47b58e
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Dec 19 19:51:13 2016 +0100

    gallium-docs: Add documentation for threading requirements
    
    Add documentation for the requirements related to threading
    for screens and contexts.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>




More information about the mesa-commit mailing list