Mesa (main): microsoft/clc: fixup indentation
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Apr 29 07:16:49 UTC 2022
Module: Mesa
Branch: main
Commit: f8fe225840b38875712fd1b6f7bf341b8da82d39
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8fe225840b38875712fd1b6f7bf341b8da82d39
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Thu Apr 21 13:07:08 2022 +0200
microsoft/clc: fixup indentation
Acked-by: Boris Brezillon <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16079>
---
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<int64_t>(std::vector<int64_t>(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<T>& operator =(const T &v)
{
this->clear();
- this->push_back(v);
+ this->push_back(v);
return *this;
}
@@ -254,13 +254,13 @@ protected:
ShaderArg<T>& operator =(const std::vector<T> &v)
{
- *this = v;
+ *this = v;
return *this;
}
ShaderArg<T>& operator =(std::initializer_list<T> v)
{
- *this = v;
+ *this = v;
return *this;
}
More information about the mesa-commit
mailing list