microsoft/clc: fixup indentation

Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16079>
This commit is contained in:
Erik Faye-Lund 2022-04-21 13:07:08 +02:00 committed by Marge Bot
parent 4ce0bbffc1
commit f8fe225840
3 changed files with 6 additions and 6 deletions

View File

@ -57,7 +57,7 @@ struct clc_dxil_metadata {
} globconstptr;
struct {
unsigned sharedmem_offset;
} localptr;
} localptr;
};
} *args;
unsigned kernel_inputs_cbv_id;

View File

@ -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[] = {

View File

@ -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;
}