Re: [Mesa-dev] [PATCH] gallium/r600: Replace ALIGN_DIVUP with DIV_ROUND_UP

2016-01-06 Thread Krzysztof A. Sobiecki
Nicolai Hähnle writes: > On 30.12.2015 13:44, Krzysztof A. Sobiecki wrote: >> Nicolai Hähnle writes: >> >>> On 30.12.2015 08:42, Krzysztof A. Sobiecki wrote: >>>> Nicolai Hähnle writes: >>>> >>>>> On 29.12.2015 14:2

Re: [Mesa-dev] [PATCH] gallium/r600: Replace ALIGN_DIVUP with DIV_ROUND_UP

2015-12-30 Thread Krzysztof A. Sobiecki
Nicolai Hähnle writes: > On 30.12.2015 08:42, Krzysztof A. Sobiecki wrote: >> Nicolai Hähnle writes: >> >>> On 29.12.2015 14:27, Krzysztof A. Sobiecki wrote: >>>> From: Krzysztof Sobiecki >>>> >>>> ALIGN_DIVUP is a driver specific(r

Re: [Mesa-dev] [PATCH] gallium/r600: Replace ALIGN_DIVUP with DIV_ROUND_UP

2015-12-30 Thread Krzysztof A. Sobiecki
Nicolai Hähnle writes: > On 29.12.2015 14:27, Krzysztof A. Sobiecki wrote: >> From: Krzysztof Sobiecki >> >> ALIGN_DIVUP is a driver specific(r600g) macro that duplicates DIV_ROUND_UP >> functionality. >> Replacing it with DIV_ROUND_UP eliminates this proble

[Mesa-dev] [PATCH] gallium/r600: Replace ALIGN_DIVUP with DIV_ROUND_UP

2015-12-29 Thread Krzysztof A. Sobiecki
From: Krzysztof Sobiecki ALIGN_DIVUP is a driver specific(r600g) macro that duplicates DIV_ROUND_UP functionality. Replacing it with DIV_ROUND_UP eliminates this problems. Signed-off-by: Krzysztof A. Sobiecki --- src/gallium/drivers/r600/evergreen_state.c | 2 +- src/gallium/drivers/r600

Re: [Mesa-dev] [PATCH] st/fbo: use pipe_surface_release instead of pipe_surface_reference

2015-10-14 Thread Krzysztof A. Sobiecki
Brian Paul writes: > Reviewed-by: Brian Paul > > Do you need me to commit this for you? > > -Brian > Yes, it would be nice. Thanks. -- X was an interactive protocol: alpha blending a full-screen image looked like slugs racing down the monitor. http://www.keithp.com/~keithp/talks/usenix2000/ren

[Mesa-dev] [PATCH] st/fbo: use pipe_surface_release instead of pipe_surface_reference

2015-10-14 Thread Krzysztof A. Sobiecki
From: Krzysztof Sobiecki pipe_surface_reference have problems with deleted contexts, so use of pipe_surface_release might be more appropriate. Fixes Wasteland 2 Director's Cut crash on start. --- src/mesa/state_tracker/st_cb_fbo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[Mesa-dev] [PATCH] st/nine: Disable NV path, it's broken right now.

2015-08-21 Thread Krzysztof A. Sobiecki
st/nine: Disable NV path, it's broken right now. Signed-off-by: Krzysztof Sobiecki --- src/gallium/state_trackers/nine/device9.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c index 673

Re: [Mesa-dev] Potential fix for #70410

2014-02-04 Thread Krzysztof A. Sobiecki
"Armin K." writes: > This would be easier to fix in LLVM. The newline is rather unnecessary > in the output. I'm neither able or willing to hack LLVM, but https://bugs.freedesktop.org/attachment.cgi?id=91751 looks nice? -- X was an interactive protocol: alpha blending a full-screen image looked

[Mesa-dev] Potential fix for #70410

2014-02-04 Thread Krzysztof A. Sobiecki
A small patch to work around a llvm-config-3.5 change, with a newline hack. Signed-off-by: Krzysztof Sobiecki gmail.com> Tested-by: Kai Wasserbäch --- LLVM 3.5 added --system-libs to llvm-config, fix build failure. Fixes #70410 diff --git a/configure.ac b/configure.ac index ba158e8..c31d962 10