commit | a7fa00dfc5ab5782b2e497fbf4ca292dde69cdbd | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Sat Oct 02 23:27:31 2010 -0700 |
committer | Eric Anholt <eric@anholt.net> | Sat Oct 02 23:48:14 2010 -0700 |
tree | cb4de56e2f3c6c647cbfba0c61499f4d51090d76 | |
parent | 4fb0c92c6986cf4e88296bab8837320210f1794f [diff] |
i965: Set up swizzling of shadow compare results for GL_DEPTH_TEXTURE_MODE. The brw_wm_surface_state.c handling of GL_DEPTH_TEXTURE_MODE doesn't apply to shadow compares, which always return an intensity value. The texture swizzles can do the job for us. Fixes: glsl1-shadow2D(): 1 glsl1-shadow2D(): 3