[Mesa-dev] [PATCH 2/2] r600g: allow setting geometry shader sampler states

Edward O'Callaghan edward.ocallaghan at koparo.com
Tue Aug 11 20:43:56 PDT 2015


Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>

-- 
  Edward O'Callaghan
  edward.ocallaghan at koparo.com

On Wed, Aug 12, 2015, at 09:03 AM, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
> 
> We were ignoring them. This is both hilarious and sad.
> 
> Cc: mesa-stable at lists.freedesktop.org
> ---
>  src/gallium/drivers/r600/r600_state_common.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> 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];
>  
> -- 
> 2.1.4
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list