[Mesa-dev] [PATCH 6/7] nvc0: enable ARB_shader_image_load_store on GK110

Ilia Mirkin imirkin at alum.mit.edu
Wed Apr 20 20:38:16 UTC 2016


Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

Might also want to see what happens on GK20A. Should Just Work (tm).

On Wed, Apr 20, 2016 at 4:25 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> This exposes 8 images for all shader types.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> index 735406e..f8d74d5 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> @@ -382,7 +382,7 @@ nvc0_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
>     case PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT:
>        return 32;
>     case PIPE_SHADER_CAP_MAX_SHADER_IMAGES:
> -      if (class_3d == NVE4_3D_CLASS)
> +      if (class_3d == NVE4_3D_CLASS || class_3d == NVF0_3D_CLASS)
>           return NVC0_MAX_IMAGES;
>        return 0;
>     default:
> --
> 2.8.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list