softpipe: implement the new can_create_resource() function
authorBrian Paul <brianp@vmware.com>
Mon, 17 Sep 2012 01:44:07 +0000 (19:44 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 18 Sep 2012 01:49:27 +0000 (19:49 -0600)
commit7d624799b9db3a4a6e52682ad94928202d961f5b
tree186810a38e6010f0c33826ce3b278f7b105eb874
parentb9e88c55927b9d62c48ed034baae1d3ac09713b0
softpipe: implement the new can_create_resource() function

And define a SP_MAX_TEXTURE_SIZE value as we do in llvmpipe.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/softpipe/sp_limits.h
src/gallium/drivers/softpipe/sp_texture.c