[Mesa-dev] [PATCH 3/3] i965: Fix scalar VS float[] and vec2[] output arrays.

2015-10-15 Thread Kenneth Graunke
The scalar VS backend has never handled float[] and vec2[] outputs correctly (my original code was broken). Outputs need to be padded out to vec4 slots. In fs_visitor::nir_setup_outputs(), we tried to process each vec4 slot by looping from 0 to ALIGN(type_size_scalar(type), 4) / 4. However, this

Re: [Mesa-dev] [PATCH 3/3] i965: Fix scalar VS float[] and vec2[] output arrays.

2015-10-15 Thread Jason Ekstrand
On Oct 15, 2015 15:17, "Kenneth Graunke" wrote: > > The scalar VS backend has never handled float[] and vec2[] outputs > correctly (my original code was broken). Outputs need to be padded > out to vec4 slots. > > In fs_visitor::nir_setup_outputs(), we tried to process each vec4 slot > by looping