Mesa (master): ilo: advertise PIPE_CAP_CUBE_MAP_ARRAY

Chia-I Wu olv at kemper.freedesktop.org
Fri Jun 7 07:38:43 UTC 2013


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

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri Jun  7 13:39:41 2013 +0800

ilo: advertise PIPE_CAP_CUBE_MAP_ARRAY

It was supported but not advertised.  Also remove TODO tag for
PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT, as it is not a TODO.

---

 src/gallium/drivers/ilo/ilo_screen.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c
index 82b98a0..4b4935c 100644
--- a/src/gallium/drivers/ilo/ilo_screen.c
+++ b/src/gallium/drivers/ilo/ilo_screen.c
@@ -403,9 +403,8 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_TEXTURE_MULTISAMPLE:
       return false; /* TODO */
    case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
-      return 0; /* TODO */
+      return 0;
    case PIPE_CAP_CUBE_MAP_ARRAY:
-      return false; /* TODO */
    case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
       return true;
    case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT:




More information about the mesa-commit mailing list