Mesa (master): zink: ntv formatting

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Dec 17 19:21:51 UTC 2020


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

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Thu Dec 17 11:26:32 2020 -0500

zink: ntv formatting

Erik Faye-Lund <erik.faye-lund at collabora.com>

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

---

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

diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
index e063c9495ce..bfa055268a4 100644
--- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
+++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
@@ -236,8 +236,8 @@ get_glsl_type(struct ntv_context *ctx, const struct glsl_type *type)
 
    if (glsl_type_is_array(type)) {
       SpvId ret = spirv_builder_type_array(&ctx->builder,
-         get_glsl_type(ctx, glsl_get_array_element(type)),
-         emit_uint_const(ctx, 32, glsl_get_length(type)));
+                                           get_glsl_type(ctx, glsl_get_array_element(type)),
+                                           emit_uint_const(ctx, 32, glsl_get_length(type)));
       uint32_t stride = glsl_get_explicit_stride(type);
       if (!stride && glsl_type_is_scalar(glsl_get_array_element(type))) {
          stride = MAX2(glsl_get_bit_size(glsl_get_array_element(type)) / 8, 1);



More information about the mesa-commit mailing list