Re: [Mesa-dev] [PATCH 5/5] i965: Implement ARB_fragment_layer_viewport.

2015-10-26 Thread Chris Forbes
For the series Reviewed-by: Chris Forbes On Oct 27, 2015 7:03 AM, "Kenneth Graunke" wrote: > Normally, we could read gl_Layer from bits 26:16 of R0.0. However, the > specification requires that bogus out-of-range 32-bit values written by > previous stages need to appear in the fragment shader

[Mesa-dev] [PATCH 5/5] i965: Implement ARB_fragment_layer_viewport.

2015-10-26 Thread Kenneth Graunke
Normally, we could read gl_Layer from bits 26:16 of R0.0. However, the specification requires that bogus out-of-range 32-bit values written by previous stages need to appear in the fragment shader as-written. Instead, we pass in the full 32-bit value from the VUE header as an extra flat-shaded va