Re: [Mesa-dev] [PATCH 06/10] i965/fs: Add support for user-defined out variables.

2011-11-09 Thread Eric Anholt
On Tue, 08 Nov 2011 19:21:59 -0800, Kenneth Graunke wrote: > On 11/04/2011 03:01 PM, Eric Anholt wrote: > > Before, I was tracking the ir_variable * found for gl_FragColor or > > gl_FragData[]. Instead, when visiting those variables, set up an > > array of per-render-target fs_regs to copy the o

Re: [Mesa-dev] [PATCH 06/10] i965/fs: Add support for user-defined out variables.

2011-11-08 Thread Kenneth Graunke
On 11/04/2011 03:01 PM, Eric Anholt wrote: > Before, I was tracking the ir_variable * found for gl_FragColor or > gl_FragData[]. Instead, when visiting those variables, set up an > array of per-render-target fs_regs to copy the output data from. This > cleans up the color emit path, while making

Re: [Mesa-dev] [PATCH 06/10] i965/fs: Add support for user-defined out variables.

2011-11-08 Thread Ian Romanick
On 11/04/2011 03:01 PM, Eric Anholt wrote: Before, I was tracking the ir_variable * found for gl_FragColor or gl_FragData[]. Instead, when visiting those variables, set up an array of per-render-target fs_regs to copy the output data from. This cleans up the color emit path, while making handli

[Mesa-dev] [PATCH 06/10] i965/fs: Add support for user-defined out variables.

2011-11-04 Thread Eric Anholt
Before, I was tracking the ir_variable * found for gl_FragColor or gl_FragData[]. Instead, when visiting those variables, set up an array of per-render-target fs_regs to copy the output data from. This cleans up the color emit path, while making handling of multiple user-defined out variables eas