r300: No assertion when accessing incomplete texture images.
authorNicolai Haehnle <nhaehnle@gmail.com>
Sat, 24 Mar 2007 15:42:08 +0000 (16:42 +0100)
committerNicolai Haehnle <nhaehnle@gmail.com>
Sat, 24 Mar 2007 17:11:37 +0000 (18:11 +0100)
commit0c3ae2ea7fbb9c1087bdbc1048c380ca760b80d2
tree2e0d1916c4562f688438d0e0f4aa244b81607c47
parentd4dd5a95a8a467a696e5160f3c9c72711829d95e
r300: No assertion when accessing incomplete texture images.

There used to be an assertion when a fragment program accesses an incomplete
texture image. Work around this assertion.
Note: I am unsure whether this workaround produces the desired result
(0,0,0,1) on all hardware.
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_reg.h
src/mesa/drivers/dri/r300/r300_state.c