commit | dfbc20593ec89ef5ddcb0dba3b05ea95e296861e | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Tue Dec 14 10:38:15 2010 -0700 |
committer | Brian Paul <brianp@vmware.com> | Tue Dec 14 12:17:10 2010 -0700 |
tree | 99518bdd2cf2f2959d21ba95bee8b1c33d63bbd0 | |
parent | 68c41a25b4adf77886cc915d47af5e01723142f8 [diff] |
gallivm: do texture swizzle after shadow compare We need to swizzle after the shadow comparison so that the GL_DEPTH_MODE functionality is handled properly. This fixes all the piglit glsl-fs-shadow2d*.shader_test cases, except for glsl-fs-shadow2dproj-bias.shader_test which fails because of a bug in the GLSL compiler (fd.o 32395).