Module: Mesa
Branch: master
Commit: 8269bfdb8341f58c7c73671677f31076f42be22e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8269bfdb8341f58c7c73671677f31076f42be22e

Author: Brian Paul <[email protected]>
Date:   Mon Sep 29 10:14:01 2014 -0600

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 <[email protected]>

---

 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:
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to