llvmpipe: Use resource_is_texture() consistently.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 22 Apr 2010 17:22:22 +0000 (18:22 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 22 Apr 2010 17:42:03 +0000 (18:42 +0100)
commit8bee4c7718a3bd57e3d99f0913d9081cd13fe5fd
tree626a60bd7b35ecf53f6fae6c4e3311bfde540711
parent50d77c79fbcdf6a33691bfa120d54528d28091a4
llvmpipe: Use resource_is_texture() consistently.

Otherwise slightly difference order causes assertion failures.

Also remove mentions of PIPE_BIND_SCANOUT/PIPE_BIND_SHARED. They are not
propoer bind flags and will likely be deprecated. If surfaces should
be passed to the winsys then they should have the DISPLAY_TARGET flag
set, which is a proper bind flag.
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_texture.c