diff options
author | Marek Olšák <[email protected]> | 2011-10-09 18:19:58 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-10-09 18:19:58 +0200 |
commit | 0f55f133f1e5b72e463441d2d388a1ec4deac1da (patch) | |
tree | c9ca028f5ccdbc7031e28325352d794671a36113 | |
parent | 9b34cea7e91f90023ca3490603155d758cbdee1c (diff) |
u_blitter: query vertex shader caps instead of geometry for int vertices
-rw-r--r-- | src/gallium/auxiliary/util/u_blitter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |