This is part of the per-sample shading feature (PIPE_CAP_SAMPLE_SHADING).
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
}
+static void
+svga_set_min_samples(struct pipe_context *pipe, unsigned min_samples)
+{
+ /* This specifies the minimum number of times the fragment shader
+ * must run when doing per-sample shading for a MSAA render target.
+ * For our SVGA3D device, the FS is automatically run in per-sample
+ * mode if it uses the sample ID or sample position registers.
+ */
+}
+
+
void
svga_init_depth_stencil_functions(struct svga_context *svga)
{
svga->pipe.set_stencil_ref = svga_set_stencil_ref;
svga->pipe.set_sample_mask = svga_set_sample_mask;
+ svga->pipe.set_min_samples = svga_set_min_samples;
}