[Mesa-dev] [PATCH 2/4] gallium: add doc note about cube textures and can_create_resource()
Brian Paul
brianp at vmware.com
Mon Sep 29 09:56:33 PDT 2014
Just to be clear, and echo the description for resource_create().
---
src/gallium/docs/source/screen.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
index c83be12..f4e9204 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:
--
1.7.10.4
More information about the mesa-dev
mailing list