[Mesa-dev] [PATCH v2 2/5] gallium: Add new PIPE_CAP_MULTISAMPLED_RENDER_TO_TEXTURE

Axel Davy davyaxel0 at gmail.com
Tue Nov 6 22:44:28 UTC 2018


Hi,

Is there anything to be done in the nine state trackers (or other state 
trackers).

Nine uses create_surface. Should it expect the field to be filled 
properly by the driver ?

On 06/11/2018 23:09, Kristian H. Kristensen wrote:
> +   /**
> +    * If a driver doesn't advertise PIPE_CAP_MULTISAMPLED_RENDER_TO_TEXTURE,
> +    * pipe_surface::nr_samples will always be 0.
> +    */
The above comment should be added to the comment below.
> +   /** Number of samples for the surface.  This can be different from the
> +    * resource nr_samples when the resource is bound using
> +    * FramebufferTexture2DMultisampleEXT.
> +    */
> +   unsigned nr_samples:8;
> +
>      union pipe_surface_desc u;
>   };
>   


Yours,


Axel Davy



More information about the mesa-dev mailing list