[Mesa-dev] [PATCH 3/3] radeonsi: advertise 8 bits subpixel precision for viewport bounds
Marek Olšák
maraeo at gmail.com
Wed Jul 20 10:45:53 UTC 2016
Pushed the series, thanks.
Marek
On Tue, Jul 19, 2016 at 1:07 PM, Józef Kucia <joseph.kucia at gmail.com> wrote:
> Signed-off-by: Józef Kucia <joseph.kucia at gmail.com>
> ---
> src/gallium/drivers/radeonsi/si_pipe.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
> index 768dc8c..6a496c2 100644
> --- a/src/gallium/drivers/radeonsi/si_pipe.c
> +++ b/src/gallium/drivers/radeonsi/si_pipe.c
> @@ -444,7 +444,6 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
> case PIPE_CAP_PRIMITIVE_RESTART_FOR_PATCHES:
> case PIPE_CAP_TGSI_VOTE:
> case PIPE_CAP_MAX_WINDOW_RECTANGLES:
> - case PIPE_CAP_VIEWPORT_SUBPIXEL_BITS:
> return 0;
>
> case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS:
> @@ -490,6 +489,8 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
>
> case PIPE_CAP_MAX_VIEWPORTS:
> return R600_MAX_VIEWPORTS;
> + case PIPE_CAP_VIEWPORT_SUBPIXEL_BITS:
> + return 8;
>
> /* Timer queries, present when the clock frequency is non zero. */
> case PIPE_CAP_QUERY_TIMESTAMP:
> --
> 2.7.3
>
> _______________________________________________
> 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