From 35bd36c1b0d62d31ea6db3e196689b24704d2c20 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Sat, 27 Jan 2024 11:20:16 -0600 Subject: [PATCH] nvk: Whitespace fixes Part-of: --- src/nouveau/vulkan/nvk_cmd_draw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nouveau/vulkan/nvk_cmd_draw.c b/src/nouveau/vulkan/nvk_cmd_draw.c index 26108a17838..c61b410bbe3 100644 --- a/src/nouveau/vulkan/nvk_cmd_draw.c +++ b/src/nouveau/vulkan/nvk_cmd_draw.c @@ -659,7 +659,7 @@ nvk_CmdBeginRendering(VkCommandBuffer commandBuffer, P_MTHD(p, NV9097, SET_COLOR_TARGET_A(i)); P_NV9097_SET_COLOR_TARGET_A(p, i, addr >> 32); P_NV9097_SET_COLOR_TARGET_B(p, i, addr); - + if (level->tiling.is_tiled) { P_NV9097_SET_COLOR_TARGET_WIDTH(p, i, level_extent_sa.w); P_NV9097_SET_COLOR_TARGET_HEIGHT(p, i, level_extent_sa.h); @@ -677,7 +677,7 @@ nvk_CmdBeginRendering(VkCommandBuffer commandBuffer, (image->planes[ip].nil.dim == NIL_IMAGE_DIM_3D) ? THIRD_DIMENSION_CONTROL_THIRD_DIMENSION_DEFINES_DEPTH_SIZE : THIRD_DIMENSION_CONTROL_THIRD_DIMENSION_DEFINES_ARRAY_SIZE, - }); + }); P_NV9097_SET_COLOR_TARGET_THIRD_DIMENSION(p, i, iview->vk.base_array_layer + layer_count); @@ -700,7 +700,7 @@ nvk_CmdBeginRendering(VkCommandBuffer commandBuffer, */ P_NV9097_SET_COLOR_TARGET_WIDTH(p, i, pitch); P_NV9097_SET_COLOR_TARGET_HEIGHT(p, i, level_extent_sa.h); - + const uint8_t ct_format = nil_format_to_color_target(p_format); P_NV9097_SET_COLOR_TARGET_FORMAT(p, i, ct_format);