Mesa (master): 28 new commits

Marek Olšák mareko at kemper.freedesktop.org
Wed Sep 24 13:01:15 UTC 2014


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f7714e0717250c6737accc6c8259c6d9107fd6e
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Sep 22 22:12:43 2014 +0200

    gallium/rbug: correctly unreference a sampler view
    
    This fixes heap corruption. The sampler view can be bound in the context,
    so we cannot call destroy directly.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91ddf49c874829aa5f9d561d1e321651992ca127
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Sep 22 22:12:10 2014 +0200

    gallium/rbug: unlock a mutex in rbug_create_query
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c94486670805be0f12ade6a7a2e5c324db4cb798
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Sep 20 12:02:59 2014 +0200

    radeonsi: remove old cache flushing code
    
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd53d53dc664946a445bcb9e26b1819f4b92a32c
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Sep 20 11:54:46 2014 +0200

    radeonsi/compute: do CS partial flush with si_emit_cache_flush
    
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=604b58b554f00ab9eb06eff47bfd4f859424c0ae
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Sep 20 11:48:58 2014 +0200

    radeonsi/compute: flush caches with si_emit_cache_flush
    
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=628f8ee1d9dac7d88f6826242b8fb1f271b98efa
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Sep 20 11:33:06 2014 +0200

    radeonsi/compute: directly emit CONTEXT_CONTROL
    
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc05a9e4e089d66a2ffe8919857ad9660e108c28
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Sep 18 23:48:04 2014 +0200

    radeonsi: properly destroy the GS copy shader and scratch_bo for compute
    
    Cc: 10.2 10.3 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=711623f7c8113d43f2d54ebfe5cbed3d406a3c79
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Sep 18 21:40:02 2014 +0200

    radeonsi: release GS rings at context destruction
    
    Cc: 10.2 10.3 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2833dc4e4596948b2669a0a7261ba9338395835c
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Sep 18 21:30:58 2014 +0200

    radeonsi: don't use pipe_constant_buffer for GS rings
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1abb1a97b0559b103c4a458def317c6440491a76
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Sep 17 22:44:22 2014 +0200

    radeonsi: don't pass the context to the shader translator
    
    This should prevent accessing context state there.
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e29353ff20a2761a5a1caeaed78398557797207c
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Sep 17 22:17:02 2014 +0200

    radeonsi: don't snoop currently-bound GS shader when compiling ES
    
    Instead, pass the layout of GS inputs in memory to the ES using the shader
    key. Only 64 bits are needed to represent the layout in the key.
    
    Mixing and matching different VS and GS shaders should now always work.
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2774abd4cec70d95cb73f83c2c150e9f5171c50d
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Sep 16 18:45:33 2014 +0200

    radeonsi: shorten si_pipe_* prefixes to si_*
    
    This was the original naming convention in r600g and it somehow crept
    into radeonsi.
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c37c16cbc4fd84bbb648cac2189b02633e3f806
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Sep 16 18:40:07 2014 +0200

    radeonsi: merge si_pipe_shader into si_shader
    
    One is part of the other anyway.
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07c0b4d9b779dd43fcd3cfc119b1dc0150ab07d2
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Sep 19 18:00:49 2014 +0200

    radeonsi: disable gl_SampleMask fragment shader output if MSAA is disabled
    
    This fixes piglit: arb_sample_shading-builtin-gl-sample-mask 0
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b53b1ceb3ee7d96bb6e5238b6bd6358361722aa4
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Sep 19 17:38:01 2014 +0200

    radeonsi: only update MSAA-specific framebuffer state if nr_samples is changed
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dba4c5baf449108f8d1f910af33998ce3c21b47a
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Sep 19 17:27:02 2014 +0200

    radeonsi: move DB_SHADER_CONTROL into db_render_state
    
    I will need this for fixing sample shading with 1 sample.
    
    The good news is that all shader pm4 states no longer use the current context
    state, so we can generate the pm4 states outside of draw_vbo if needed.
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=adc5797f54260ccf60020c00c231d9c00a00b13d
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Sep 19 17:07:07 2014 +0200

    radeonsi: set KILL_ENABLE during shader compilation, remove uses_kill flag
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a34c9f70b1f64b8802d22114900475e520b143e6
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Sep 19 16:19:44 2014 +0200

    radeonsi: remove shader.ps_conservative_z, set db_shader_control instead
    
    Also set the field on SI too. It's not just specific to CIK.
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=884f1654e22c2845b388560b297a7c440a68e594
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Sep 16 17:39:52 2014 +0200

    radeonsi: move DB registers from draw_vbo into new db_render_state
    
    It's called db_misc_state in r600g.
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a768b43bc36c98451e4b3669a7e6a22769fa4cb7
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Sep 16 17:10:26 2014 +0200

    radeonsi: remove unused variable si_pipe_shader::sprite_coord_enable
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd076259ff53df593a31ff6e888e3f36afa86c46
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Sep 15 23:19:44 2014 +0200

    radeonsi: document what si_descriptors.c does
    
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ace4190ac0f4f873cf93189d3b934d36acd3329
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Sep 17 14:34:06 2014 +0200

    r300g: implement MSAA copies by resolving and upsampling
    
    There's no other way. It will use hw resolve + blit.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cfedf8797f0ee3dd7c8cf9f28ee2c2b2d0eb2dc
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Sep 18 21:03:24 2014 +0200

    st/mesa: redefine mapping from VARYING_SLOT_TEXi/PNTC/VARi to TGSI GENERIC[i]
    
    Generic varyings in TGSI were based on the value of VARYING_SLOT_TEX0, so VAR0
    was always GENERIC[22] (with tessellation patches). Some drivers might not
    be able to cope with that.
    
    This commit defines a proper mapping, so that PNTC is GENERIC[8] and VAR0 is
    GENERIC[9].
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77038cd35ab94f2574925343149943cbef632b2b
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Sep 19 19:15:31 2014 +0200

    st/mesa: don't set coord_enable for gl_PointCoord if using TGSI_SEMANTIC_PCOORD
    
    This was missed when Christoph Bumiller added PIPE_CAP_TGSI_TEXCOORD.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffbcee8a57a52c17e9f099408f0f362acf1b7fdd
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Sep 12 15:39:29 2014 +0200

    st/mesa: use UniformBooleanTrue in glsl_to_tgsi
    
    Just for consistency. This doesn't fix anything as the original code was
    already pretty good.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4155d1c7b01488767bee1519fdd7d0ba67340eae
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Sep 12 16:41:19 2014 +0200

    st/mesa: drop dependence on API profile in st_init_extensions
    
    The extensions and limits being set in the conditional block are core-only
    anyway and don't have any effect on other profiles.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2599b92eb9751747d4eab8820384d2e5cc4f6801
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sun Sep 14 23:12:06 2014 +0200

    mesa: allow forcing >=3.1 compatibility contexts with MESA_GL_VERSION_OVERRIDE
    
    E.g. the 4.0 compatibility profile can be forced with:
    
    MESA_GL_VERSION_OVERRIDE=4.0COMPAT
    
    Some tests that I have require 4.0 compatibility.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=10ffd98c34c2d730a50de21bc7b5c6fa483fbf9d
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Sep 12 16:30:50 2014 +0200

    mesa: don't set ES versions to GLSLVersion in _mesa_init_constants
    
    No place in Mesa expects an ES version there.
    Drivers don't even set it like this.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>




More information about the mesa-commit mailing list