Mesa (master): 30 new commits

Dave Airlie airlied at kemper.freedesktop.org
Wed Feb 5 00:58:01 UTC 2014


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=16215a9723803f535fd3f49b9988b771d4587d65
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Feb 5 07:52:48 2014 +1000

    docs/GL3.txt: update r600 status
    
    This updates the r600 driver status to 3.3 being fully supported.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=79ea0f4506995c010320d56cd9dbfbefa34ab6f2
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jan 30 04:19:57 2014 +0000

    r600g: add support for geom shaders to r600/r700 chipsets (v2)
    
    This is my first attempt at enabling r600/r700 geometry shaders,
    the basic tests pass on both my rv770 and my rv635,
    
    It requires this kernel patch:
    http://www.spinics.net/lists/dri-devel/msg52745.html
    
    v2: address Alex comments.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ccea799ee3fbefaf6d97c21bbf3e38f857f91d87
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jan 29 21:48:09 2014 +0000

    r600g: enable GLSL 3.30 on evergreen GPUs
    
    This throws the switch to enable GL 3.3 and GLSL 330.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6cfc54db059310c41d139c4d01929928d031b55
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Feb 4 10:48:42 2014 +1000

    r600g: properly propogate clip dist write value
    
    This moves the value from the GS shader to the copy shader so the registers
    are setup correctly.
    
    fixes tests/spec/glsl-1.50/execution/geometry/clip-distance-out-values.shader_test
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b209afb153c39be1693879ce9666ca18f12b6a37
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Feb 3 15:31:26 2014 +1000

    r600g: calculate a better value for array_size (v2)
    
    attempt to calculate a better value for array size to avoid breaking apps.
    
    v2: use 0xfff like streamout, suggested by Grigori
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce9e939144aa2c711718dce42477858e13f6b264
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jan 31 03:35:51 2014 +0000

    r600g: fix CAYMAN geometry shader support
    
    cayman has a different end of program bit, so do that properly.
    
    fixes hangs with geom shader tests on cayman.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ec5e883f20a7ed88c23a98c4be8d4a4ea06e81e
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jan 29 00:17:15 2014 +0000

    r600g: fix up shader out misc stuff for copy shader
    
    set the correct values so the misc out register is setup correctly
    for the copy shader.
    
    This also updates the state for the gs copy shader so the hw
    gets programmed correctly.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7863611de3305208effe96fbbef5eaf49b60c904
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Jan 28 23:15:29 2014 +0000

    r600g: port the layered surface rendering patch from radeonsi
    
    This just makes r600 and evergreen do what the radeonsi codepaths do
    for layered rendering. This makes the 2d amd_vertex_shader_layer test
    pass on evergreen.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f89394be986843a65150ae9bef761b73e58fd1ba
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Jan 28 13:04:00 2014 +1000

    r600g: initial VS output layer support
    
    This just adds support for emitting the proper value in the VS out misc.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5191937352f50e214073b1fcdf6018df2ea431a6
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Jan 28 12:06:49 2014 +1000

    r600g: setup const texture buffers for geom shaders
    
    This just enables the workarounds we have for vertex/pixel shaders
    for geom shaders as well.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afce47fb0b489c248ebeb3660c30660ae900b967
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jan 24 17:14:26 2014 +1000

    r600g: calculate correct cut value
    
    This selects the cut value depending on the shader selected.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d79d5da40fcf0c7233dec4d9ac4ce66b9942147
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jan 24 14:46:37 2014 +1000

    r600g: fix dynamic_input_array_index.shader_test
    
    This follows what fglrx does, it unpacks the input we are
    going to indirect into a bunch of registers and indirects
    inside them.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e12147e9f608b8117e653152317c6c64ea004b71
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jan 24 13:39:36 2014 +1000

    r600g: add support for indirect geom ring writes
    
    We need to be able to write to the ring using a base register
    for when we emit vertices in a loop, in theory the SB compiler
    could collapse these indirect writes to direct writes if the
    register value is constant and known, but that is outside my
    pay grade.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cda63db780512f7ca81f5e7973120d335e576ad6
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Dec 24 05:59:19 2013 +0000

    r600g: write proper output prim type
    
    Vadim's code derived it from the info.mode, but it needs
    to be takes from the geometry shader output primitive.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b0be2015d6501d0f03ea1c6b0c36ffb301ac15a
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Dec 24 05:30:37 2013 +0000

    r600g: enable instance cnt register with new enough kernel
    
    The instance cnt register was missing for a few kernels,
    with a new enough kernel we can output it.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4652babbde7bd9a7660ece7fe38ed16e294595e
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Dec 23 01:30:03 2013 +0000

    r600g: add primitive input support for gs
    
    only enable prim id if gs uses it
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0e842bd9f90d6b77eae085a168d5a6c49962bf3
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Dec 19 05:17:00 2013 +0000

    r600g: emit streamout from dma copy shader
    
    This enables streamout with GS in the mix, from the
    VS dma shader.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=20adc7449cc4abe2caf6d78d2c62cc0e6e86b87c
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Dec 18 15:55:07 2013 +1000

    r600g/gs: fix cases where number of gs inputs != number of gs outputs
    
    this fixes a bunch of the geom shader built-in tests
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=defebc0293a660155ef3027ee8cc65319379b2ed
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Jan 28 10:21:03 2014 +1000

    r600g: increase array base for exported parameters
    
    Trivial fix to Vadim's code.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9954e402f7e766876c80d31e40011dfd8240ecb
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jan 24 16:41:32 2014 +1000

    r600g: initialise the geom shader loop registers.
    
    As we do for vertex and pixel shaders.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=461c463bb2cf324f34bf76562f9942ceb1d69dec
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Nov 30 06:26:13 2013 +0000

    r600g: emit NOPs at end of shaders in more cases
    
    If the shader has no CF clauses at all emit an nop
    If the last instruction is an ENDLOOP add a NOP for the LOOP to go to
    if the last instruction is CALL_FS add a NOP
    
    These fix a bunch of hangs in the geometry shader tests.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4782a58c30473e5f67c7361c6c57160f940a978
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Nov 28 23:38:35 2013 +0000

    r600g: don't enable SB for geom shaders
    
    SB needs fixes for three GS instructions it seems to raise
    them outside loops etc despite my best efforts.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5758a76d04aef90342e2b823c5020c6addda6d9c
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Dec 24 04:56:25 2013 +0000

    r600g/sb: add MEM_RING support
    
    Although we don't use SB on geom shaders, the VS copy shader will use it
    so we might as well implement MEM_RING support in sb.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eeead9b8ed77804f228bd9ba434e26b5c12d73ed
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jan 29 04:08:43 2014 +0000

    r600g: don't fail if we can't map VS->GS ring entries
    
    This can happen in normal operation, so don't report an error on it,
    just continue.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1371d65a7fbd695d3516861fe733685569d890d0
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Fri Aug 2 06:38:23 2013 +0400

    r600g: initial support for geometry shaders on evergreen (v2)
    
    This is Vadim's initial work with a few regression fixes squashed in.
    
    v2: (airlied)
    fix regression in glsl-max-varyings - need to use vs and ps_dirty
    fix regression in shader exports from rebasing.
    whitespace fixing.
    v2.1: squash fix assert
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34ee1d0f9f64cd19ed0ddbbbf82db6230afca71d
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Fri Aug 2 06:32:32 2013 +0400

    r600g: add hw register definitions for GS block setup
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a144bc29b5bb8322a54308603c5d0a8467448164
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Wed Jul 31 23:09:39 2013 +0400

    r600g: defer shader variant selection and depending state updates
    
    [airlied: fix dropped streamout line - fix for master]
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae29a098eaaa9f061cc82a28b8e258e44f03902b
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jan 13 10:19:00 2014 +1000

    r600g/bc: add support for indexed memory writes.
    
    It looks like we need these for geom shaders in the future.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=552aae7e47e93ada58649a92ae9e7da37afb05c3
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Wed Jul 31 20:02:22 2013 +0400

    r600g: move barrier and end_of_program bits from output to cf struct (v2)
    
    v2: fix regression on r600 NOP instructions.
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29a43cb0b622d8e40362b386a85c33bdd1a9bb54
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jan 29 01:33:14 2014 +0000

    r600g: split streamout emit code into a separate function
    
    For geometry shaders we need to call this code from a second place.
    
    Just move it out for now to keep future patches cleaner.
    
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    Signed-off-by: Dave Airlie <airlied at redhat.com>




More information about the mesa-commit mailing list