[Mesa-dev] [PATCH 1/2] i965/vec4: Handle saturate in dump_instruction().

Ian Romanick idr at freedesktop.org
Thu Mar 5 14:47:58 PST 2015


Series is

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

On 03/05/2015 11:39 AM, Matt Turner wrote:
> ---
>  src/mesa/drivers/dri/i965/brw_vec4.cpp | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
> index 0a68413..8edb4d0 100644
> --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
> @@ -1334,6 +1334,8 @@ vec4_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
>     }
>  
>     fprintf(file, "%s", brw_instruction_name(inst->opcode));
> +   if (inst->saturate)
> +      fprintf(file, ".sat");
>     if (inst->conditional_mod) {
>        fprintf(file, "%s", conditional_modifier[inst->conditional_mod]);
>        if (!inst->predicate &&
> 



More information about the mesa-dev mailing list