u_blitter: query vertex shader caps instead of geometry for int vertices
authorMarek Olšák <maraeo@gmail.com>
Sun, 9 Oct 2011 16:19:58 +0000 (18:19 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 9 Oct 2011 16:19:58 +0000 (18:19 +0200)
src/gallium/auxiliary/util/u_blitter.c

index 73d1af0580014ce7033558007b1a50a0916fc86f..89dae95566f52f4fb92df7ff0ee40875e49baa5a 100644 (file)
@@ -154,7 +154,7 @@ struct blitter_context *util_blitter_create(struct pipe_context *pipe)
       pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_GEOMETRY,
                                      PIPE_SHADER_CAP_MAX_INSTRUCTIONS) > 0;
    ctx->vertex_has_integers =
-      pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_GEOMETRY,
+      pipe->screen->get_shader_param(pipe->screen, PIPE_SHADER_VERTEX,
                                      PIPE_SHADER_CAP_INTEGERS);
 
    /* blend state objects */