Mesa (main): i915g: clang-format fixup.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Aug 19 17:41:36 UTC 2021


Module: Mesa
Branch: main
Commit: 6494b08407543844f3ce2b405a796b9209e1595e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6494b08407543844f3ce2b405a796b9209e1595e

Author: Emma Anholt <emma at anholt.net>
Date:   Tue Aug 17 21:20:51 2021 -0700

i915g: clang-format fixup.

I really need to get clang-format into CI so I can stop doing fixups.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12436>

---

 src/gallium/drivers/i915/i915_resource_texture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c
index a88444a5896..aac9756c1ed 100644
--- a/src/gallium/drivers/i915/i915_resource_texture.c
+++ b/src/gallium/drivers/i915/i915_resource_texture.c
@@ -647,7 +647,7 @@ i945_texture_layout_cube(struct i915_texture *tex)
    unsigned level;
    unsigned face;
 
-   assert(pt->width0 == pt->height0);       /* cubemap images are square */
+   assert(pt->width0 == pt->height0); /* cubemap images are square */
    assert(util_format_is_compressed(pt->format)); /* compressed only */
 
    /*



More information about the mesa-commit mailing list