Re: [Mesa-dev] [PATCH 08/12] i965/fs: Add support for gl_Layer input

2014-01-26 Thread Ian Romanick
On 01/24/2014 10:51 PM, Chris Forbes wrote: > This is a bit unusual -- we want to treat it as an input on the GLSL > side rather than a `system value` oddball. However, it doesn't get a > real slot in the VUE layout -- earlier shader stages write it into the > vertex header, and it appears in the F

[Mesa-dev] [PATCH 08/12] i965/fs: Add support for gl_Layer input

2014-01-24 Thread Chris Forbes
This is a bit unusual -- we want to treat it as an input on the GLSL side rather than a `system value` oddball. However, it doesn't get a real slot in the VUE layout -- earlier shader stages write it into the vertex header, and it appears in the FS payload packed into some R0.0 bits. Signed-off-by