Mesa (master): 29 new commits

Axel Davy axeldavy at kemper.freedesktop.org
Wed Apr 29 06:29:21 UTC 2015


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=231be57ee2515428e3de31f514effe9cf06bcda0
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Feb 20 12:59:45 2015 +0100

    st/nine: Remove Managed texture hack.
    
    Previously binding an unitialized managed texture
    was causing a crash, and a workaround was added to
    prevent the crash.
    
    This patch removes this workaround and instead set the initial
    state of managed textures as dirty, so that when the texture is bound
    for the first time, it is always initialized.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=58d295d41e30434c570248eeee73af2006b79eea
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Feb 20 12:34:47 2015 +0100

    st/nine: Enforce LOD 0 for D3DUSAGE_AUTOGENMIPMAP
    
    For D3DUSAGE_AUTOGENMIPMAP textures, applications can only
    lock/copy from/get surface descriptor for/etc the first level.
    Thus it makes sense to restrict the LOD to 0, and use only the first
    level to generate the sublevels.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f57e014365563c0dcc32451401a76212abf0a54
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Feb 20 12:11:56 2015 +0100

    st/nine: Some D3DUSAGE_AUTOGENMIPMAP fixes
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24eca6a30dea4cde0b0528b85e83d45a6430762e
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Feb 19 22:28:37 2015 +0100

    st/nine: util_gen_mipmap doesn't need we reset states.
    
    util_gen_mipmap uses pipe->blit, and thus doesn't need
    we restore all states after using it.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a7758c5525fa90bf7c546acc58a9ea41f7d320b
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Feb 19 20:55:42 2015 +0100

    st/nine: D3DUSAGE_AUTOGENMIPMAP is forbidden for volumes
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec411d9b74f9aca941b27fafeae1416df0f9eaec
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Feb 19 20:23:06 2015 +0100

    st/nine: Fix NineBaseTexture9_PreLoad
    
    It wasn't uploading the texture when the lod
    had changed.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b45fa97a22d091a5c9a3d9c9432ff880e79231d6
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Feb 19 19:34:02 2015 +0100

    st/nine: Rewrite Managed texture uploads
    
    That part of the code was quite obscure.
    This new implementation tries to make it clearer
    by separating the differents parts, and commenting more.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=090ebc7638e64592716ac4ecd4c29609b2f35421
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Feb 19 17:44:43 2015 +0100

    st/nine: Bound the dirty regions to resource size
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=520e36f89cb9048258d9c1ca42de68564ad876a9
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Feb 19 17:34:45 2015 +0100

    st/nine: Simplify Surface9 Managed resources implementation
    
    Remove the Surface9 code for dirty rects, used only for Managed
    resources. Instead convey the information to the parent texture.
    
    According to documentation, this seems to be the expected behaviour,
    and if documentation is wrong there, that's not a problem since it can
    only leads to more texture updates in corner cases.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c2247ac60f426a6441f964f2204af9f8dc04dc5
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Feb 19 16:35:45 2015 +0100

    st/nine: Remove impossible cases with Managed textures
    
    Copying to/from a Managed texture is forbidden.
    Rendering to a Managed texture is forbidden.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e558ce98f2b01e11ff79c29efaea2877121ae04a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Feb 19 16:18:00 2015 +0100

    st/nine: Encapsulate variables for MANAGED resource
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=35fe920e1ec877d487e5dd33c9aea7e1ec1dbe11
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Feb 19 11:21:12 2015 +0100

    st/nine: Rework texture data allocation
    
    Some applications assume the memory for multilevel
    textures is allocated per continuous blocks.
    
    This patch implements that behaviour.
    
    v2: cache offsets
    
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=54f8e8a18da58c85a2f515d5fd0552fa4f5547bb
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 23 23:31:18 2015 +0100

    st/nine: Fix update_vertex_elements bad rebase
    
    This code was supposed to be removed, but a rebase seems to have
    made it stay.
    
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87868d38328a3875881fe1ca6861eb7816a5b0cf
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Mar 22 11:49:03 2015 +0100

    st/nine: Add debug warning when application uses sw processing
    
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4acbf420d1101bd32e8f23acadff5fe6c6fa9b26
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Feb 20 18:25:44 2015 +0100

    st/nine: Rework update_vertex_buffers
    
    Previous code was trying to optimise to call set_vertex_buffers on
    big packets, and thus avoids as many calls as possible.
    
    However in practice doing so won't be faster (drivers implement
    set_vertex_buffers by a loop over the buffers we want to bind)
    
    When we want to unbind a buffer, we were calling set_vertex_buffers
    on a buffer with vtxbuf->buffer = NULL. It works on some drivers,
    but not on all of them, because it isn't in Gallium spec.
    This patch fixes that.
    
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5beb411bf753da4c86082c505929bcc9629c666c
Author: Xavier Bouchoux <xavierb at gmail.com>
Date:   Mon Feb 16 09:43:23 2015 +0100

    st/nine: Fix computation of const_used_size
    
    Was sometimes too large for PS.
    
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Xavier Bouchoux <xavierb at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=559342d01d4199e8fd475241a574a92c4ce63896
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Apr 26 23:19:03 2015 +0200

    gallium/svga: Remove useless ARRAY_SIZE declaration
    
    This is already declared in util/macros.h
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64880d073ab21ae1abad0c049ea2d6a1169a3cfa
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Apr 26 23:17:45 2015 +0200

    util/macros: Move DIV_ROUND_UP to util/macros.h
    
    Move DIV_ROUND_UP to a shared location accessible everywhere
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=405c7d75114fadcf744f6bbd5556c86c66ac631b
Author: Xavier Bouchoux <xavierb at gmail.com>
Date:   Sat Feb 21 19:58:38 2015 +0100

    st/nine: Fix behaviour of D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING
    
    Ignore D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING when
    D3DUSAGE_RENDERTARGET is not specified.
    
    This behaviour matches windows drivers.
    
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Xavier Bouchoux <xavierb at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d838fe8243aa0e96b198c876c1b5d79c098d1c0d
Author: Xavier Bouchoux <xavierb at gmail.com>
Date:   Sat Feb 21 19:56:40 2015 +0100

    st/nine: Improve D3DQUERYTYPE_TIMESTAMP
    
    Avoid blocking when retrieving D3DQUERYTYPE_TIMESTAMP result with
    NineQuery9_GetData(), when D3DGETDATA_FLUSH is not specified.
    This mimics Win behaviour and gives slightly better performance
    for some games.
    
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Xavier Bouchoux <xavierb at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=851abb91459b13d28303f54605b8da51c24efcb7
Author: Xavier Bouchoux <xavierb at gmail.com>
Date:   Sun Feb 8 15:56:15 2015 +0100

    st/nine: Fix D3DQUERYTYPE_TIMESTAMPFREQ query
    
    D3DQUERYTYPE_TIMESTAMPFREQ is supposed to give the frequency
    at which the clock of D3DQUERYTYPE_TIMESTAMP runs.
    
    PIPE_QUERY_TIMESTAMP returns a value in ns, thus the corresponding
    frequency is 1000000000.
    PIPE_QUERY_TIMESTAMP_DISJOINT returns the frequency at which
    PIPE_QUERY_TIMESTAMP value is updated. It isn't always
    1000000000.
    
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Xavier Bouchoux <xavierb at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=31bb4cd5c6e3d696b2f240c270a257abfcd8848f
Author: Tiziano Bacocco <tizbac2 at gmail.com>
Date:   Sun Jan 25 12:15:39 2015 +0100

    st/nine: Change x86 FPU Control word on device creation
    
    As on wined3d and windows, when D3DCREATE_FPU_PRESERVE is not
    specified, change the fpu control word to all exceptions masked,
    single precision, round to nearest.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Tiziano Bacocco <tizbac2 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7b1a1e57cdfd8d019ba0ff4cdc2c7239066869f
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Feb 20 12:51:55 2015 +0100

    st/nine: Do not advertise D3DDEVCAPS_TEXTURESYSTEMMEMORY
    
    No major vendor advertises it, and we weren't supporting it.
    
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=907f28f87e3858028bce4477f0b57f7e5d76060a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Apr 23 21:46:24 2015 +0200

    st/nine: Fix comment in update_viewport
    
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e825b69bd4fb163cba0a565616ed966fb1a8929
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Apr 23 21:46:09 2015 +0200

    st/nine: Workaround barycentrics issue on some cards
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3fd06e94d29172a5de68594d3a6433f91a41362
Author: Xavier Bouchoux <xavierb at gmail.com>
Date:   Mon Feb 16 10:02:42 2015 +0100

    st/nine: Clear struct pipe_blit_info before use.
    
    render_condition_enable was uninitialized.
    
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Xavier Bouchoux <xavierb at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77a38d2088678fa756aca61592777f12e245ac0c
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Feb 20 15:48:57 2015 +0100

    st/nine: NineDevice9_Clear skip fastpath for bigger depth-buffers
    
    This adds an additional check to make sure the bound depth-buffer doesn't
    exceed the rendertarget size when clearing depth and color buffer at once.
    D3D9 clears only a rectangle with the same dimensions as the viewport, leaving
    other parts of the depth-buffer intact.
    
    This fixes failing WINE test visual.c:depth_buffer_test()
    
    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=716bef2643367d3696aa20ab7178cbe19bf78abc
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Mar 21 13:36:25 2015 +0100

    st/nine: Fix wrong assert in nine_shader
    
    The sampler src index was wrong for texldl and texldd
    
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d3e063e6851ca6c33c8bac1d8e9b9b344d27294
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Dec 23 15:15:10 2014 +0100

    st/nine: Handle special LIT case
    
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>




More information about the mesa-commit mailing list