[Mesa-dev] [PATCH 0/2] fix load of unpacked double vector input varyings

Timothy Arceri timothy.arceri at collabora.com
Thu May 26 07:46:05 UTC 2016


On Thu, 2016-05-26 at 17:44 +1000, Timothy Arceri wrote:
> On Thu, 2016-05-26 at 07:56 +0200, Samuel Iglesias Gonsálvez wrote:
> > 
> > Hello,
> > 
> > Timothy found that tests with unpacked double vector input varyings
> > were failing in i965 driver. For example, this is happening when
> > using explicit locations because Mesa disables varying packing for
> > that case.
> > 
> > These patches fix the following piglit test:
> > 
> > spec/arb_gpu_shader_fp64/execution/vs-fs-explicit-locations
> > 
> > Samuel Iglesias Gonsálvez (2):
> >   i965/fs: fix offset when loading double vector input varyings
> >   i965/fs: fix FS_OPCODE_CINTERP for unpacked double input varyings
> > 
> >  src/mesa/drivers/dri/i965/brw_fs.cpp     | 13 ++++++++++++-
> >  src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 22
> > +++++++++++++++++++++-
> >  2 files changed, 33 insertions(+), 2 deletions(-)
> > 
> These are both:
> 
> Tested-by: Timothy Arceri <timothy.arceri at collabora.com>
> 
> The logic looks ok to me also, but you probably want someone
> more familiar with the backend to take a quick look also.

Forgot to ask. Did you also check the other stages work as expected
with explicit locations?


More information about the mesa-dev mailing list