[Mesa-dev] [PATCH 15/95] i965/disasm: align16 DF source regions have a width of 2
Francisco Jerez
currojerez at riseup.net
Wed Aug 3 00:56:53 UTC 2016
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Iago Toral Quiroga <itoral at igalia.com> writes:
> ---
> src/mesa/drivers/dri/i965/brw_disasm.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
> index d74d5d5..c8bdeab 100644
> --- a/src/mesa/drivers/dri/i965/brw_disasm.c
> +++ b/src/mesa/drivers/dri/i965/brw_disasm.c
> @@ -918,7 +918,10 @@ src_da16(FILE *file,
> format(file, ".%d", 16 / reg_type_size[_reg_type]);
> string(file, "<");
> err |= control(file, "vert stride", vert_stride, _vert_stride, NULL);
> - string(file, ",4,1>");
> + if (reg_type_size[_reg_type] == 8)
> + string(file, ",2,1>");
> + else
> + string(file, ",4,1>");
> err |= src_swizzle(file, BRW_SWIZZLE4(swz_x, swz_y, swz_z, swz_w));
> err |= control(file, "src da16 reg type", reg_encoding, _reg_type, NULL);
> return err;
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160802/d470ee2a/attachment.sig>
More information about the mesa-dev
mailing list