panfrost: Drop QUADS primitive convert
Even Bifrost retains QUADS support. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6327>
This commit is contained in:
parent
4b21c8b15f
commit
433fa39c2e
|
@ -299,9 +299,6 @@ panfrost_draw_vbo(
|
||||||
assert(ctx->rasterizer != NULL);
|
assert(ctx->rasterizer != NULL);
|
||||||
|
|
||||||
if (!(ctx->draw_modes & (1 << mode))) {
|
if (!(ctx->draw_modes & (1 << mode))) {
|
||||||
if (mode == PIPE_PRIM_QUADS && info->count == 4 && !ctx->rasterizer->base.flatshade) {
|
|
||||||
mode = PIPE_PRIM_TRIANGLE_FAN;
|
|
||||||
} else {
|
|
||||||
if (info->count < 4) {
|
if (info->count < 4) {
|
||||||
/* Degenerate case? */
|
/* Degenerate case? */
|
||||||
return;
|
return;
|
||||||
|
@ -311,7 +308,6 @@ panfrost_draw_vbo(
|
||||||
util_primconvert_draw_vbo(ctx->primconvert, info);
|
util_primconvert_draw_vbo(ctx->primconvert, info);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Now that we have a guaranteed terminating path, find the job.
|
/* Now that we have a guaranteed terminating path, find the job.
|
||||||
* Assignment commented out to prevent unused warning */
|
* Assignment commented out to prevent unused warning */
|
||||||
|
|
Loading…
Reference in New Issue