Re: [Mesa-dev] [PATCH] r600g: Fix flush issue with llvm on r700

2012-11-21 Thread Vadim Girlin
On Tue, 2012-11-20 at 23:26 +0100, Vincent Lejeune wrote: > --- > src/gallium/drivers/r600/r600_llvm.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/r600/r600_llvm.c > b/src/gallium/drivers/r600/r600_llvm.c > index b3d4e6b..170dac7 100644 > ---

Re: [Mesa-dev] [PATCH] r600g: Fix flush issue with llvm on r700

2012-11-20 Thread Marek Olšák
It's not really a flush fix, you're just fixing wrong RESOURCE_ID in shaders. The best solution would be not to add 2 in LLVM and not to subtract 2 here. Other than that, it looks good. Marek On Tue, Nov 20, 2012 at 11:26 PM, Vincent Lejeune wrote: > --- > src/gallium/drivers/r600/r600_llvm.c

[Mesa-dev] [PATCH] r600g: Fix flush issue with llvm on r700

2012-11-20 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_llvm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c index b3d4e6b..170dac7 100644 --- a/src/gallium/drivers/r600/r600_llvm.c +++ b/src/gallium/drivers/r600/r600