From 8269bfdb8341f58c7c73671677f31076f42be22e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 29 Sep 2014 10:14:01 -0600 Subject: 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 --- src/gallium/docs/source/screen.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index c83be12f77c..f4e9204004c 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -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 some limit. +For PIPE_TEXTURE_CUBE, the pipe_resource::array_size field should be 6. + .. _resource_create: -- cgit v1.2.3