On Sat, Jul 5, 2014 at 9:55 AM, Darius Goad <alegen...@gmail.com> wrote:
> This support is preliminary due to the fact that MSAA is not
> actually implemented. More complete support would most likely
> involve a rework of the Mesa architecture to support it.
>
> However, this patch does fix the piglit test:
> spec/!OpenGL 3.2/glsl-resource-not-bound 2DMS
> ---
>  src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c 
> b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
> index 3d7df3e..4bf9242 100644
> --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
> @@ -2329,9 +2329,11 @@ emit_fetch_texels( struct lp_build_tgsi_soa_context 
> *bld,
>        dims = 1;
>        break;
>     case TGSI_TEXTURE_2D:
> +   case TGSI_TEXTURE_2D_MSAA:
>     case TGSI_TEXTURE_RECT:
>        dims = 2;
>        break;
> +   case TGSI_TEXTURE_2D_ARRAY_MSAA:
>     case TGSI_TEXTURE_2D_ARRAY:
>        layer_coord = 2;
>        dims = 2;
> --
> 1.9.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


This looks like bug 79470 so please reference it in the commit message.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79470
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to