Re: [Mesa-dev] [PATCH 08/10] glsl: Add a lowering pass for packing varyings.

2012-12-12 Thread Paul Berry
On 12 December 2012 14:49, Eric Anholt wrote: > Paul Berry writes: > > diff --git a/src/glsl/lower_packed_varyings.cpp > b/src/glsl/lower_packed_varyings.cpp > > new file mode 100644 > > index 000..4cb9066 > > --- /dev/null > > +++ b/src/glsl/lower_packed_varyings.cpp > > @@ -0,0 +1,371 @@ >

Re: [Mesa-dev] [PATCH 08/10] glsl: Add a lowering pass for packing varyings.

2012-12-12 Thread Eric Anholt
Paul Berry writes: > diff --git a/src/glsl/lower_packed_varyings.cpp > b/src/glsl/lower_packed_varyings.cpp > new file mode 100644 > index 000..4cb9066 > --- /dev/null > +++ b/src/glsl/lower_packed_varyings.cpp > @@ -0,0 +1,371 @@ > +/* > + * Copyright © 2011 Intel Corporation

[Mesa-dev] [PATCH 08/10] glsl: Add a lowering pass for packing varyings.

2012-12-11 Thread Paul Berry
This lowering pass generates GLSL code that manually packs varyings into vec4 slots, for the benefit of back-ends that don't support packed varyings natively. No functional change--the lowering pass is not yet used. --- src/glsl/Makefile.sources | 1 + src/glsl/ir_optimization.h