[Nouveau] [PATCH] nouveau: Add missing PIPE_SHADER_CAP_INTEGERS to get_shader_param()

Samuel Pitoiset samuel.pitoiset at gmail.com
Mon Apr 11 12:15:28 UTC 2016


The prefix should be "nv30:" instead of "nouveau:" I guess.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

On 04/11/2016 02:13 PM, Hans de Goede wrote:
> Add missing PIPE_SHADER_CAP_INTEGERS for frag shaders to
> nv30_screen_get_shader_param().
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
>   src/gallium/drivers/nouveau/nv30/nv30_screen.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/nouveau/nv30/nv30_screen.c b/src/gallium/drivers/nouveau/nv30/nv30_screen.c
> index db7c2d1..ece8af7 100644
> --- a/src/gallium/drivers/nouveau/nv30/nv30_screen.c
> +++ b/src/gallium/drivers/nouveau/nv30/nv30_screen.c
> @@ -324,6 +324,7 @@ nv30_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
>         case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR:
>         case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR:
>         case PIPE_SHADER_CAP_SUBROUTINES:
> +      case PIPE_SHADER_CAP_INTEGERS:
>         case PIPE_SHADER_CAP_DOUBLES:
>         case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED:
>         case PIPE_SHADER_CAP_TGSI_DFRACEXP_DLDEXP_SUPPORTED:
>

-- 
-Samuel


More information about the Nouveau mailing list