diff options
author | Eric Anholt <eric@anholt.net> | 2009-03-23 22:35:03 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-03-23 22:52:17 -0700 |
commit | 411d913ccea362dbd75411266d7abb685214ee93 (patch) | |
tree | 4335ff570f9ce44200b703239a1a2bc2d6d50fbd /src/mesa/drivers/dri/i965/brw_wm_pass0.c | |
parent | b013f945d8514ed827183a4cbfbc4dccc100704f (diff) |
i965: Fix fog coordinate g,b,a values when glFrontFacing isn't used.
Previously, we would sample (f,glFrontFacing,undef,undef) instead of the
(f,0,0,1) that fragment.fogcoord is supposed to return. Due to
glFrontFacing's presence in FOGC.y, we'll still give bad results there when
glFrontFacing is used.
Bug #19122, piglit testcase fp-fog.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm_pass0.c')
0 files changed, 0 insertions, 0 deletions