From f8fe225840b38875712fd1b6f7bf341b8da82d39 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 21 Apr 2022 13:07:08 +0200 Subject: [PATCH] microsoft/clc: fixup indentation Acked-by: Boris Brezillon Part-of: --- src/microsoft/clc/clc_compiler.h | 2 +- src/microsoft/clc/clc_compiler_test.cpp | 2 +- src/microsoft/clc/compute_test.h | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/microsoft/clc/clc_compiler.h b/src/microsoft/clc/clc_compiler.h index 9fcbfd4334e..31fd5a7e43a 100644 --- a/src/microsoft/clc/clc_compiler.h +++ b/src/microsoft/clc/clc_compiler.h @@ -57,7 +57,7 @@ struct clc_dxil_metadata { } globconstptr; struct { unsigned sharedmem_offset; - } localptr; + } localptr; }; } *args; unsigned kernel_inputs_cbv_id; diff --git a/src/microsoft/clc/clc_compiler_test.cpp b/src/microsoft/clc/clc_compiler_test.cpp index 8454541f81b..023b2dadbe4 100644 --- a/src/microsoft/clc/clc_compiler_test.cpp +++ b/src/microsoft/clc/clc_compiler_test.cpp @@ -104,7 +104,7 @@ TEST_F(ComputeTest, DISABLED_i64tof32) -0x4000003fffffffffLL, -0x4000004000000001LL, 0, - INT64_MIN }, + INT64_MIN }, SHADER_ARG_INPUT); auto out = ShaderArg(std::vector(12, 0xdeadbeed), SHADER_ARG_OUTPUT); const int64_t expected[] = { diff --git a/src/microsoft/clc/compute_test.h b/src/microsoft/clc/compute_test.h index 9ac741fc16f..60da3851761 100644 --- a/src/microsoft/clc/compute_test.h +++ b/src/microsoft/clc/compute_test.h @@ -82,7 +82,7 @@ protected: ranges.back().RegisterSpace == spaceid && ranges.back().BaseShaderRegister + ranges.back().NumDescriptors == resid) { ranges.back().NumDescriptors++; - return; + return; } D3D12_DESCRIPTOR_RANGE1 range; @@ -245,7 +245,7 @@ protected: ShaderArg& operator =(const T &v) { this->clear(); - this->push_back(v); + this->push_back(v); return *this; } @@ -254,13 +254,13 @@ protected: ShaderArg& operator =(const std::vector &v) { - *this = v; + *this = v; return *this; } ShaderArg& operator =(std::initializer_list v) { - *this = v; + *this = v; return *this; }