[Mesa-dev] [PATCH 4/4] softpipe: add PIPE_CAP_MIN/MAX_TEXTURE_GATHER_OFFSET query cases
Ilia Mirkin
imirkin at alum.mit.edu
Thu Apr 10 18:08:02 PDT 2014
On Thu, Apr 10, 2014 at 9:04 PM, Brian Paul <brianp at vmware.com> wrote:
> To silence compiler warnings.
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Sorry I missed sp_screen.c :( I thought I had gotten everything.
> ---
> src/gallium/drivers/softpipe/sp_screen.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
> index ce04fb8..b4ca728 100644
> --- a/src/gallium/drivers/softpipe/sp_screen.c
> +++ b/src/gallium/drivers/softpipe/sp_screen.c
> @@ -192,6 +192,9 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
> return 0;
> case PIPE_CAP_FAKE_SW_MSAA:
> return 1;
> + case PIPE_CAP_MIN_TEXTURE_GATHER_OFFSET:
> + case PIPE_CAP_MAX_TEXTURE_GATHER_OFFSET:
> + return 0;
> }
> /* should only get here on unhandled cases */
> debug_printf("Unexpected PIPE_CAP %d query\n", param);
> --
> 1.7.10.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list