r300: Fix corner-case of KIL on R300
authorNicolai Hähnle <nhaehnle@gmail.com>
Sat, 1 Aug 2009 16:58:47 +0000 (18:58 +0200)
committerNicolai Hähnle <nhaehnle@gmail.com>
Sat, 1 Aug 2009 17:00:55 +0000 (19:00 +0200)
commit9a1c336253579d8b58b31910325227b22b4af395
treebd733607904713b548e9a8038913cf986a22be40
parent3d21e3d3a2785022c9a7af5b6a9db33cf6a3164e
r300: Fix corner-case of KIL on R300

R300 hardware (but _not_ R500) hardware requires an enabled texture unit
if KIL is used in fragment programs. We now work around the CS checker
correctly when enabling such a fake texture unit.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_state.c