OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b34cea
)
u_blitter: query vertex shader caps instead of geometry for int vertices
author
Marek Olšák
<maraeo@gmail.com>
Sun, 9 Oct 2011 16:19:58 +0000
(18:19 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 9 Oct 2011 16:19:58 +0000
(18:19 +0200)
src/gallium/auxiliary/util/u_blitter.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_blitter.c
b/src/gallium/auxiliary/util/u_blitter.c
index
73d1af0
..
89dae95
100644
(file)
--- 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 */