[Mesa-dev] [PATCH 4/5] ttn: handle GLSL_SAMPLER_DIM_SUBPASS_MS case

Juan A. Suarez Romero jasuarez at igalia.com
Wed Dec 21 10:42:37 UTC 2016


Gently pinging if someone could do a quick review.

Thanks in advance!

	J.A.


On Thu, 2016-11-24 at 13:36 +0100, Juan A. Suarez Romero wrote:
> Fixes a warning.
> ---
>  src/gallium/auxiliary/nir/tgsi_to_nir.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c
> b/src/gallium/auxiliary/nir/tgsi_to_nir.c
> index 3f05acd..e90684f 100644
> --- a/src/gallium/auxiliary/nir/tgsi_to_nir.c
> +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c
> @@ -1341,6 +1341,7 @@ ttn_tex(struct ttn_compile *c, nir_alu_dest
> dest, nir_ssa_def **src)
>        instr->coord_components = 3;
>        break;
>     case GLSL_SAMPLER_DIM_SUBPASS:
> +   case GLSL_SAMPLER_DIM_SUBPASS_MS:
>        unreachable("invalid sampler_dim");
>     }
>  


More information about the mesa-dev mailing list