Mesa (master): radeonsi: fix indentation issue in si_texture.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Feb 17 09:22:33 UTC 2021


Module: Mesa
Branch: master
Commit: 47ed0091943871a6370a3ad5a0c5f510da272c45
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47ed0091943871a6370a3ad5a0c5f510da272c45

Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Thu Jan 21 14:23:12 2021 +0100

radeonsi: fix indentation issue in si_texture.c

Reviewed-by: Zoltán Böszörményi <zboszor at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8869>

---

 src/gallium/drivers/radeonsi/si_texture.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_texture.c b/src/gallium/drivers/radeonsi/si_texture.c
index 59eb29a93ac..6a78ce62648 100644
--- a/src/gallium/drivers/radeonsi/si_texture.c
+++ b/src/gallium/drivers/radeonsi/si_texture.c
@@ -648,8 +648,8 @@ static bool si_texture_get_handle(struct pipe_screen *screen, struct pipe_contex
          --plane;
       }
 
-         res = si_resource(resource);
-         tex = (struct si_texture *)resource;
+      res = si_resource(resource);
+      tex = (struct si_texture *)resource;
 
       /* This is not supported now, but it might be required for OpenCL
        * interop in the future.



More information about the mesa-commit mailing list