From: Marek Olšák Date: Tue, 11 Aug 2015 19:37:59 +0000 (+0200) Subject: r600g: allow setting geometry shader sampler states X-Git-Tag: upstream/17.1.0~16934 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c0b943e87b48e7359230825cc06fbdd059a9e58;p=platform%2Fupstream%2Fmesa.git r600g: allow setting geometry shader sampler states We were ignoring them. This is both hilarious and sad. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Edward O'Callaghan Reviewed-by: Alex Deucher --- diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index 8d0942f..ee47791 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -407,11 +407,6 @@ static void r600_bind_sampler_states(struct pipe_context *pipe, assert(start == 0); /* XXX fix below */ - if (shader != PIPE_SHADER_VERTEX && - shader != PIPE_SHADER_FRAGMENT) { - return; - } - for (i = 0; i < count; i++) { struct r600_pipe_sampler_state *rstate = rstates[i];