Re: [Mesa-dev] [PATCH 2/2] util: fix util_clear_render_target and util_clear_depth_stencil layer handling

2013-06-07 Thread Marek Olšák
On Fri, Jun 7, 2013 at 2:32 AM, srol...@vmware.com wrote: From: Roland Scheidegger srol...@vmware.com These functions must clear all bound layers, not just the first. --- src/gallium/auxiliary/util/u_surface.c | 190 +--

Re: [Mesa-dev] [PATCH 2/2] util: fix util_clear_render_target and util_clear_depth_stencil layer handling

2013-06-07 Thread Roland Scheidegger
Am 07.06.2013 12:14, schrieb Marek Olšák: diff --git a/src/gallium/auxiliary/util/u_transfer.c b/src/gallium/auxiliary/util/u_transfer.c index 56e059b..7804f2a 100644 --- a/src/gallium/auxiliary/util/u_transfer.c +++ b/src/gallium/auxiliary/util/u_transfer.c @@ -25,6 +25,7 @@ void

Re: [Mesa-dev] [PATCH 2/2] util: fix util_clear_render_target and util_clear_depth_stencil layer handling

2013-06-07 Thread Jose Fonseca
- Original Message - Am 07.06.2013 12:14, schrieb Marek Olšák: diff --git a/src/gallium/auxiliary/util/u_transfer.c b/src/gallium/auxiliary/util/u_transfer.c index 56e059b..7804f2a 100644 --- a/src/gallium/auxiliary/util/u_transfer.c +++ b/src/gallium/auxiliary/util/u_transfer.c

Re: [Mesa-dev] [PATCH 2/2] util: fix util_clear_render_target and util_clear_depth_stencil layer handling

2013-06-07 Thread Marek Olšák
I understand, though the current hackish approach in the radeon (and also nouveau) drivers has been working really well for the last 3 years and it doesn't look like anybody would like to change that. Just saying. Not that it's important. Marek On Fri, Jun 7, 2013 at 4:57 PM, Roland Scheidegger

[Mesa-dev] [PATCH 2/2] util: fix util_clear_render_target and util_clear_depth_stencil layer handling

2013-06-06 Thread sroland
From: Roland Scheidegger srol...@vmware.com These functions must clear all bound layers, not just the first. --- src/gallium/auxiliary/util/u_surface.c | 190 +-- src/gallium/auxiliary/util/u_transfer.c |1 + 2 files changed, 104 insertions(+), 87 deletions(-)