summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_to_hir.cpp
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-06-20 13:40:45 -0700
committerPaul Berry <[email protected]>2012-07-19 10:02:25 -0700
commitd08fdacd58dfa6b1926e9df4707dd9e8dd5370c5 (patch)
tree1dec2faf115441417fa7a0188f5dd51335bf9fad /src/glsl/ast_to_hir.cpp
parentce1d2f08f9d08bd5d49b2072a94b3d85e3169fb5 (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 'src/glsl/ast_to_hir.cpp')
0 files changed, 0 insertions, 0 deletions