Re: [Mesa-dev] [PATCH] swr: Templetize std::max to work on windows

2016-11-29 Thread Ilia Mirkin
ev@lists.freedesktop.org >> Subject: Re: [Mesa-dev] [PATCH] swr: Templetize std::max to work on >> windows >> >> How about just making 'layers' unsigned? (Hm, I wonder why this didn't >> trigger issues with gcc... maybe it should be +1u instead of +1?) >

Re: [Mesa-dev] [PATCH] swr: Templetize std::max to work on windows

2016-11-29 Thread Kyriazis, George
> -Original Message- > From: ibmir...@gmail.com [mailto:ibmir...@gmail.com] On Behalf Of Ilia > Mirkin > Sent: Tuesday, November 29, 2016 1:54 PM > To: Kyriazis, George > Cc: mesa-dev@lists.freedesktop.org > Subject: Re: [Mesa-dev] [PATCH] swr: Templetize std::max

Re: [Mesa-dev] [PATCH] swr: Templetize std::max to work on windows

2016-11-29 Thread Ilia Mirkin
How about just making 'layers' unsigned? (Hm, I wonder why this didn't trigger issues with gcc... maybe it should be +1u instead of +1?) On Tue, Nov 29, 2016 at 2:46 PM, George Kyriazis wrote: > --- > src/gallium/drivers/swr/swr_clear.cpp | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletion

[Mesa-dev] [PATCH] swr: Templetize std::max to work on windows

2016-11-29 Thread George Kyriazis
--- src/gallium/drivers/swr/swr_clear.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/swr/swr_clear.cpp b/src/gallium/drivers/swr/swr_clear.cpp index f59179f..e752ee0 100644 --- a/src/gallium/drivers/swr/swr_clear.cpp +++ b/src/gallium/drivers/swr