Mesa (master): 24 new commits
Marek Olšák
mareko at kemper.freedesktop.org
Thu Dec 12 17:49:05 UTC 2013
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=be909274aad974b56328acd35e46a020ac93d56e
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Dec 4 12:14:14 2013 +0100
gallium/util: implement new color clear API in u_blitter
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f09de877359e0bf9e6646791da71c966dd62dc57
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Dec 4 01:24:37 2013 +0100
st/mesa: set correct PIPE_CLEAR_COLORn flags
This also fixes the clear_with_quad function for glClearBuffer.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=164dc6216a8e4d46ef7db9f54bcecd58ff556b83
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Dec 4 00:56:24 2013 +0100
gallium: allow choosing which colorbuffers to clear
Required for glClearBuffer, which only clears one colorbuffer attachment.
Example:
If the first colorbuffer is float and the second one is int:
pipe->clear(pipe, PIPE_CLEAR_COLOR0, float_clear_color, ...);
pipe->clear(pipe, PIPE_CLEAR_COLOR1, int_clear_color, ...);
This doesn't need any driver changes yet, because all drivers just use:
if (flags & PIPE_CLEAR_COLOR) ..
The drivers which support GL 3.0 will have to implement it properly though.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0612005aa66f211753f44bb4ffdfdcc9316281ac
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Dec 4 00:39:52 2013 +0100
st/mesa: fix glClear with multiple colorbuffers and different formats
Cc: 10.0 9.2 9.1 <mesa-stable at lists.freedesktop.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03d848ea1003abefd8fe51a5b4a780527cd852af
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Dec 4 00:27:20 2013 +0100
mesa: fix interpretation of glClearBuffer(drawbuffer)
This corresponding piglit tests supported this incorrect behavior instead of
pointing at it.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: 10.0 9.2 9.1 <mesa-stable at lists.freedesktop.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ad57bef96ee51f6a559683f42d3491dfa036506
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Dec 4 00:25:55 2013 +0100
docs/GL3: better documentation of GL 3.0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4ef639a5700cff492fbddf7131d1cc9e52a2bb0
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Dec 4 21:48:26 2013 +0100
r600g,radeonsi: fix initialized buffer range tracking for DMA, add comments
The DMA functions modify dst_offset and size and util_range_add gets wrong
values.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fa8fb7382285797c34ef498da7a3a4cf3a85ebe
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Dec 4 13:54:50 2013 +0100
radeonsi: fix binding the dummy pixel shader
This fixes valgrind errors in glxinfo.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0eb528abf21a172ef7a8aef7c1733b1101eba2b7
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Dec 4 13:24:22 2013 +0100
radeonsi: fix FS_COLOR0_WRITES_ALL_CBUFS with mixed colorbuffer formats
The 16bpc packing must be done separately for each render target.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd86f773a7ca13fa1d74e6287cc8ad0e0bd4c153
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Dec 4 12:40:28 2013 +0100
radeonsi: use the colorbuffer count from the shader key
As a result, the initialization of write_all must be done before
the compilation.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9fc5528379189b5775b78a3fabe78168505eead
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Dec 4 12:28:29 2013 +0100
radeonsi: remove unused variable in si_pipe_shader_ps
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ee7370c9bed0be40c5d134f0b92eb3782c6b7e9
Author: Andreas Hartmetz <ahartmetz at gmail.com>
Date: Sat Dec 7 04:42:24 2013 +0100
radeonsi: Write htile state to hardware.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a32aa2617db218a9f03c49970a3417ae7d8c3bab
Author: Andreas Hartmetz <ahartmetz at gmail.com>
Date: Sat Dec 7 02:15:27 2013 +0100
radeon: Allocate htile buffer for SI in r600_texture.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca5812b45c09aabe2f2c400c323b4f2cc23ca93c
Author: Andreas Hartmetz <ahartmetz at gmail.com>
Date: Sat Dec 7 02:08:27 2013 +0100
radeon: rearrange r600_texture and related code a bit.
This should make the differences and similarities between color and
depth buffer handling more clear.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=91aca8c662faf0ec311968b2897a72a6d08b199d
Author: Marek Olšák <marek.olsak at amd.com>
Date: Fri Nov 29 17:28:23 2013 +0100
r600g,radeonsi: consolidate buffer code, add handling of DISCARD_RANGE for SI
This adds 2 optimizations for radeonsi:
- handling of DISCARD_RANGE
- mapping an uninitialized buffer range is automatically UNSYNCHRONIZED
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=12806449fa35aff47ad6f4615ede55776c9f66c8
Author: Marek Olšák <marek.olsak at amd.com>
Date: Fri Nov 29 16:26:36 2013 +0100
r600g,radeonsi: add common interface for buffer invalidation
This will be used by common code in the next commit.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1374d86fecb58edc9cf9b456b05d74a0034eafd
Author: Marek Olšák <marek.olsak at amd.com>
Date: Fri Nov 29 16:05:45 2013 +0100
r600g,radeonsi: consolidate some debug flags
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43ea10eb1d6b597b57faaeb5993ca23ed7a537d2
Author: Marek Olšák <marek.olsak at amd.com>
Date: Fri Nov 29 16:02:12 2013 +0100
r600g: refactor out code for buffer invalidation
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bba39d88046670bdd4db2ab1e7ba07b7e4ae277c
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Nov 28 15:09:35 2013 +0100
r600g,radeonsi: share flags has_cp_dma and has_streamout
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=32fd445daa9a7ba4072c0f0ba851f06b8574e9f8
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Nov 28 00:20:47 2013 +0100
radeonsi: handle PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE
which can come from glBufferData and glMapBufferRange.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc2c1002747405ef23bf6cd697bfb1cb7a1e68e8
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Nov 27 13:27:54 2013 +0100
radeonsi: implement accelerated buffer copying
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=171e4842ec8be269d3eb7c6ad741fac576b8e7dd
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Nov 27 12:43:40 2013 +0100
r600g: use common interfaces in buffer_transfer_unmap
i.e. dma_copy and resource_copy_region.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0aea43db9369a55de3d1e283b9d78f837ec53523
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Nov 26 23:33:20 2013 +0100
radeon: move some functions to r600_buffer_common.c
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christoph Brill <egore911 at gmail.com>
v2: Renamed r600_buffer.c to r600_buffer_common.c. The stupid build system
doesn't allow 2 files of the same name in different directories.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b37737cc3e7042bffb7c8a0e6a5c822bb806977
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Nov 26 22:59:31 2013 +0100
winsys/radeon: set/get the scanout flag with the tiling ioctls
If we assume that all buffers allocated by the DDX are scanout, a new flag
that says "this is not scanout" has to be added to support the non-scanout
buffers and maintain backward compatibility.
This fixes bad rendering on Wayland.
The flag is defined as:
#define RADEON_TILING_R600_NO_SCANOUT RADEON_TILING_SWAP_16BIT
AFAIK, RADEON_TILING_SWAP_16BIT is not used on SI.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
More information about the mesa-commit
mailing list