Mesa (master): 44 new commits

Axel Davy axeldavy at kemper.freedesktop.org
Thu Feb 5 23:57:32 UTC 2015


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=17abefa12be1d5e7d436bfbb082c3eba19adf26c
Author: Tiziano Bacocco <tizbac2 at gmail.com>
Date:   Fri Jan 30 13:51:44 2015 +0100

    st/nine: Implement dummy vbo behaviour when vs is missing inputs
    
    Use a dummy vertex buffer object when vs inputs have no corresponding
    entries in the vertex declaration. This dummy buffer will give to the
    shader float4(0,0,0,0).
    
    This fixes several artifacts on some games.
    
    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=90585cbc9aef27904efc86dbfbd8743d27a6f599
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 24 17:58:28 2015 +0100

    gallium/targets/d3dadapter9: Free card device
    
    The drm fd wasn't released, causing a crash
    for wine tests on nouveau, which seems to have
    a bug when a lot of device descriptors are open.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b3a9d5c9f54a0c1b1e95cc61214fd69c6777680
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Jan 11 17:51:59 2015 +0100

    gallium/targets/d3dadapter9: Release the pipe_screen at destruction.
    
    We weren't releasing hal and ref, causing some issues (threads not released, etc)
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f50614910c40366d94964fe2c5da5772aff2f96
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 10 18:49:16 2015 +0100

    gallium/targets/d3dadapter9: Fix device detection for render-nodes
    
    When on a render node the unique ioctl doesn't work.
    
    This patch drops the code to detect the device, which relied
    on an ioctl, and replaces it by the mesa loader function.
    The mesa loader function is more complete and won't fail for render-nodes.
    
    Alternatively we could also have used the pipe cap to
    determine the vendor and device id from the driver.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c54d154e86cd93caed527824166f468a6c24c70
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 24 12:02:04 2015 +0100

    st/nine: Dummy sampler should have a=1
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ac74e604bbce3b24565a9c277dc8f8fe9826e97
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Jan 23 23:20:17 2015 +0100

    st/nine: Fix update_framebuffer binding cbufs the pixel shader wouldn't render to
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee606b47800021d74732bf5155a1d7d68822fa02
Author: Axel Davy <axel.davy at ens.fr>
Date:   Fri Jan 23 23:51:32 2015 +0100

    st/nine: Clear: better behave if rt_mask is different to the one of the framebuffer bound
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8d48f6f7181fa6cc7c4ff5b1c0e8883d6f8ce6d
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Jan 21 08:59:05 2015 +0100

    st/nine: Fix multisampling support detection
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1d369e804623663e78002c0101d668bd3d42762
Author: Tiziano Bacocco <tizbac2 at gmail.com>
Date:   Wed Jan 21 00:41:11 2015 +0100

    st/nine: Fix enabled lights in stateblocks
    
    Reviewed-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=1543defc5ea8a17cf5558bb6468031f9c29b9a15
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Jan 19 17:13:57 2015 +0100

    st/nine: Fix depth stencil formats bindings flags.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=49214a3dfc4f5173e22846d92c5dd0c2b24e3638
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Jan 19 16:20:35 2015 +0100

    st/nine: Fix gpu memory leak in swapchain
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d538007734bb37a7f2aa865abaa225aa13799484
Author: Axel Davy <axel.davy at ens.fr>
Date:   Mon Jan 19 16:09:07 2015 +0100

    st/nine: SetResourceResize should track nr_samples too
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c1d26cd97a0dd85c8c2f447d6f254df17658b4c
Author: Tiziano Bacocco <tizbac2 at gmail.com>
Date:   Mon Jan 19 15:40:22 2015 +0100

    st/nine: D3DRS_FILLMODE set to 0 is D3DFILL_SOLID
    
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Reviewed-by: David Heidelberg <david at ixit.cz>
    Signed-off-by: Tiziano Bacocco <tizbac2 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=50f0e011da23945cb2219bf71c4dc7b1aeb5044f
Author: Tiziano Bacocco <tizbac2 at gmail.com>
Date:   Mon Jan 19 15:27:38 2015 +0100

    st/nine: Setting D3DRS_ALPHAFUNC to 0 means D3DCMP_NEVER
    
    Reviewed-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=dfe5e84e74b184748c48cf07d58c79c2c5685a2d
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sun Jan 18 11:05:34 2015 +0100

    st/nine: Implement fallback behaviour when rts and ds don't match
    
    This seems to be the behaviour on Win. Previous behaviour led
    to different issues depending on the driver.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b901e3011c268d0a093a65b072bb51db0dcd251
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 17 13:43:38 2015 +0100

    st/nine: Fix present_buffers allocation
    
    If has_present_buffers was false at first,
    but after a device reset, it turns true (for
    example if we begin to render to a multisampled
    back buffer), there was a crash due to present_buffers
    being uninitialised.
    This patch fixes it.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=792af626d4e82dae728801ee6ca8c4c0f3d37f68
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Jan 16 08:17:07 2015 +0100

    st/nine: Check for aligned offset in each vertex element
    
    Fixes wine test test_vertex_declaration_alignment()
    
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63221c6f0944bf82eee07a54c42a473890ee655c
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Fri Jan 16 07:34:36 2015 +0100

    st/nine: Fix bufferoverflow in {Get|Set}PixelShaderConstantF
    
    Previous code wasn't checking against the correct limit: 224
    for sm3 hardware, but 256.
    
    Fixes wine test test_pixel_shader_constant()
    
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2dcad120a04ac42987756d244125bb814e5ca5f5
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Mon Jan 12 17:58:14 2015 +0100

    st/nine: Set [out] argument to NULL for some functions
    
    Wine tests, and probably some apps, check for errors by checking for NULL
    instead of error codes.
    Fixes wine test test_surface_blocks()
    
    Reviewed-by: Axel davy <axel.davy at ens.fr>
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9aa3ebd0e72d90481e220f2933535da58af16f9d
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Thu Jan 15 17:20:17 2015 +0100

    st/nine: Remove duplicated debug message
    
    Likely a rebase error
    
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33617ef296efac88cd7b8b760ff3a8c47669e424
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Thu Jan 15 09:43:33 2015 +0100

    st/nine: Return E_FAIL for unused vertexdeclaration type
    
    Add returncode E_FAIL.
    Return E_FAIL for any vertexdeclaration element with type unused.
    
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=faf94f6eeaccf093025ad6f1e2bd9df6eafbe969
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Thu Jan 15 09:18:25 2015 +0100

    st/nine: Missing sanity check for CALLOC return E_OUTOFMEMORY if allocation of usage_map fails
    
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=75676886e4dd43c1e9ab85891d1ab6b2bf1fad92
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Jan 14 12:41:16 2015 +0100

    st/nine: Implement ATOC hack
    
    ATOC is an hack for Alpha to coverage
    that is supported by NV and Intel.
    
    You need to check the support for it
    with CheckDeviceFormat.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a4aaf1d411360c2a557fb016ffcb41f2701b9a2
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Jan 14 12:33:21 2015 +0100

    st/nine: Implement AMD alpha to coverage
    
    This D3D hack is supposed to be supported
    by all AMD SM2+ cards. Apps use it without
    checking if they are on AMD.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf0adf248f3562e6fb205b31d14f650ab0a14c8e
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Jan 14 12:10:48 2015 +0100

    st/nine: Add D3DFMT_DF16 support
    
    This depth buffer format, like D3DFMT_INTZ, can be used to read
    the depth buffer values when bound to a shader.
    
    Some apps may use this format to get better performance when
    they don't need the precision of INTZ (24 bits for depth, 8 for
    stencil, whereas DF16 is just 16 bits for depth)
    
    We don't add support for DF24 yet, because it implies support
    for FETCH4, which we don't support for now.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34292754d2852980cd685fb0ef54b40f38235aab
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Dec 31 17:26:05 2014 +0100

    st/nine: Change the value of some advertised caps
    
    These values are taken from wine.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=25f1e5584ceafe5a3f07309ac52885f10b16e86e
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Jan 8 15:11:19 2015 +0100

    st/nine: NineDevice9_SetClipPlane: pPlane must be non-NULL
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=02a89dc163898b02b7ad2867359c1ee7a7574c1f
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 10 15:11:30 2015 +0100

    st/nine: Implement fallback for D3DFMT_D24S8, D3DFMT_D24X8 and D3DFMT_INTZ
    
    Some drivers support PIPE_FORMAT_S8_UINT_Z24_UNORM,
    some others PIPE_FORMAT_Z24_UNORM_S8_UINT, some both.
    
    It doesn't matter which one we use, since the d3d formats
    they map to aren't lockable (app can read it directly).
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27e438e35630819914bd42c5aa27fe6e53ebe491
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 10 14:58:03 2015 +0100

    st/nine: Refactor format d3d9 to pipe conversion
    
    Move the checks of whether the format is supported
    into a common place.
    The advantage is that allows to handle when a d3d9
    format can be mapped to several formats, and that
    cards don't support all of them.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8713b1bfd0099e262f1224bb5fb02ee42838d55
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 10 12:38:02 2015 +0100

    st/nine: Refactor nine_d3d9_to_pipe_format_map
    
    The order of the format is changed to have
    an increasing ordering of the d3d9 format values.
    
    Some missing formats are added and matched to PIPE_FORMAT_NONE
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4cf5701160b104afa039c616a79dfce53f814952
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 10 12:19:10 2015 +0100

    st/nine: Improve CheckDeviceFormat debug output
    
    Because the debug output of this function was cut in two parts,
    sometimes the second part wasn't print when we would return earlier,
    whereas we would like to get it.
    
    The reason of the separation was that it's only at the end of the function
    we can print what we map to the d3d9 arguments, but we can always retrieve
    that info by hand.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42ac71a4e20c04a2cd7cd441274e5c527012a03c
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Jan 7 18:43:20 2015 +0100

    st/nine: Implement RESZ hack
    
    This D3D hack allows to resolve a multisampled
    depth buffer into a single sampled one.
    
    Note that the implementation is slightly incorrect.
    When querying the content of D3DRS_POINTSIZE,
    it should return the resz code if it has been set.
    This behaviour will be implemented when state changes
    will be reworked. For now the current behaviour is ok,
    since apps use the D3DCREATE_PUREDEVICE flag when creating
    the device, which means they won't read states and in exchange
    get better performance.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c61f6344a93e2bddb1984dcc735b8bc587c5db9
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 24 23:33:07 2015 +0100

    st/nine: fix early basetexture destruction
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfeca90419ac50e0776a3fdb102a2975c8075391
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Wed Jan 7 19:26:39 2015 +0100

    st/nine: Do not leak private data in volume9.
    
    This->data was allocated by nine, but not freed.
    
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3afcc09680cfcf3af3ee98b48c327a6c01143ca
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Tue Jan 6 17:47:39 2015 +0100

    st/nine: Check block alignment for compressed textures in NineSurface9_CopySurface
    
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65ce2b2848eafe0d51375edca15fbb91956668e4
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Jan 7 16:34:12 2015 +0100

    st/nine: Commit sampler views again if srgb state changed.
    
    This fixes a wine test and some minor visual issues on some games.
    
    The patch is not optimal, there is probably a more efficient way to
    fix this issue, but the code there already has some innefficiencies.
    There is plans to rewrite that part of the code to make it more
    efficient.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d2286d17c78af95c4bb5f56ef1b58a09eef7260
Author: Axel Davy <axel.davy at ens.fr>
Date:   Thu Jan 8 11:31:24 2015 +0100

    st/nine: Fix use of D3DSP_NOSWIZZLE
    
    D3DSP_NOSWIZZLE already contains the shift.
    Detected with Clang.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Reviewed-by: David Heidelberg <david at ixit.cz>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f3b7d40392c2a9e0b80c56e199c4c9ffd0c88a0
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Jan 7 12:01:50 2015 +0100

    st/nine: Check for the correct number of constants.
    
    This removes unneeded hack for Anno 1404.
    This app is not checking the number of supporting
    constants, and rely on the shader compilation to fail
    if it puts too many constants.
    
    This patch also checks for the correct number of constants for ps.
    
    Note that we don't check the official limitations for old vs and ps
    versions. The restrictions were fixed, unlike for the number of vertex
    shader constants for later versions. Likely apps use the correct number,
    and it's not a problem for us if it wants use more.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0aeb4422bcc9f2d257d046935243f7cdf9bc620
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Jan 7 12:00:00 2015 +0100

    st/nine: Introduce failure handling for shader parsing.
    
    Instead of crashing on buggy shaders, we should return an error.
    This patch introduces this behaviour in the case of invalid constant
    access
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fcc2c887279e6c03b2e7df0f869bd05c99faf28
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Jan 7 11:21:00 2015 +0100

    st/nine: Print warnings for r500 when shader is likely to go wrong
    
    r500 hasn't enough float constants for vs to fill all needs.
    Overlapping issues can happen with complex shaders.
    The fix would be to recompile shaders to include the integer
    and boolean constants, instead of reserving slots for them.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70a523818f08f97b6d51f156dca383cfcab8efab
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Jan 7 11:12:56 2015 +0100

    st/nine: Declare constants only up to the maximum needed.
    
    Previously 276 constants were declared everytime.
    
    This patch makes shaders declare constants up to the maximum
    constant needed and moves the moment we print the TGSI
    shader after the moment we declare the constants.
    
    This is needed for r500, since when indirect addressing is used,
    it cannot reduce the amount of constants needed, and that it is
    restricted to 256 constant slots.
    
    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=a249c7a161cdbb995b17195f1af88ed14f69f8b6
Author: Axel Davy <axel.davy at ens.fr>
Date:   Wed Jan 7 11:07:23 2015 +0100

    st/nine: Refactor how user constbufs sizes are calculated
    
    Count explicitly the slots for float, int and bool constants,
    and deduce the constbuf size in nine_shader.
    
    Reviewed-by: Tiziano Bacocco <tizbac2 at gmail.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65ca8e4b3d6903ef086b81a5bf94688898290c4f
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 3 11:16:23 2015 +0100

    st/nine: Explicit nine requirements
    
    This patch raises nine requirements and disables nine for old
    hw that don't match them.
    
    Currently for these cards only games that don't have tight requirements
    would work well with nine. However nine is missing several checks
    regarding these limitations.
    To make code and future patches less heavy, dropping support for these old
    card seems a good solution.
    
    That makes r500 the only dx9 generation cards supported by nine. It seems the one
    with the less limitations for nine. Still not everything is ok, and we'll have
    for example to implement shader recompilation for these cards to include
    integer and boolean constants in the shader.
    Eventually when this is done, we can reintroduce support for older cards.
    
    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=eb1c12d20d96f56fbfa68d79bcf2103d8b3846bb
Author: Axel Davy <axel.davy at ens.fr>
Date:   Sat Jan 17 14:30:17 2015 +0100

    gallium: Add MULTISAMPLE_Z_RESOLVE cap
    
    Resolving a multisampled depth texture into
    a single sampled texture is supported on >= SM4.1
    hw. It is possible some previous hw support it.
    
    The ability was tested on radeonsi and nvc0.
    Apparently is is also supported for radeon >= r700.
    
    This patch adds the MULTISAMPLE_Z_RESOLVE cap and
    add it to the drivers. It is advertised for drivers
    for which it is sure the ability is supported.
    
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Signed-off-by: Axel Davy <axel.davy at ens.fr>




More information about the mesa-commit mailing list