[Mesa-dev] [PATCH] i915g: we also have more than 0 viewports!
Jordan Justen
jordan.l.justen at intel.com
Wed Nov 12 13:04:19 PST 2014
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
On 2014-11-12 11:20:46, Kenneth Graunke wrote:
> See 546d6c8d for the corresponding fix in freedreno.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
> src/gallium/drivers/i915/i915_screen.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> Not Piglit tested yet, sorry.
>
> diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
> index 062f1a6..e9f10bc 100644
> --- a/src/gallium/drivers/i915/i915_screen.c
> +++ b/src/gallium/drivers/i915/i915_screen.c
> @@ -240,6 +240,9 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
> case PIPE_CAP_SAMPLER_VIEW_TARGET:
> return 0;
>
> + case PIPE_CAP_MAX_VIEWPORTS:
> + return 1;
> +
> case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
> return 64;
>
> --
> 2.1.3
>
> _______________________________________________
> 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