From: Marek Olšák Date: Sun, 9 Oct 2011 16:19:58 +0000 (+0200) Subject: u_blitter: query vertex shader caps instead of geometry for int vertices X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f55f133f1e5b72e463441d2d388a1ec4deac1da;p=mesa.git u_blitter: query vertex shader caps instead of geometry for int vertices --- diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index 73d1af05800..89dae95566f 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -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 */