Re: [Mesa-dev] [PATCH] Starting work on var packer

2011-08-08 Thread Brian Paul
I'll let the GLSL guys review the functionality of this, but a few high-level comments: 1. What exactly is var packing? Do you mean storing 4 float vars in a vector register? A better commit message is needed, plus some comments at the top of the file explaining what's going on. 2. Core

[Mesa-dev] [PATCH] Starting work on var packer

2011-08-07 Thread Vincent Lejeune
From: vlj --- src/glsl/Makefile |1 + src/glsl/glsl_parser_extras.cpp |7 +- src/glsl/ir_optimization.h |1 + src/glsl/opt_var_packer.cpp | 332 +++ 4 files changed, 338 insertions(+), 3 deletions(-) create mode 100644 src/

[Mesa-dev] [PATCH] Starting work on var packer

2011-08-06 Thread Vincent Lejeune
From: vlj --- src/glsl/Makefile |1 + src/glsl/glsl_parser_extras.cpp |7 +- src/glsl/ir_optimization.h |1 + src/glsl/opt_var_packer.cpp | 310 +++ 4 files changed, 316 insertions(+), 3 deletions(-) create mode 100644 src/