Mesa (master): 78 new commits

Axel Davy axeldavy at kemper.freedesktop.org
Mon Oct 10 21:44:21 UTC 2016


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eef0744d4384a48c70da3f9863a02ceab08c97bb
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 2 12:14:03 2016 +0200

    st/nine: More checks for GetRenderTargetData
    
    Fixes a wine test crash
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a52e700169066c7c2b4a26230f66f77db702af82
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Sep 28 20:11:34 2016 +0200

    st/nine: Add debug output for lost devices
    
    Add debug output to ease debugging.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d85253dc30cc26a40fa6f4a52cf61880827edee
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Sep 28 18:50:19 2016 +0200

    st/nine: Prevent crash in GetRenderTargetData
    
    Return error instead of crashing on source surfaces
    with format D3DFMT_NULL.
    
    Fix for issue #236.
    
    Tested on Windows 7.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09edc0555f91d76001b1ffc0e656b0614abb809a
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Sat Sep 24 18:19:26 2016 +0200

    st/nine: Set CLAMP_TO_EDGE on cubetextures
    
    Wine tests show that cubetextures always use
    PIPE_TEX_WRAP_CLAMP_TO_EDGE regardless of set
    sampler states.
    
    Fixes failing d3d9 wine test test_cube_wrap.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa2574497b25d06258404b83282719dbb477b190
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Sat Sep 24 11:34:33 2016 +0200

    st/nine: handle possible failure of D3DWindowBuffer_create
    
    Check for errors and pass them to the callers.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f04fa0a62c6d39659c38eabd63bff54f0d2833fe
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Sat Sep 24 10:46:27 2016 +0200

    st/nine: Assert on buffer creation failure
    
    Add an assert to make sure buffer creation doesn't fail.
    Add error handling in calling functions.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8c01e7a96aed4e64eab11acbae8aef70c8e7cbe
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Sep 23 17:55:08 2016 +0200

    st/nine: Use NineDevice9_CreateDepthStencilSurface in swapchain9
    
    Replace custom code with NineDevice9_CreateDepthStencilSurface.
    All functionality is given now.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63367e6c9507dccba4e8bc563e190123e25b6893
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 2 00:58:48 2016 +0200

    st/nine: Fix check and remove useless code in swapchain9
    
    The removed code was there for two reasons:
    1) Allow DF16, DF24, INTZ to be used as depth buffer
    for swapchain, if the driver doesn't support
    PIPE_BIND_SAMPLER_VIEW for the underlying format
    2) Set PIPE_BIND_SAMPLER_VIEW if possible, such that
    if StretchRect is called on the depth texture, it is happy.
    
    1) The reason these formats needed a workaround is because
    the check flags for them in CheckDeviceFormat were incorrect,
    which led applications to think the formats were valid for
    swapchains, even if they weren't supported.
    2) StretchRect limitations for depth buffers force
    the resource_copy_region path, which should be fine without
    PIPE_BIND_SAMPLER_VIEW.
    
    Thus fix the check for 1), and remove the code.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60624be2033f06b414cf76794c2f3b061dc28332
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Thu Sep 22 17:03:17 2016 +0200

    st/nine: Implement MSAA quality levels
    
    Advertise quality levels:
    Each supported multisample count matches to one quality level.
    The application doesn't know how much samples each quality level has.
    For that reason it's not possible to set the multisample mask.
    
    Return errors on quality level missmatch.
    
    Fixes several old games not having multisample support until now.
    
    Fix for issue #73.
    
    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=8a50b1244fcb77334dc9d8e470061cd5f9537375
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Sep 30 18:15:31 2016 +0200

    st/nine: Prepare update_framebuffer for MS quality levels
    
    Compare resource's nr_samples instead of D3D multisample level.
    Required for multisample quality levels to work correct.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5603056872708fdd82f1224854097805a01d4c0
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Sep 30 16:15:38 2016 +0200

    st/nine: Add additional error handling in CheckDeviceMultiSampleType
    
    Return one supported quality level in error cases.
    Return error on invalid multisample count.
    
    Fixes failing wine tests.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7afab4ad39b5c479d5c986483511c68b92c31219
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Thu Sep 1 18:07:55 2016 +0200

    st/nine: Fix compiler warning
    
    Use strict aliasing in SetPrivateData and struct pheader.
    Casting char[1] to IUnknown** isn't allowed in strict aliasing.
    Compute pointer to body by adding size of header to header pointer.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9f31111ac5630a9cdfe4ceb404bdfdd7d804424
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Sep 16 17:33:52 2016 +0200

    st/nine: Remove resource9 {Set/Get/Free}PrivateData functions
    
    Remove {Set/Get/Free}PrivateData in resource9.
    Functionality has been implement in IUnknown interface.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03888e8a46be7943378f0a09cea3f404ba623101
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Sep 16 17:32:20 2016 +0200

    st/nine: Remove volume9 {Set/Get/Free}PrivateData functions
    
    Remove {Set/Get/Free}PrivateData in volume9.
    Functionality has been implement in IUnknown interface.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=485cba7eb4f53ccd40a24d229cb7307ce4be27de
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Sep 16 17:29:47 2016 +0200

    st/nine: Switch {Set/Get/Free}PrivateData functions
    
    Switch {Set/Get/Free}PrivateData function to introduced IUnknown functions.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4117f5e1ab3e87313a0ec9ad2358aa6614a99d63
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Sep 16 17:26:07 2016 +0200

    st/nine: Implement {Set/Get/Free}PrivateData in iunknown
    
    Implement {Set/Get/Free}PrivateData in iunknown to get rid
    of duplicated code in resource9 and volume9.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1c8e852c158759ac8c551ab104ff05d683acf19
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Sep 16 16:42:50 2016 +0200

    st/nine: Return device in NineSurface9_GetContainer
    
    According to MSDN the device is returned for surfaces that do
    not have a regular container.
    
    Such surfaces are:
    OffscreenPlainSurface, DepthStencilSurface and RenderTarget
    
    Tested and verified on Windows.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba0274c7d6c3b77a36bbe1b444f427b0c873e2f3
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Thu Sep 15 20:28:17 2016 +0200

    st/nine: Allocate surface resources in surface ctor
    
    Allocate resources in surface ctor.
    Allows to use statetracker internal memory accounting.
    
    Fix for issue #231.
    
    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=1f65f67b21821c00ebd9f1aa9f9f0b417b0a9677
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 2 11:58:41 2016 +0200

    st/nine: Fix D3DFMT_NULL size
    
    D3DFMT_NULL is mapped to PIPE_FORMAT_NONE.
    Instead of relying on PIPE_FORMAT_NONE to
    return a size, pick one.
    The one picked is the same than Wine.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9dc792b95bb795fd924ee76c93245f39796ce862
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Sep 14 19:51:48 2016 +0200

    st/nine: Add debugging output
    
    Add DBG calls to NineTexture9_GetLevelDesc and
    NineTexture9_GetSurfaceLevel to ease debugging.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ceb2264c571c7ca03cc9fbd08df92f3bea89372
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Sep 14 19:50:16 2016 +0200

    st/nine: Fix assert in NineUnknown_QueryInterface
    
    Tests showed that is allowed to call this method on
    object that have a zero refcount.
    Required for issue #230.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2eacef33de8d7b136b485927cb10f15d7439d48
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Sep 14 19:12:58 2016 +0200

    st/nine: Print interface id in NineVolume9_GetContainer
    
    To ease debugging print interface id.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=489dbc51ae1e312b6a9441dfac3bfcf8020b6293
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Sep 14 19:12:27 2016 +0200

    st/nine: Print interface id in NineSurface9_GetContainer
    
    To ease debugging print interface id.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e63a38832b7aba644f7dde4c1da7d9e217cfcf3e
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Sep 14 18:44:41 2016 +0200

    st/nine: Print interface id in NineUnknown_QueryInterface
    
    To ease debugging print interface id.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a1cce20b605aee4f8787b6d5ad59ee25ac7550f
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Sun Sep 11 11:05:01 2016 +0200

    st/nine: Move assert in NineSurface9_ctor
    
    Move assert to function entry.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=851e4b8d8ab13752693ea7b1d59f11355ae56f7a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Oct 1 12:55:16 2016 +0200

    st/nine: Properly declare sampler states for ff
    
    Fixes a softpipe assertion failure with wine tests
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ce23c1689563a6b6a8ad09ac065cb71db9f4641
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Oct 1 11:47:52 2016 +0200

    st/nine: Handle user clipping planes properly for ff
    
    Found reading msdn and checking Wine.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2fd2966483dda23911dc89fdf9dbff02a87df6a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Sep 30 00:17:45 2016 +0200

    st/nine: Fix the calculation of the number of vs inputs
    
    Fixes hangs on radeonsi, and assert on llvmpipe.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    
    Cc: "12.0" <mesa-stable at lists.freedesktop.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71e7292a85cf6fffef87bed075ebfdde61180054
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 21:20:23 2016 +0200

    st/nine: Fix specular w coordinate
    
    Found looking at Wine formulas.
    Fixes a few visual issues.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=732cea09cdae896b8f2be2c9706fedb48ed06f3e
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 21:15:07 2016 +0200

    st/nine: Disable parts of lighting calculation if no normal provided
    
    Behaviour found in Wine sources, and checked with some test apps.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc9bb19dce2e293a377f19a873d492a16f2312ab
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 19:58:33 2016 +0200

    st/nine: Fix condition for specular lightning
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c56c7c1fc8feb26eb97b406cb792d474f2c5b03c
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 19:39:29 2016 +0200

    st/nine: Do always accumulate diffuse
    
    According to spec.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5bce80f505e0fba4f646649945454ba07e94a83
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 14:55:04 2016 +0200

    st/nine: Initialize ps ff registers
    
    Found with wine tests for the rTmp register.
    Not sure for the other ones.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ed3d5ee571bc25e04759667f632810c6ccb749e
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 14:50:32 2016 +0200

    st/nine: Do not pollute rTmp in ff ps
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9b8b3196ecb8d84536cf2449d394288e408b1da
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 14:04:17 2016 +0200

    st/nine: Allocate temporaries on demand for ps ff
    
    Same change than for vs ff.
    This makes it easier to not introduce mistakes
    reusing temporaries whose result shouldn't be
    erased.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7dd27aed3045174eb91ec5a99c4c619504f6559
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 13:34:25 2016 +0200

    st/nine: Fix texbem
    
    Error found with wine tests.
    nine_shader was expecting another order
    than the one device9 was using.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7afcbb49baa9b4e447d3806aaffcebc01103c965
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 12:43:29 2016 +0200

    st/nine: Fix ff computation for inverse
    
    Thanks to wine tests.
    Apparently 4x4 inverse is to be used, and
    if the inverse can't be calculated, the
    input matrix is to be used.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=36399f9a7f97692a69157c74bb503dc8cb427fa5
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 12:16:59 2016 +0200

    st/nine: Used normed Vtx for reflectionvector
    
    Fix deduced from the spec.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eda1e6ece722b1f9f7083e419884ca4f7b025dd2
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 12:07:29 2016 +0200

    st/nine: Implement SPHEREMAP
    
    Behaviour checked with a test app.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3ddc80ec84533329af6540108230b079858c378
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 02:05:28 2016 +0200

    st/nine: Enable passthrough only if positiont is used
    
    Wine tests for the passthrough feature are for positiont.
    
    Nothing seems to indicate passthrough happens when positiont
    it not used. However having passthrough with positiont makes
    sense (to be used with ProcessVertices outputs).
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b5bed774b420c29c45e16a0d962e29a4d0ffb4e
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 25 16:01:57 2016 +0200

    st/nine: Fix wrong mask in ff vs
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=028dab95f6805dee5b7bce51ece3c55a59c70c9f
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 24 23:55:57 2016 +0200

    st/nine: Fix tweening factor computation
    
    The computation was reversed.
    Deduced by tests on windows.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fe055338d978cf1cdbe6ca101f20d964069038c
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 24 23:50:58 2016 +0200

    st/nine: Disable ff vertex blending if required inputs are missing
    
    This behaviour has been partially tested on windows.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa69bb684875fb22fa1c4dd5f0da86552ca73ff2
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 24 22:49:31 2016 +0200

    st/nine: Use materials if source is not given.
    
    Deduced by test on windows.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab068a78d39815d723b8b2b30dc4477c4ad7fa1a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 24 22:19:14 2016 +0200

    st/nine: Fix ff SPECULARENABLE
    
    We were (wrongly) adding specular to diffuse
    in vertex shaders when SPECULARENABLE was set.
    
    However the spec says specular has to be added
    after texture processing (which is in ps).
    Besides SPECULARENABLE is flagged as a pixel state.
    
    There was unused support for SPECULARENABLE
    in the ps ff code.
    Remove the vs code, and use the ps code.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d7890a4412ae0d6ac7ebdd9c1baacb48e404399
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 24 22:17:22 2016 +0200

    st/nine: Undefined specular should be full of zeros
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9330f93483e2302a503da63664645eb6b6a6336
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Sep 29 22:16:19 2016 +0200

    st/nine: Implement normal transformation with vertex blending
    
    The formula is different from the one of the spec,
    but otherwise nothing particular.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=305e8106ab81bd1f21dafba5cf0c0eae12e9516d
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 24 21:09:08 2016 +0200

    st/nine: Increase MaxVertexBlendMatrixIndex
    
    Modern cards do advertise 8.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=567be40de9246ff30a337e8c5916dc45ea5664eb
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 24 21:05:04 2016 +0200

    st/nine: Compact ff vs constants a bit
    
    There are several holes. This patch reduces
    the holes a bit, which reduces the size of
    the constant buffer uploaded.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07d1f32e0f6f6edad106506039f398767cd52957
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 24 10:42:08 2016 +0200

    st/nine: Fix vertex blending aVtx computation
    
    There was an multiplication by the world matrix 0
    which had nothing to do there.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9d8cb9f1916358989d2144882c10fd21b075d06
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 24 10:22:30 2016 +0200

    st/nine: Reorganize ff vtx processing
    
    The new order simplified the code a bit for
    next patches.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cde74cba71cde351f55efa2581e0f2c86e47f7d1
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 24 10:14:42 2016 +0200

    st/nine: Small simplification for position_t and fog
    
    position_t disables fog computation.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d2a8e8a367b397466d191f47e766ee3540a6ea6
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Sep 23 23:14:36 2016 +0200

    st/nine: Cleaning code for vs temporaries
    
    This has been a real mess up to now: the temporaries
    were allocated once, and shared after that between
    the different parts of the code.
    
    To help maintaining the code, the temporaries are now
    allocated and released on need.
    
    As surprising as it could be, this patch, which was
    supposed to introduce no behaviour change, actually
    solved a visual bug observed on a sample program.
    This was due to ureg_normalize3 polluting a temporary
    variable.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f18b6f351f159ecd7703cc818941394990bafe9
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Sep 23 22:24:42 2016 +0200

    st/nine: No need for the local flag for temporaries in ff
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb9ad8f9691baa4566a0763a70946662ad79b977
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Sep 23 21:50:51 2016 +0200

    st/nine: Handle D3DRS_NORMALIZENORMALS
    
    When this state is set, the normals computed
    in the vs ff shader should be normalized.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9639c661fb6b52c8abb96c06263f85ca4bd78c1
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Sep 19 19:00:23 2016 +0200

    st/nine: Initial ProcessVertices support
    
    For now only VS 3 support is implemented.
    
    This enables The Sims 2 to work.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bf02d383fe94a69dfec3ff54ede3e3b2e9dff6b
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 17 14:16:41 2016 +0200

    st/nine: Partial software vertex processing support
    
    Software Vertex Processing allows:
    . Less limitations for shaders (more loops, etc)
    . Less limitations for ff (more enabled lights, 255
    matrices for VertexBlend)
    
    In particular shaders can get more constants.
    This patch implements support for this (not using software
    rendering, but hardware rendering, as llvmpipe and dx10+ hw
    have the same limits...)
    
    This is considered a second class path. Even apps asking for
    "Mixed Vertex processing" (ie the ability to switch to swvp
    on demand) do not use the feature much. Some just initialize
    more constants than the normal limit at the start of the
    application, but never use more than the normal limit.
    When the apps do not need the software vertex processing
    features, they do not seem to turn it on. This means it is
    ok if that path is slow.
    Thus no care has been made to make the path optimized.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8c8f4424405c4789a044470e64df810720358c8
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Oct 4 19:45:40 2016 +0200

    st/nine: Rework vs int and bool constants buffer
    
    This will help to support swvp constants.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a83dce01284f220b1bf932774730e13fca6cdd20
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Oct 4 19:29:59 2016 +0200

    st/nine: Change dirty tracking for vs int and bool constants
    
    This change makes easier to introduce tracking for
    swvp constants.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f78089b962537364d52ba05aa14dacbe20de995c
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Oct 4 19:14:42 2016 +0200

    st/nine: Drop unused constant upload path
    
    This path has been disabled for some time because
    of some bugs with it. It hasn't been updated to the
    new features, and is not faster.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1604efa6fda9b780e8537a131ad77f3e83e5a67a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Sep 17 12:14:58 2016 +0200

    st/nine: Add support for swvp constants in shaders
    
    swvp has relaxed limits (more nested loops, etc).
    In particular it enables more constants.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56ea3df7d437f3f4460992f18eae3dbf00af8ab9
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Sep 15 23:00:02 2016 +0200

    st/nine: Initial mixed vertex processing support
    
    In mixed vertex processing, the user can enable or disable
    software vertex processing. It is on hardware by default.
    
    This feature is not a state, and thus the setting doesn't
    need to be recorded by stateblocks.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=747f1ef8b6f0ea78f247504ef55e72d8aa3f733a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 11 16:21:43 2016 +0200

    st/nine: Implement SetNPatchMode
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ded7a73eb36e4a1cce625b2c612ec4acb85eed9e
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Sep 11 15:57:12 2016 +0200

    st/nine: Implement D3DUSAGE_SOFTWAREPROCESSING
    
    Buffers with this flag must be usable with both software
    and hardware vertex processing. Use Staging for fast cpu access.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=19703f2a363ba467288bccfa4aeef33ce1472c5f
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Sat Aug 20 09:39:08 2016 +0200

    st/nine: Allocate more space for ATI1
    
    ATIx are "unknown" formats that do not follow block format conventions.
    Tests showed that pitch*height bytes are allocated.
    apitrace used to depend on this behaviour.
    It used to copy more bytes than it has to for the ATI1 block format,
    but it didn't crash on Windows.
    
    Increase buffersize for ATI1 to fix this crash.
    The same issue was present in WINE but a patch has been sent by me.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec6c636722763ba0459b5a8936870250594699a5
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Sat Aug 6 07:54:54 2016 +0200

    st/nine: Add missing break
    
    Add missing break instruction.
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03f60a335767957dca451ff013a170557e0244b6
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Jun 12 22:20:21 2016 +0200

    st/nine: Implement relative addressing for ps inputs
    
    To implement the feature we copy the ps inputs to a temp array.
    This is not optimal for performance, but it is the simplest solution.
    
    This is a feature that is very very rarely used.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5d308e51a7be7e90d1373fa8ec7813ae8018ae5
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat May 7 16:25:03 2016 +0200

    st/nine: Wait for pending tasks to execute in swapchain
    
    Fixes crash after Reset() when using thread_submit=true
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f090705075201c16664caa613bec244053404bbb
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat May 7 16:14:00 2016 +0200

    st/nine: Use fixed size arrays for swapchain buffers
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a719800cb82c3634e48843c4348c533ed29381d3
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Sat May 7 16:02:59 2016 +0200

    st/nine: Fix buffer count check for Ex devices
    
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ff0dc31296fe8b40689948101ba2eb6e56a3755
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Apr 17 19:14:35 2016 +0200

    st/nine: Disable seamless cubemap for d3d
    
    d3d9 doesn't have seamless cubemap.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0ec54ee32ddb2012eb2c74c47687e48306aa640
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 14 22:19:54 2016 +0100

    st/nine: Fix some check flags
    
    Uses the new defines introduced in previous commit.
    See comment in the commit for more explanation.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=39e98d351f84b3052c59dc97b28936e22918f9d3
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 14 21:26:19 2016 +0100

    st/nine: Unify some check flags
    
    The new defines will be reused in a later patch.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2290eac84ef0c80a6e60cafac8ed0fb8f8a4ca93
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Sep 30 20:48:22 2016 +0200

    gallium/util: Really allow aliasing of dst for u_box_union_*
    
    Gallium nine relies on aliasing to work with this function.
    Without this patch, dirty region tracking was incorrect, which
    could lead to incorrect textures or vertex buffers.
    Fixes several game bugs with nine.
    Fixes https://github.com/iXit/Mesa-3D/issues/234
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Patrick Rudolph <siro at das-labor.org>
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>
    
    Cc: "12.0" <mesa-stable at lists.freedesktop.org>

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

    softpipe: Cap to 2 GB on 32 bits
    
    On 32 bits system, application memory is quite limited.
    softpipe uses application memory. To help prevent memory
    exhaustion, limit reported memory availability to 2GB.
    
    Some gallium nine apps do check reported memory by allocating
    resources until memory is full. Gallium nine refuses allocations
    when 80% of the reported memory limit is used. This change
    helps some apps to start.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=814ca96d0d8692c5260f595be53c4b9aed0989fa
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 28 22:34:35 2016 +0200

    llvmpipe: Cap to 2 GB on 32 bits
    
    On 32 bits system, application memory is quite limited.
    llvmpipe uses application memory. To help prevent memory
    exhaustion, limit reported memory availability to 2GB.
    
    Some gallium nine apps do check reported memory by allocating
    resources until memory is full. Gallium nine refuses allocations
    when 80% of the reported memory limit is used. This change
    helps some apps to start.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=218459771a1801d7ad20dd340ac35a50f2b5b81a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Oct 6 19:35:04 2016 +0200

    gallium/os: Fix overflow on 32 bits
    
    On systems with more than 4GB of ram,
    os_get_total_physical_memory was triggering an integer
    overflow for the linux and haiku path, when on
    32 bits.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94561
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9904581dc663543861c05ecf0ddd1a51a934f812
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Oct 9 14:26:32 2016 +0200

    st/nine: Memset pipe_resource templates
    
    Fixes regression introduced by
    ecd6fce2611e88ff8468a354cff8eda39f260a31
    and is more future proof than just clearing the next
    field.
    
    Other nine usages did already zero out the templates.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Acked-by: Edward O'Callaghan <funfunctor at folklore1984.net>




More information about the mesa-commit mailing list