[Mesa-dev] [Review Request (master branch)] svga: Fix typo s/VGPU10_MAX_FS_INPUTS/VGPU10_MAX_PS_INPUTS/

Brian Paul brianp at vmware.com
Fri Mar 1 03:26:35 UTC 2019


On 02/28/2019 08:00 PM, Neha Bhende wrote:
> This caused vmware driver build failure
> 
> Fixes: 6010d7b8e8 ("gallium: add PIPE_CAP_MAX_VARYINGS")
> ---
>   src/gallium/drivers/svga/svga_screen.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c
> index 6cb5a14..bcb47bb 100644
> --- a/src/gallium/drivers/svga/svga_screen.c
> +++ b/src/gallium/drivers/svga/svga_screen.c
> @@ -351,7 +351,7 @@ svga_get_param(struct pipe_screen *screen, enum pipe_cap param)
>      case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS:
>         return sws->have_sm4_1 ? 1 : 0; /* only single-channel textures */
>      case PIPE_CAP_MAX_VARYINGS:
> -      return sws->have_vgpu10 ? VGPU10_MAX_FS_INPUTS : 10;
> +      return sws->have_vgpu10 ? VGPU10_MAX_PS_INPUTS : 10;
>   
>      /* Unsupported features */
>      case PIPE_CAP_TEXTURE_MIRROR_CLAMP:
> 


Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list