diff options
author | Matt Turner <[email protected]> | 2013-10-29 21:39:52 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-12-04 20:05:44 -0800 |
commit | 4532cac06a9da527549efb685c6f37ffed24ddbf (patch) | |
tree | 4ef87e514480aa34fe6f22f8b1beb8ebe10a06b0 /src/mesa/tnl/t_rasterpos.c | |
parent | 13de9f03f177d3ae0921fded1a102b66130f8b40 (diff) |
i965/fs: Extend SEL peephole to handle only matching MOVs.
Before this patch, the following code would not be optimized even though
the first two instructions were common to the then and else blocks:
(+f0) IF
MOV dst0 ...
MOV dst1 ...
MOV dst2 ...
ELSE
MOV dst0 ...
MOV dst1 ...
MOV dst3 ...
ENDIF
This commit extends the peephole to handle this case.
No shader-db changes.
Reviewed-by: Paul Berry <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/tnl/t_rasterpos.c')
0 files changed, 0 insertions, 0 deletions