[Mesa-dev] [PATCH 2/3] r600g/sb: fix memory leaks

2013-05-04 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/sb/sb_bc_parser.cpp | 3 ++- src/gallium/drivers/r600/sb/sb_shader.cpp| 5 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/sb/sb_bc_parser.cpp b/src/gallium/drivers/r600/sb/sb_bc_parser.cpp

[Mesa-dev] [PATCH 3/3] r600g/sb: optimize some cases for CNDxx instructions

2013-05-04 Thread Vadim Girlin
We can replace CNDxx with MOV (and possibly eliminate after propagation) in following cases: If src1 is equal to src2 in CNDxx instruction then the result doesn't depend on condition and we can replace the instruction with "MOV dst, src1". If src0 is const then we can evaluate the condition at co

[Mesa-dev] [PATCH 1/3] r600g/sb: fix kcache handling on r6xx

2013-05-04 Thread Vadim Girlin
Use the same limit for kcache constants in alu group on r6xx as on other chips (two const pairs). Relaxing this will require additional checks to make sure that all 4 consts in the group come from 2 kcache sets (clause limit), probably without noticeable improvements of shader performance. Signed-

Re: [Mesa-dev] [PATCH 0/2] i965/hsw: Set MOCS for surfaces

2013-05-04 Thread Matt Turner
On Sat, May 4, 2013 at 12:14 AM, Matt Turner wrote: > On Fri, May 3, 2013 at 10:42 PM, Chad Versace > wrote: >> +32% on GLBenchmark 2.5 Egypt Offscreen DXT1. Tested on Harris Beach GT3 with >> Android. >> >> Please please please, someone run Piglit on this series. I currently have no >> Haswell

Re: [Mesa-dev] [PATCH 04/12] sso: implement ActiveShaderProgram & GetProgramPipelineiv

2013-05-04 Thread Kenneth Graunke
On 05/04/2013 02:32 PM, gregory hainaut wrote: On Sat, 04 May 2013 12:37:05 -0700 Kenneth Graunke wrote: On 05/03/2013 10:44 AM, Gregory Hainaut wrote: V2: * Rename object * Formatting improvement --- src/mesa/main/pipelineobj.c | 77 +++ 1 file

Re: [Mesa-dev] [PATCH 04/12] sso: implement ActiveShaderProgram & GetProgramPipelineiv

2013-05-04 Thread gregory hainaut
On Sat, 04 May 2013 12:37:05 -0700 Kenneth Graunke wrote: > On 05/03/2013 10:44 AM, Gregory Hainaut wrote: > > V2: > > * Rename object > > * Formatting improvement > > --- > > src/mesa/main/pipelineobj.c | 77 > > +++ > > 1 file changed, 77 insertions

Re: [Mesa-dev] R600 Patchset: Emit true ISA

2013-05-04 Thread Aaron Watry
This series, and the associated mesa changes are all: Tested-By: Aaron Watry --Aaron On Fri, May 3, 2013 at 5:53 PM, Tom Stellard wrote: > Hi, > > The attached patches modify the CodeEmitter to emit true ISA. > Previously, we were prefixing all instructions with an instruction type > byte. > >

Re: [Mesa-dev] [PATCH 04/12] sso: implement ActiveShaderProgram & GetProgramPipelineiv

2013-05-04 Thread Kenneth Graunke
On 05/03/2013 10:44 AM, Gregory Hainaut wrote: V2: * Rename object * Formatting improvement --- src/mesa/main/pipelineobj.c | 77 +++ 1 file changed, 77 insertions(+) diff --git a/src/mesa/main/pipelineobj.c b/src/mesa/main/pipelineobj.c index d81bd0e

Re: [Mesa-dev] R600 Patchset: Emit true ISA

2013-05-04 Thread Vincent Lejeune
Hi, Thank for doing this. Patches 1 2 and 3 have my rb. For patch 4: >@@ -125,9 +106,7 @@ MCCodeEmitter *llvm::createR600MCCodeEmitter(const >MCInstrInfo &MCII, > > void R600MCCodeEmitter::EncodeInstruction(const MCInst &MI, raw_ostream &OS, >SmallVectorI

[Mesa-dev] Intel HD4000 Epic Citadel (Unreal Engine WebGL demo) performance regression and some comparisons with Windows

2013-05-04 Thread Vedran Rodic
Hi, I bisected a performance regression here: https://bugs.freedesktop.org/show_bug.cgi?id=64213 Here's some benchmark numbers: Core i5-3320M, Firefox 23 nightly build 2013-05-04 Epic Citadel 1920x1080 (browser window maximized, not game screen) Windows 40.5 FPS Linux mesa git: 18.9 FPS 2013-

Re: [Mesa-dev] [PATCH 04/12] sso: implement ActiveShaderProgram & GetProgramPipelineiv

2013-05-04 Thread gregory hainaut
On Fri, 3 May 2013 11:56:39 -0700 Matt Turner wrote: > On Fri, May 3, 2013 at 10:44 AM, Gregory Hainaut > wrote: > > V2: > > * Rename object > > * Formatting improvement > > --- > > src/mesa/main/pipelineobj.c | 77 > > +++ > > 1 file changed, 77 inser

Re: [Mesa-dev] [PATCH 10/12] sso: update glGet: GL_PROGRAM_PIPELINE_BINDING

2013-05-04 Thread gregory hainaut
On Fri, 3 May 2013 12:04:48 -0700 Matt Turner wrote: > On Fri, May 3, 2013 at 10:44 AM, Gregory Hainaut > wrote: > > --- > > src/mesa/main/get.c |9 + > > src/mesa/main/get_hash_params.py |3 +++ > > 2 files changed, 12 insertions(+) > > > > diff --git a/src/mesa/ma

Re: [Mesa-dev] [PATCH] gallium: more tgsi documentation updates

2013-05-04 Thread Jose Fonseca
Looks good AFAICT - Original Message - > From: Roland Scheidegger > > Adds the remaining integer opcodes, and some opcodes are moved to more > appropriate places, along with getting rid of the (already nearly empty) > ps_2_x section. Though the CAP bits for some of these are still a bit

Re: [Mesa-dev] [PATCH 0/2] i965/hsw: Set MOCS for surfaces

2013-05-04 Thread Matt Turner
On Fri, May 3, 2013 at 10:42 PM, Chad Versace wrote: > +32% on GLBenchmark 2.5 Egypt Offscreen DXT1. Tested on Harris Beach GT3 with > Android. > > Please please please, someone run Piglit on this series. I currently have no > Haswell hardware that is stable on non-Android Linux, and so can't run