[Mesa-dev] [PATCH v2] i965: check if upload is 0 explicitely, when downsizing a format

Kenneth Graunke kenneth at whitecape.org
Thu Feb 1 15:55:23 UTC 2018

On Thursday, February 1, 2018 7:15:14 AM PST Andres Gomez wrote:
> downsize_format_if_needed takes an integer as number of uploads
> parameter. Hence, let's do an integer comparation instead of a boolean
> check, since that is confusing.
> Since we are at it, fix a couple of wrongly tabbed indents.
> Cc: Alejandro PiƱeiro <apinheiro at igalia.com>
> Cc: Kenneth Graunke <kenneth at whitecape.org>
> Signed-off-by: Andres Gomez <agomez at igalia.com>
> ---
>  src/mesa/drivers/dri/i965/genX_state_upload.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)


Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180201/6963223a/attachment.sig>

More information about the mesa-dev mailing list