freedreno/ir3: add encoding/decoding for (sat) bit
authorRob Clark <robdclark@gmail.com>
Sun, 21 Jan 2018 17:20:01 +0000 (12:20 -0500)
committerRob Clark <robdclark@gmail.com>
Sat, 10 Feb 2018 19:54:58 +0000 (14:54 -0500)
commitb2fc94f0745b375b586dbd2685b1c268f4267747
tree9e357b45d69b6826029b24485eb42eec80cf16c5
parent1b658533e1109b8ff9a6578a7eb4b390454e7876
freedreno/ir3: add encoding/decoding for (sat) bit

Seems to be there since a3xx, but we always lowered fsat.  But we can
shave some instructions, especially in shaders that use lots of
clamp(foo, 0.0, 1.0) by not lowering fsat.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/disasm-a3xx.c
src/gallium/drivers/freedreno/ir3/instr-a3xx.h
src/gallium/drivers/freedreno/ir3/ir3.c
src/gallium/drivers/freedreno/ir3/ir3.h