Re: [Mesa-dev] [PATCH V3 3/5] i965 Gen4/5: clip: correctly handle flat varyings

2013-07-30 Thread Paul Berry
On 14 July 2013 02:39, Chris Forbes wrote: > Previously we only gave special treatment to the builtin color varyings. > This patch adds support for arbitrary flat-shaded varyings, which is > required for GLSL 1.30. > > Based on Olivier Galibert's patch from last year: > http://lists.freedesktop.o

Re: [Mesa-dev] [PATCH V3 3/5] i965 Gen4/5: clip: correctly handle flat varyings

2013-07-23 Thread Kenneth Graunke
On 07/14/2013 02:39 AM, Chris Forbes wrote: Previously we only gave special treatment to the builtin color varyings. This patch adds support for arbitrary flat-shaded varyings, which is required for GLSL 1.30. Based on Olivier Galibert's patch from last year: http://lists.freedesktop.org/archive

Re: [Mesa-dev] [PATCH V3 3/5] i965 Gen4/5: clip: correctly handle flat varyings

2013-07-15 Thread Chris Forbes
+ for (i=0; i < c->vue_map.num_slots; i++) { + if (c->key.interpolation_mode[i] == INTERP_QUALIFIER_FLAT) { + printf("flatshaded: %d @ %d\n", i, + brw_vue_slot_to_offset(i)); Oops, that wasn't supposed to still be in there! _

[Mesa-dev] [PATCH V3 3/5] i965 Gen4/5: clip: correctly handle flat varyings

2013-07-14 Thread Chris Forbes
Previously we only gave special treatment to the builtin color varyings. This patch adds support for arbitrary flat-shaded varyings, which is required for GLSL 1.30. Based on Olivier Galibert's patch from last year: http://lists.freedesktop.org/archives/mesa-dev/2012-July/024340.html [V1-2]: Sign