commit | caa2605db52da7303c4571bddc424a613786f56f | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Wed Mar 26 10:06:53 2014 -0700 |
committer | Eric Anholt <eric@anholt.net> | Tue Apr 08 00:59:48 2014 -0700 |
tree | 0b99b40cd56e645cdecc747d225ce20e4e9dbf24 | |
parent | cf40ebacb113a370c1b2445e881f8dc440a7d8f3 [diff] |
i965/fs: Fix vgrf0 live interval when no interpolation was done. When you've got a simple solid-color shader that doesn't generate pixel_x/y interpolation, we were deciding that the first vgrf was both the undefined pixel_x and pixel_y, and extending its live interval to avoid the stride problem. That tricked other optimization that tries to see if a particular instruction is the last use of a variable. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>