gallium: add doc note about cube textures and can_create_resource()

Just to be clear, and echo the description for resource_create().

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
Brian Paul
2014-09-29 10:14:01 -06:00
parent 3bfc9a73ad
commit 8269bfdb83

View File

@@ -486,6 +486,8 @@ memory). This is used to implement OpenGL's proxy textures. Typically, a
driver will simply check if the total size of the given resource is less than driver will simply check if the total size of the given resource is less than
some limit. some limit.
For PIPE_TEXTURE_CUBE, the pipe_resource::array_size field should be 6.
.. _resource_create: .. _resource_create: