[Mesa-dev] [PATCH 42/95] i965/vec4: dump NibCtrl for instructions with execsize 4
Francisco Jerez
currojerez at riseup.net
Mon Aug 8 22:30:57 UTC 2016
Iago Toral Quiroga <itoral at igalia.com> writes:
> ---
> src/mesa/drivers/dri/i965/brw_vec4.cpp | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
> index 829b7d3..88bf895 100644
> --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
> @@ -1580,6 +1580,9 @@ vec4_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
> if (inst->force_writemask_all)
> fprintf(file, " NoMask");
>
> + if (inst->exec_size == 4)
> + fprintf(file, "%s", inst->group == 0 ? " 1N" : " 2N");
> +
In the FS back-end we do:
| if (inst->exec_size != dispatch_width)
| fprintf(file, "group%d ", inst->group);
Would it make sense to have the vec4 back-end behave the same way for
consistency? (with dispatch_width equal to 8)
> fprintf(file, "\n");
> }
>
> --
> 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/20160808/7bf271fc/attachment.sig>
More information about the mesa-dev
mailing list