Re: [Mesa-dev] [PATCH 2/2] i965: Fix scalar vertex shader struct outputs.

2015-11-25 Thread Jason Ekstrand
On Tue, Nov 24, 2015 at 10:35 PM, Kenneth Graunke wrote: > While we correctly set output[] for composite varyings, we set completely > bogus values for output_components[], making emit_urb_writes() output > zeros instead of the actual values. > > Unfortunately, our simple approach goes out the win

[Mesa-dev] [PATCH 2/2] i965: Fix scalar vertex shader struct outputs.

2015-11-24 Thread Kenneth Graunke
While we correctly set output[] for composite varyings, we set completely bogus values for output_components[], making emit_urb_writes() output zeros instead of the actual values. Unfortunately, our simple approach goes out the window, and we need to recurse into structs to get the proper value of