diff options
author | Paul Berry <[email protected]> | 2012-06-20 13:40:45 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2012-07-19 10:02:25 -0700 |
commit | d08fdacd58dfa6b1926e9df4707dd9e8dd5370c5 (patch) | |
tree | 1dec2faf115441417fa7a0188f5dd51335bf9fad /doxygen/tnl.doxy | |
parent | ce1d2f08f9d08bd5d49b2072a94b3d85e3169fb5 (diff) |
i965: Avoid unnecessary recompiles for shaders that don't use dFdy().
The i965 back-end needs to compile dFdy() differently for FBOs and
window system framebuffers, because Y coordinates are flipped between
the two (see commit 82d2596: i965: Compute dFdy() correctly for FBOs).
This patch avoids unnecessarily recompiling shaders that don't use
dFdy(), by only setting render_to_fbo in the wm program key if the
shader actually uses dFdy().
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'doxygen/tnl.doxy')
0 files changed, 0 insertions, 0 deletions