From 78df9d5e30fbca8b0795594448a3bcae05d5f5f2 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 5 Mar 2015 11:16:07 -0800 Subject: [PATCH] i965/vec4: Handle saturate in dump_instruction(). Reviewed-by: Ian Romanick --- 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 0a68413bfba..8edb4d0b160 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 && -- 2.30.2