mesa: added cases for texture array targets
authorBrian Paul <brianp@vmware.com>
Fri, 26 Feb 2010 02:04:21 +0000 (19:04 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Feb 2010 03:11:54 +0000 (20:11 -0700)
src/mesa/shader/prog_print.c

index 765aa003b769f5f435dd8c37a899c697ce6a9dee..f66c240ce783df6448be7d24586d28a7369369e8 100644 (file)
@@ -649,6 +649,8 @@ _mesa_fprint_instruction_opt(FILE *f,
       case TEXTURE_3D_INDEX:   fprintf(f, "3D");    break;
       case TEXTURE_CUBE_INDEX: fprintf(f, "CUBE");  break;
       case TEXTURE_RECT_INDEX: fprintf(f, "RECT");  break;
+      case TEXTURE_1D_ARRAY_INDEX: fprintf(f, "1D_ARRAY"); break;
+      case TEXTURE_2D_ARRAY_INDEX: fprintf(f, "2D_ARRAY"); break;
       default:
          ;
       }