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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev