Mesa (master): 43 new commits

Axel Davy axeldavy at kemper.freedesktop.org
Wed May 18 21:37:56 UTC 2016


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f21b7d1e5c21b749ae7c19d3dc80dc4e14e4bb77
Author: Wang He <xw897002528 at gmail.com>
Date:   Tue May 10 13:40:30 2016 +0800

    st/nine: Minor change to support musl libc
    
    A few changes to support musl libc as well.
    
    In particular fpu_control.h is glibc specific.
    fenv.h doesn't enable to do exactly what we want either,
    so instead use assembly directly.
    
    Signed-off-by: Wang He <xw897002528 at gmail.com>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>

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

    st/nine: Enable D3DPMISCCAPS_PERSTAGECONSTANT
    
    Nine already supports the feature.
    There are no failing WINE tests for per stage constants.
    Enabling D3DPMISCCAPS_PERSTAGECONSTANT as it fixes
    https://github.com/iXit/Mesa-3D/issues/205
    
    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=839f41763436cd1a438771f50ffa16fa3bbbb3c5
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat May 7 11:33:24 2016 +0200

    st/nine: Turn on thread_submit by default when on different device
    
    The last remaining issues with thread_submit have been resolved,
    thus turn it when on a different device (the case where is is
    beneficial).
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9cae3cdc890b2aa261d635667a5850929a0913f5
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Apr 3 13:04:39 2016 +0200

    st/nine: Fix usage of rasterizer multisample bit.
    
    pipe_rasterizer multisample bit should be enabled only when really
    wanting to do multisampling, thus we should disable when not having
    msaa render target.
    This fixes some depth calculation precision issues on radeon.
    Also disable it when depth and stencil tests are disabled, since in that
    case multisampling is same as not multisampled.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f297e7de0f3fc0bd4fec483d4bf778a9678992c7
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Apr 3 10:52:22 2016 +0200

    st/nine: ATOC has effect only with ALPHATESTENABLE
    
    ATOC extension does something only when alpha test is enabled.
    Use a second bit to encode the difference with ATIATOC.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=edc5cdced56756bfda898a4ed5bd480cd07c2d7e
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat May 7 11:20:47 2016 +0200

    st/nine: Add debug string for ATOC
    
    We were missing a debug string for this format.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e89dcf0c4ad543e5404d28b1f949387d63f59ee
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Mar 19 19:27:34 2016 +0100

    st/nine: Add asserts for output/input packing
    
    Nine doesn't support vs output/ps input packing.
    We haven't found any application requiring that,
    and implementing it properly is complex.
    
    Add asserts for now.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

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

    st/nine: Use correct PIPE_HANDLE_USAGE flag for frontbuffer copy
    
    When taking screenshots we do a copy from the frontbuffer
    to an allocated buffer (which we then copy to a ram buffer).
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca7c78a88ecc828a1b08dc18667d2a70d9d0e09d
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Mar 12 12:24:51 2016 +0100

    st/nine: Fix output shift calculation
    
    We were getting it wrong for negative values.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8d95d40872dafbd372c071455d26ab078cdd170
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Mar 11 23:30:05 2016 +0100

    st/nine: Fix CheckDeviceFormat advertising for surfaces
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ef231c80f7bb8aa08b9402d7cdfc792e8752b39
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Mar 11 23:03:56 2016 +0100

    st/nine: Improve buffer placement
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7639033973c4f0fece37457ac250dd9df73410e8
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Mar 11 22:22:10 2016 +0100

    st/nine: Fix buffer bind flags
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f6e31823de2656c9319b5c1b6cd3c10fc76d9e9
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Mar 11 22:17:25 2016 +0100

    st/nine: Fix buffer locking flags handling
    
    Our behaviour was not entirely similar to what
    the docs and our tests describe.
    
    Drop d3dlock_buffer_to_pipe_transfer_usage.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f45b9894e50f64197f8a3708359896a870e9089d
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Mar 9 15:15:46 2016 +0100

    st/nine: Improve logging
    
    Add missing DBG calls in dtors.
    
    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=f3fa7e3068512dde55c3f4d7c2b599ab1d7fe67f
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Mon Feb 22 19:49:19 2016 +0100

    st/nine: Use WINE thread for threadpool
    
    Use present interface 1.2 function ID3DPresent_CreateThread
    to create the thread for threadpool.
    Creating the thread with WINE prevents some rarely occuring crashes.
    
    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=72be473ad17893ecc4697644e88defa38b35f126
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Feb 10 19:41:12 2016 +0100

    st/nine: Don't present if window is occluded
    
    The problem is that if one d3d present call fails,
    because of our occlusion check in present method,
    the next presentation call will send the same pixmap to the Xserver again,
    without waiting it is released, which is wrong.
    
    Move the present call after occlusion check to return and prevent
    Xpixmaps errors.
    
    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=c673c46ccf1ed78eaf68011f32bfb1696f765966
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Feb 10 19:30:20 2016 +0100

    st/nine: Use new function to query for resolution mismatch
    
    Any third party app might change the current screen resolution.
    Poll for resolution mismatch to force a device reset.
    Required for non ex devices only.
    
    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=dae9a9172703afc979a2fb7d243dd574227e826e
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Sat Feb 27 09:58:19 2016 +0100

    st/nine: Implement IPresent version 1.2
    
    Implement presentation interface version 1.2:
    * ID3DPresent_ResolutionMismatch
        Poll for resolution mismatch.
        A third party app might have changed resolution,
        which requires a device reset.
    * ID3DPresent_CreateThread
        Create a thread in WINE to allow nine to use Windows API
        functions. Required for multi-threaded presentation.
        In single-threaded presentation mode the calling thread is
        already known to WINE.
    * ID3DPresent_WaitForThread
        Wait for a wine thread to terminate.
    
    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=2e149a2bf0a525edfc3f705eace3ecb7c132dcce
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 7 23:36:44 2016 +0100

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

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4e85202cbdde001d0ca0e607797a9b7a1d772c4
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 7 23:03:25 2016 +0100

    st/nine: Format conversion for volumes in UpdateTexture
    
    We were doing the conversion for surfaces, but not yet
    volumes. Now that volumes can do conversion, use it.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23e2a235dceaf1f2a7a3cf08e3c34c5068f8cc78
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 7 23:01:02 2016 +0100

    st/nine: Remove one useless function output
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=10e548c0c954d50a594728b228f8d59b76579956
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 7 22:30:05 2016 +0100

    st/nine: Add support for X8L8V8U8
    
    X8L8V8U8 support should be common. Some more recent cards
    do support this format, but not L6V5U5.
    
    Add fallback for this format to have it alwaus supported.
    
    L6V5U5 conversion rule apparently differs a bit from the normal
    spec, and thus the gallium equivalent format leads to slightly
    wrong colors. Since some recent cards do not support it, do not
    support it either.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=258ca1823c322661122d2d033c8b7facd3eb7767
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 7 22:18:16 2016 +0100

    st/nine: Add format fallback with conversion to volumes
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=755fbcdf242ac6e2de337de320271386a1774bda
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 7 21:55:30 2016 +0100

    st/nine: Add format fallback with conversion to surfaces
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=52cb8e33c32c3fac1691ff0db34f4c6cd5909995
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 7 21:35:59 2016 +0100

    gallium/util: Implement util_format_translate_3d
    
    This is the equivalent of util_format_translate, but for volumes.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89344a80fc4479fa3ac466cb17706cf12070afe1
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Mar 6 15:54:50 2016 +0100

    st/nine: Fix Pointsize in programmable shader
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae0fdd8a4078a2ba7edc2f0a12cb285a08921c8d
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Mar 6 15:14:30 2016 +0100

    st/nine: Fix ff pointscale computation
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4af3099731f48eb348b1b9a4919bbff14a459ca
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Mar 5 19:06:29 2016 +0100

    st/nine: Fix header of GetIndices
    
    There is a mistake in the online documentation,
    the function only has 2 arguments.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e9d01ff3989963f10d6dfa567c23afcaef3f6e8
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Mar 5 12:17:06 2016 +0100

    st/nine: Increase minor d3dadapter9drm ABI
    
    Version 0.1 allows to assume that the second
    element of the IDirect3D* structures will
    be a pointer to the internal nine vtable.
    
    This is useful if the gallium nine user wants
    to wrap some interfaces.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d51c817cdff6ada200e80ecb6819a641aebc462
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Feb 12 19:08:42 2016 +0100

    st/nine: Fix leak after ctor failures
    
    Previously ctor failures would not unreference
    the device.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fc8391d235e96b66abaa9944241a6935b256023
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Feb 9 23:51:39 2016 +0100

    st/nine: Add ColorFill test for compressed textures
    
    ColorFill should contain alignment checks
    for compressed textures.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d11d913987acdec3e9ced0fcc0b77a574ab90931
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Feb 9 23:33:51 2016 +0100

    st/nine: PositionT and Tessfactor are forbidden as PS input
    
    According to wine tests, they are forbidden as PS input,
    which makes sense.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44068af92e7500a63425905fc7a3a6a0db5c665a
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Feb 9 23:15:21 2016 +0100

    st/nine: Fix some shader failures not triggering error
    
    Some failures during shader translation would not
    raise errors before this patch.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a77d8cd710ec5091e9c31167032427189ae77437
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Feb 21 16:38:23 2016 +0100

    st/nine: Forbid POSITION0 for PS3.0
    
    POSITION0 input is forbidden for PS3.0 apparently.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=217d969746e3c1473df4cc1e6e6ec1eb0d84a3d4
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Feb 9 22:35:27 2016 +0100

    st/nine: Rework UpdateTexture Checks
    
    Our code did match the user documentation of the function
    quite well (except for format check).
    
    However the DDI documentation and wine tests show that
    documentation was not correct. Thus adapt our code to
    fit the best possible to the -real- spec.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c77673de75049a3f1d707efce8ee30df03634c8
Author: Axel Davy <axel.davy at ens.fr>
Date:   Tue Feb 9 08:20:34 2016 +0100

    st/nine: Use bufs instead of Flags for Clear
    
    bufs doesn't contain depthstencil if
    there is z buffer mismatch. This is the behaviour
    we want.
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7c3d27d18f1caa97b7f83f7f07fe9fabc81ec24
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Apr 10 23:55:19 2016 +0200

    d3dadapter9: Add ddebug, rbug and trace support
    
    Add support for ddebug, rbug and trace
    
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ae3c8ece7b7d957dff16e75b5fc261c7e3da672
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Apr 3 22:36:01 2016 +0200

    radeon: Change AA sample locations for EG+
    
    This sets the AA location to the d3d11
    spec.
    EG/NI 8X MSAA is left as is. Not sure
    why it was set different to Cayman, so
    lets it as is.
    
    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=11e49871352cdb5d0fa5338a0be4995f7393b06f
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Mar 7 22:26:22 2016 +0100

    radeonsi: Mixed colorbuffer formats are unsupported
    
    Besides depth/stencil, the hardware doesn't support
    mixed formats.
    
    The GL state tracker doesn't make use of them.
    
    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=fc3533c088d61888f5eae8e11fff2e1120d21777
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Mar 19 19:57:00 2016 +0100

    radeonsi: Change default behaviour for undefined COLOR0
    
    d3d 9 needs COLOR0 to be 1.0 on all channels when
    undefined. 0.0 for the others is fine.
    GL behaviour is undefined.
    
    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=a221f40dbb0d63f6b5478a25742ef3e0a3317a59
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Apr 3 21:47:11 2016 +0200

    r600g: Change default behaviour for undefined COLOR0
    
    d3d 9 needs COLOR0 to be 1.0 on all channels when
    undefined. 0.0 for the others is fine.
    GL behaviour is undefined.
    
    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=7e05e4c3883fd3fdc863b580701e2546e4d37772
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Mar 19 19:55:24 2016 +0100

    r600: Change default behaviour for undefined COLOR0
    
    d3d 9 needs COLOR0 to be 1.0 on all channels when
    undefined. 0.0 for the others is fine.
    GL behaviour is undefined.
    
    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=f5d6ed57022b7459bc0f63d9131528e47f4ec982
Author: Christian Schmidbauer <ch.schmidbauer at gmail.com>
Date:   Fri Apr 29 20:53:30 2016 +0100

    st/nine: Clean up WINAPI definition
    
    As Emil pointed out, only gcc, clang and MSVC compatibility is required.
    Hence the check for GNUC can be skipped, as __i386__ and __x86_64__ are
    only defined for gcc/clang, not for MSVC.
    
    Remove the #undef which has been there for historic reasons, when wine
    dlls for nine have been built inside mesa. Instead use #ifndef in order
    to avoid redefining WINAPI from MSVC's headers.
    
    Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Axel Davy <axel.davy at ens.fr>




More information about the mesa-commit mailing list