Neglible win for draw time overhead.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8774>
{
struct panfrost_context *ctx = batch->ctx;
- if (ctx->rasterizer->base.multisample)
- batch->requirements |= PAN_REQ_MSAA;
-
if (ctx->depth_stencil && ctx->depth_stencil->base.depth_writemask) {
batch->requirements |= PAN_REQ_DEPTH_WRITE;
batch->draws |= PIPE_CLEAR_DEPTH;
struct panfrost_batch *batch;
};
-#define PAN_REQ_MSAA (1 << 0)
-#define PAN_REQ_DEPTH_WRITE (1 << 1)
+#define PAN_REQ_DEPTH_WRITE (1 << 0)
/* A panfrost_batch corresponds to a bound FBO we're rendering to,
* collecting over multiple draws. */