Mesa (master): gallium: add doc note about cube textures and can_create_resource()
Brian Paul
brianp at kemper.freedesktop.org
Tue Sep 30 18:10:24 UTC 2014
Module: Mesa
Branch: master
Commit: 8269bfdb8341f58c7c73671677f31076f42be22e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8269bfdb8341f58c7c73671677f31076f42be22e
Author: Brian Paul <brianp at vmware.com>
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 <imirkin at alum.mit.edu>
---
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:
More information about the mesa-commit
mailing list