program: Shrink and rename SaturateMode field to Saturate.
authorMatt Turner <mattst88@gmail.com>
Mon, 1 Jun 2015 23:22:55 +0000 (16:22 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 3 Jun 2015 17:40:59 +0000 (10:40 -0700)
commitef3f89e53e76332ddb300b08f4698347e17d1633
tree5ae3faa1fac8d55929b0e36864ab5d20e4849ba5
parent56b2b3d385170ab33934ec71fd9d0a6e0e1af9a8
program: Shrink and rename SaturateMode field to Saturate.

It was 2 bits to accommodate SATURATE_PLUS_MINUS_ONE (removed by commit
09b566e1). A similar change was made to TGSI recently in commit
e1c4e8aa.

Reducing the size from 2 bits to 1 reduces the size of the bit fields
from 17 bits to 16, which is a much nicer number.

Reviewed-by: Brian Paul <brianp@vmware.com>
12 files changed:
src/mesa/drivers/dri/i915/i915_fragprog.c
src/mesa/program/ir_to_mesa.cpp
src/mesa/program/prog_execute.c
src/mesa/program/prog_instruction.c
src/mesa/program/prog_instruction.h
src/mesa/program/prog_optimize.c
src/mesa/program/prog_print.c
src/mesa/program/prog_to_nir.c
src/mesa/program/program_parse.y
src/mesa/program/program_parse_extra.c
src/mesa/program/programopt.c
src/mesa/state_tracker/st_mesa_to_tgsi.c