[Mesa-dev] [PATCH] gallium: add missing PIPE_CAP_SURFACE_SAMPLE_COUNT default value
Michel Dänzer
michel at daenzer.net
Fri Dec 7 10:23:27 UTC 2018
On 2018-12-07 10:08 a.m., Samuel Pitoiset wrote:
> Fixes: 2710c40e3c8 ("gallium: Add new PIPE_CAP_SURFACE_SAMPLE_COUNT")
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/gallium/auxiliary/util/u_screen.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c
> index 73dbbee94a9..aef21bc46ae 100644
> --- a/src/gallium/auxiliary/util/u_screen.c
> +++ b/src/gallium/auxiliary/util/u_screen.c
> @@ -326,6 +326,9 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
> case PIPE_CAP_MAX_VERTEX_ELEMENT_SRC_OFFSET:
> return 2047;
>
> + case PIPE_CAP_SURFACE_SAMPLE_COUNT:
> + return 0;
> +
> default:
> unreachable("bad PIPE_CAP_*");
> }
>
Tested-by: Michel Dänzer <michel.daenzer at amd.com>
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list