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:
@@ -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:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user