Re: [Mesa-dev] [PATCH] gallium: surface remove width/height removal comment

2018-07-18 Thread Marek Olšák
On Wed, Jul 18, 2018 at 1:46 PM, Roland Scheidegger wrote: > Am 18.07.2018 um 19:29 schrieb Marek Olšák: >> On Tue, Jul 17, 2018 at 9:44 AM, Roland Scheidegger >> wrote: >>> Initially, width/height were actually needed because not all >>> pipe_surface objects were backed by pipe_resource

Re: [Mesa-dev] [PATCH] gallium: surface remove width/height removal comment

2018-07-18 Thread Roland Scheidegger
Am 18.07.2018 um 19:29 schrieb Marek Olšák: > On Tue, Jul 17, 2018 at 9:44 AM, Roland Scheidegger > wrote: >> Initially, width/height were actually needed because not all >> pipe_surface objects were backed by pipe_resource objects (that was ages >> ago...). Hence the comment when that was

Re: [Mesa-dev] [PATCH] gallium: surface remove width/height removal comment

2018-07-18 Thread Marek Olšák
On Tue, Jul 17, 2018 at 9:44 AM, Roland Scheidegger wrote: > Initially, width/height were actually needed because not all > pipe_surface objects were backed by pipe_resource objects (that was ages > ago...). Hence the comment when that was fixed, since it was always > actually possible to derive

Re: [Mesa-dev] [PATCH] gallium: surface remove width/height removal comment

2018-07-17 Thread Roland Scheidegger
Initially, width/height were actually needed because not all pipe_surface objects were backed by pipe_resource objects (that was ages ago...). Hence the comment when that was fixed, since it was always actually possible to derive this from the resource (but a bit too complex to change all the

[Mesa-dev] [PATCH] gallium: surface remove width/height removal comment

2018-07-16 Thread Dave Airlie
From: Dave Airlie We do need width/height for things, remove the outdated comment. --- src/gallium/include/pipe/p_state.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 809aa087ce0..b55624d698d 100644 ---