Mesa (master): u_blitter: query vertex shader caps instead of geometry for int vertices
Marek Olšák
mareko at kemper.freedesktop.org
Sun Oct 9 16:21:32 UTC 2011
Module: Mesa
Branch: master
Commit: 0f55f133f1e5b72e463441d2d388a1ec4deac1da
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f55f133f1e5b72e463441d2d388a1ec4deac1da
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Oct 9 18:19:58 2011 +0200
u_blitter: query vertex shader caps instead of geometry for int vertices
---
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 73d1af0..89dae95 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 */
More information about the mesa-commit
mailing list