commit | 74e927bcafad0a994be5f88fbda4058bef08bc51 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Thu Aug 18 11:55:42 2011 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Mon Sep 26 16:30:07 2011 -0700 |
tree | 7337601dd15add0c25455940ed16de5d20a9b37e | |
parent | c5943d6c1cc4eedbea088bc1f611abc153e90524 [diff] |
i965/fs: Split generate_math into gen4/gen6 and 1/2 operand variants. This mirrors the structure Eric used in the new VS backend, and seems simpler. In particular, the math1/math2 split will avoid having to figure out how many operands there are, as this is already known by the caller. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>