summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915/i915_reg.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-29 15:29:41 -0600
committerBrian Paul <brianp@vmware.com>2009-10-29 15:33:43 -0600
commit861fec163c1ae7e431956db0a08989d841e2b74e (patch)
tree1d5e2b46cda25f2fe17670346a44e910d2e2d2f0 /src/mesa/drivers/dri/i915/i915_reg.h
parent198ec96d364dabd82952a451eeda7937db383f0d (diff)
i965: avoid shader translation on window resize
If the fragment shader doesn't use FRAG_ATTRIB_WPOS (gl_FragCoord) we don't need to worry about the window size and origin in brw_wm_populate_key(). This avoids re-generating the i965 shader code when a window is resized. Issue spotted by Keith Whitwell.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i915_reg.h')
0 files changed, 0 insertions, 0 deletions