OSDN Git Service

r300/compiler: apply the texture swizzle to shadow pass and fail values too
authorMarek Olšák <maraeo@gmail.com>
Mon, 4 Apr 2011 16:55:08 +0000 (18:55 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 4 Apr 2011 17:13:01 +0000 (19:13 +0200)
commit0d96ae8fc7c77768b0abb0e7fce7cb9cdc661c2b
treeb0ab46efd9bc1dc562e96f451133b9ca33f7bfa4
parent2679760834e9c04c81cc9af4bc19d312530ea055
r300/compiler: apply the texture swizzle to shadow pass and fail values too

Piglit tests:
- glsl-fs-shadow2d-01
- glsl-fs-shadow2d-02
- glsl-fs-shadow2d-03
- fs-shadow2d-red-01
- fs-shadow2d-red-02
- fs-shadow2d-red-03

NOTE: This is a candidate for the stable branches.
src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c