Mesa (master): turnip: Fix some whitespace around binary operators.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jan 21 19:46:05 UTC 2020


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

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Dec 19 16:47:08 2019 -0800

turnip: Fix some whitespace around binary operators.

Conforms to mesa style and the rest of turnip.

Reviewed-by: Jonathan Marek <jonathan at marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3433>

---

 src/freedreno/vulkan/tu_descriptor_set.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/freedreno/vulkan/tu_descriptor_set.c b/src/freedreno/vulkan/tu_descriptor_set.c
index 556373689ed..c2edc549438 100644
--- a/src/freedreno/vulkan/tu_descriptor_set.c
+++ b/src/freedreno/vulkan/tu_descriptor_set.c
@@ -92,10 +92,10 @@ descriptor_size(enum VkDescriptorType type)
    case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
    case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE:
    case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
-      return A6XX_TEX_CONST_DWORDS*4;
+      return A6XX_TEX_CONST_DWORDS * 4;
    case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
       /* texture const + tu_sampler struct (includes border color) */
-      return A6XX_TEX_CONST_DWORDS*4 + sizeof(struct tu_sampler);
+      return A6XX_TEX_CONST_DWORDS * 4 + sizeof(struct tu_sampler);
    case VK_DESCRIPTOR_TYPE_SAMPLER:
       return sizeof(struct tu_sampler);
    default:
@@ -845,7 +845,7 @@ tu_update_descriptor_sets(struct tu_device *device,
             break;
          case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
             write_combined_image_sampler_descriptor(device, cmd_buffer,
-                                                    A6XX_TEX_CONST_DWORDS*4,
+                                                    A6XX_TEX_CONST_DWORDS * 4,
                                                     ptr, buffer_list,
                                                     writeset->descriptorType,
                                                     writeset->pImageInfo + j,



More information about the mesa-commit mailing list