[Mesa-dev] [PATCH 1/5] i965/fs: fix regs_read() for LINTERP
Jordan Justen
jordan.l.justen at intel.com
Wed Jul 1 14:47:16 PDT 2015
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
On 2015-07-01 11:51:35, Connor Abbott wrote:
> The second source always stays within the same SIMD8 register.
>
> Signed-off-by: Connor Abbott <connor.w.abbott at intel.com>
> ---
> src/mesa/drivers/dri/i965/brw_fs.cpp | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
> index dd95519..38b9095 100644
> --- a/src/mesa/drivers/dri/i965/brw_fs.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
> @@ -676,7 +676,8 @@ fs_inst::regs_read(int arg) const
> case FS_OPCODE_LINTERP:
> if (arg == 0)
> return exec_size / 4;
> - break;
> + else
> + return 1;
>
> case FS_OPCODE_PIXEL_X:
> case FS_OPCODE_PIXEL_Y:
> --
> 2.4.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list