diff options
author | Brian Paul <[email protected]> | 2012-09-16 19:44:07 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-09-17 19:49:27 -0600 |
commit | 7d624799b9db3a4a6e52682ad94928202d961f5b (patch) | |
tree | 186810a38e6010f0c33826ce3b278f7b105eb874 /src/gallium/drivers/softpipe/sp_limits.h | |
parent | b9e88c55927b9d62c48ed034baae1d3ac09713b0 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_limits.h')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_limits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_limits.h b/src/gallium/drivers/softpipe/sp_limits.h index 0df683bc4cb..9dd2be1a9c5 100644 --- a/src/gallium/drivers/softpipe/sp_limits.h +++ b/src/gallium/drivers/softpipe/sp_limits.h @@ -29,7 +29,7 @@ #define SP_LIMITS_H - +#define SP_MAX_TEXTURE_SIZE (1 * 1024 * 1024 * 1024ULL) /* 1GB for now */ #define SP_MAX_TEXTURE_2D_LEVELS 15 /* 16K x 16K */ #define SP_MAX_TEXTURE_3D_LEVELS 9 /* 256 x 256 x 256 */ #define SP_MAX_TEXTURE_CUBE_LEVELS 13 /* 4K x 4K */ |