u_blitter: fix cube array check
authorDave Airlie <airlied@redhat.com>
Fri, 9 Nov 2012 20:19:19 +0000 (06:19 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 9 Nov 2012 20:20:45 +0000 (06:20 +1000)
Pointed out by Marek on irc,

no committing after beer!

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/util/u_blitter.c

index 0c1430e23db44fa882e763ed8f5ba053891d2bdb..091b6e1b28cc39f36f9029091e8c0ce6dfadd39e 100644 (file)
@@ -900,7 +900,7 @@ void util_blitter_cache_all_shaders(struct blitter_context *blitter)
               target == PIPE_TEXTURE_2D_ARRAY)) {
             continue;
          }
-         if (!has_arraytex &&
+         if (!has_cubearraytex &&
              (target == PIPE_TEXTURE_CUBE_ARRAY))
             continue;