[Mesa-dev] [PATCH 03/23] gallium: add PIPE_CAP_TEXTURE_MULTISAMPLE

Brian Paul brianp at vmware.com
Fri Sep 21 09:34:55 PDT 2012


On 09/14/2012 11:09 AM, Marek Olšák wrote:
> ---
>   src/gallium/drivers/i915/i915_screen.c   |    1 +
>   src/gallium/drivers/llvmpipe/lp_screen.c |    1 +
>   src/gallium/drivers/nv30/nv30_screen.c   |    1 +
>   src/gallium/drivers/nv50/nv50_screen.c   |    1 +
>   src/gallium/drivers/nvc0/nvc0_screen.c   |    1 +
>   src/gallium/drivers/r300/r300_screen.c   |    1 +
>   src/gallium/drivers/r600/r600_pipe.c     |    1 +
>   src/gallium/drivers/softpipe/sp_screen.c |    1 +
>   src/gallium/drivers/svga/svga_screen.c   |    1 +
>   src/gallium/include/pipe/p_defines.h     |    3 ++-
>   10 files changed, 11 insertions(+), 1 deletion(-)
>


> diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
> index 59c6382..83192e0 100644
> --- a/src/gallium/include/pipe/p_defines.h
> +++ b/src/gallium/include/pipe/p_defines.h
> @@ -487,7 +487,8 @@ enum pipe_cap {
>      PIPE_CAP_USER_CONSTANT_BUFFERS = 70,
>      PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT = 71,
>      PIPE_CAP_START_INSTANCE = 72,
> -   PIPE_CAP_QUERY_TIMESTAMP = 73
> +   PIPE_CAP_QUERY_TIMESTAMP = 73,
> +   PIPE_CAP_TEXTURE_MULTISAMPLE = 74
>   };
>
>   /**

BTW, we have quite a few gaps in the PIPE_CAP_ enum list.  I think we 
could insert new caps into those gaps.  Not a big deal.

-Brian


More information about the mesa-dev mailing list