softpipe: return alpha=1 in shadow_compare() function
authorBrian Paul <brianp@vmware.com>
Fri, 19 Jun 2009 14:40:43 +0000 (08:40 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 19 Jun 2009 14:53:15 +0000 (08:53 -0600)
commit048765624598e6c60b9fe4dc82a72b7110f16715
treea7de4cf9935db001a2c86c05c1315ce98cf778d0
parent8f382fd3f396e182255fe084bc32648b98ca1d94
softpipe: return alpha=1 in shadow_compare() function

The alpha value wasn't set at all before so we got unpredictable results.

Note that we don't currently obey GL_DEPTH_TEXTURE_MODE in the state
tracker.  For now, we return the result in the default mode (r,r,r,1).
src/gallium/drivers/softpipe/sp_tex_sample.c