llvmpipe: Use -1 instead of ~0 for "no slot".
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 31 Oct 2011 19:35:55 +0000 (19:35 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 1 Nov 2011 11:29:31 +0000 (11:29 +0000)
commit0cbb49aff59f7a671d153d9baa70aa78b07da538
tree2715f49ae4db3b2b3fda641ce4f0ae6c6eba17ec
parent4a0afa2c3b7a7b7460fda061bc46240876283a4b
llvmpipe: Use -1 instead of ~0 for "no slot".

As the value of unsigned ~0 depends on the bit-width.

Fixes fdo 42411.
src/gallium/drivers/llvmpipe/lp_state_derived.c
src/gallium/drivers/llvmpipe/lp_state_setup.c
src/gallium/drivers/llvmpipe/lp_state_setup.h