[Mesa-dev] [PATCH 01/29] i965/fs: Have component() set the register stride to zero.

Kenneth Graunke kenneth at whitecape.org
Mon May 4 15:13:55 PDT 2015


On Saturday, May 02, 2015 06:29:28 PM Francisco Jerez wrote:
> ---
>  src/mesa/drivers/dri/i965/brw_ir_fs.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_ir_fs.h b/src/mesa/drivers/dri/i965/brw_ir_fs.h
> index e2d2617..32fab65 100644
> --- a/src/mesa/drivers/dri/i965/brw_ir_fs.h
> +++ b/src/mesa/drivers/dri/i965/brw_ir_fs.h
> @@ -164,6 +164,7 @@ component(fs_reg reg, unsigned idx)
>     assert(idx < reg.width);
>     reg.subreg_offset = idx * type_sz(reg.type);
>     reg.width = 1;
> +   reg.stride = 0;
>     return reg;
>  }

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150504/c1177ec1/attachment.sig>


More information about the mesa-dev mailing list