summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/freedreno/a5xx/fd5_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/drivers/freedreno/a5xx/fd5_draw.c')
-rw-r--r--lib/mesa/src/gallium/drivers/freedreno/a5xx/fd5_draw.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/mesa/src/gallium/drivers/freedreno/a5xx/fd5_draw.c b/lib/mesa/src/gallium/drivers/freedreno/a5xx/fd5_draw.c
index 3919a742b..ec4747c45 100644
--- a/lib/mesa/src/gallium/drivers/freedreno/a5xx/fd5_draw.c
+++ b/lib/mesa/src/gallium/drivers/freedreno/a5xx/fd5_draw.c
@@ -164,19 +164,6 @@ fd5_draw_vbos(struct fd_context *ctx, const struct pipe_draw_info *info,
fd5_draw_vbo(ctx, info, drawid_offset, indirect, &draws[i], index_offset);
}
-static bool
-is_z32(enum pipe_format format)
-{
- switch (format) {
- case PIPE_FORMAT_Z32_FLOAT_S8X24_UINT:
- case PIPE_FORMAT_Z32_UNORM:
- case PIPE_FORMAT_Z32_FLOAT:
- return true;
- default:
- return false;
- }
-}
-
static void
fd5_clear_lrz(struct fd_batch *batch, struct fd_resource *zsbuf, double depth)
{