nv50/ir: enable sat modifier for OP_SUB
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 5 Jan 2015 00:32:18 +0000 (19:32 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 5 Jan 2015 05:34:33 +0000 (00:34 -0500)
commite452cfb149a5ae17a2d3315396f4ab001c20bb68
treefc47fac11a3c098b8155d799ff877d5039be2915
parent44673512a84c0897c8eddabf4a56e79b7d5b3395
nv50/ir: enable sat modifier for OP_SUB

SUB is handled the same as ADD, so no reason not to allow a saturate
modifier on it.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp