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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to