[Mesa-dev] [PATCH 09/95] i965/vec4: add support for printing DF immediates

Francisco Jerez currojerez at riseup.net
Tue Jul 26 02:15:29 UTC 2016


Iago Toral Quiroga <itoral at igalia.com> writes:

> From: Connor Abbott <connor.w.abbott at intel.com>
>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>

> ---
>  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 162b481..bf6701e 100644
> --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
> @@ -1485,6 +1485,9 @@ vec4_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
>           case BRW_REGISTER_TYPE_F:
>              fprintf(file, "%fF", inst->src[i].f);
>              break;
> +         case BRW_REGISTER_TYPE_DF:
> +            fprintf(file, "%fDF", inst->src[i].df);
> +            break;
>           case BRW_REGISTER_TYPE_D:
>              fprintf(file, "%dD", inst->src[i].d);
>              break;
> -- 
> 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/20160725/9c3e37b8/attachment.sig>


More information about the mesa-dev mailing list