diff options
author | Eric Anholt <eric@anholt.net> | 2010-11-13 14:00:58 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-11-14 22:35:17 +0800 |
commit | 3b337f5cd94384d2d5918fb630aa8089e49b1d8d (patch) | |
tree | ac7114e2e8956a2cc7690a2092940f308db3a2ff /src/mesa/drivers/dri/i965/brw_wm.h | |
parent | d11db2a857141c556378fde9f9f5ec08c7f8636f (diff) |
i965: Fix gl_FragCoord inversion when drawing to an FBO.
This showed up as cairo-gl gradients being inverted on everyone but
Intel, where I'd apparently tweaked the transformation to work around
the bug. Fixes piglit fbo-fragcoord.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h index 99bd15c187..2ca685784f 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.h +++ b/src/mesa/drivers/dri/i965/brw_wm.h @@ -70,7 +70,8 @@ struct brw_wm_prog_key { GLuint linear_color:1; /**< linear interpolation vs perspective interp */ GLuint runtime_check_aads_emit:1; GLuint nr_color_regions:5; - + GLuint render_to_fbo:1; + GLbitfield proj_attrib_mask; /**< one bit per fragment program attribute */ GLuint shadowtex_mask:16; GLuint yuvtex_mask:16; |