diff options
author | Brian Paul <brianp@vmware.com> | 2009-10-29 15:29:41 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-29 15:33:43 -0600 |
commit | 861fec163c1ae7e431956db0a08989d841e2b74e (patch) | |
tree | 1d5e2b46cda25f2fe17670346a44e910d2e2d2f0 /progs/tests/random.c | |
parent | 198ec96d364dabd82952a451eeda7937db383f0d (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 'progs/tests/random.c')
0 files changed, 0 insertions, 0 deletions