From 0ae72df0133fe26f5713538f773646a3d1f1a730 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 16 Aug 2019 10:26:03 -0700 Subject: [PATCH] panfrost: Fix PIPE_BUFFER spacing Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index e8ca6a66377..fa9c92af9f6 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -2205,9 +2205,9 @@ panfrost_translate_texture_type(enum pipe_texture_target t) { switch (t) { case PIPE_BUFFER: - case PIPE_TEXTURE_1D: - case PIPE_TEXTURE_1D_ARRAY: - return MALI_TEX_1D; + case PIPE_TEXTURE_1D: + case PIPE_TEXTURE_1D_ARRAY: + return MALI_TEX_1D; case PIPE_TEXTURE_2D: case PIPE_TEXTURE_2D_ARRAY: -- 2.30.2