projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb867e2
)
st/mesa: fix geometry shader max texture limit in state validation
author
Marek Olšák
<maraeo@gmail.com>
Thu, 9 May 2013 11:33:11 +0000
(13:33 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 18 Jun 2014 22:14:00 +0000
(
00:14
+0200)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_atom_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_atom_texture.c
b/src/mesa/state_tracker/st_atom_texture.c
index e2d26ee246ad028252c116e56a7a3ad90d701db3..f34a5986308cf37f0c6acd4ef053a1e88fca5d19 100644
(file)
--- a/
src/mesa/state_tracker/st_atom_texture.c
+++ b/
src/mesa/state_tracker/st_atom_texture.c
@@
-434,7
+434,7
@@
update_geometry_textures(struct st_context *st)
update_textures(st,
PIPE_SHADER_GEOMETRY,
&ctx->GeometryProgram._Current->Base,
- ctx->Const.Program[MESA_SHADER_
FRAGMENT
].MaxTextureImageUnits,
+ ctx->Const.Program[MESA_SHADER_
GEOMETRY
].MaxTextureImageUnits,
st->state.sampler_views[PIPE_SHADER_GEOMETRY],
&st->state.num_sampler_views[PIPE_SHADER_GEOMETRY]);
}