[Mesa-dev] [PATCH 1/2] i965/vec4: Handle saturate in dump_instruction().
Matt Turner
mattst88 at gmail.com
Thu Mar 5 11:39:04 PST 2015
---
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 &&
--
2.0.5
More information about the mesa-dev
mailing list