Ran 'git cl format' over an empty CL
Change-Id: Ied8585a4d266900925a81836db45f7525cd5f628 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/27181 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
parent
3765a24060
commit
a291fc1e7f
|
@ -48,7 +48,7 @@ Type* Type::UnwrapPtrIfNeeded() {
|
||||||
Type* Type::UnwrapAliasesIfNeeded() {
|
Type* Type::UnwrapAliasesIfNeeded() {
|
||||||
auto* where = this;
|
auto* where = this;
|
||||||
while (where->IsAlias()) {
|
while (where->IsAlias()) {
|
||||||
where = where->AsAlias()->type();
|
where = where->AsAlias()->type();
|
||||||
}
|
}
|
||||||
return where;
|
return where;
|
||||||
}
|
}
|
||||||
|
|
|
@ -752,8 +752,7 @@ RTArr -> __array__u32_stride_4
|
||||||
S -> __struct_S)"));
|
S -> __struct_S)"));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(SpvParserTest,
|
TEST_F(SpvParserTest, RemapStorageBuffer_ThroughAccessChain_NonCascaded) {
|
||||||
RemapStorageBuffer_ThroughAccessChain_NonCascaded) {
|
|
||||||
const auto assembly = OldStorageBufferPreamble() + R"(
|
const auto assembly = OldStorageBufferPreamble() + R"(
|
||||||
%100 = OpFunction %void None %voidfn
|
%100 = OpFunction %void None %voidfn
|
||||||
%entry = OpLabel
|
%entry = OpLabel
|
||||||
|
@ -825,8 +824,7 @@ TEST_F(SpvParserTest, RemapStorageBuffer_ThroughAccessChain_Cascaded) {
|
||||||
<< p->error();
|
<< p->error();
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(SpvParserTest,
|
TEST_F(SpvParserTest, RemapStorageBuffer_ThroughCopyObject_WithoutHoisting) {
|
||||||
RemapStorageBuffer_ThroughCopyObject_WithoutHoisting) {
|
|
||||||
// Generates a const declaration directly.
|
// Generates a const declaration directly.
|
||||||
// We have to do a bunch of storage class tracking for locally
|
// We have to do a bunch of storage class tracking for locally
|
||||||
// defined values in order to get the right pointer-to-storage-buffer
|
// defined values in order to get the right pointer-to-storage-buffer
|
||||||
|
|
|
@ -292,8 +292,7 @@ TEST_F(SpvParserTestMiscInstruction, OpNop) {
|
||||||
FunctionEmitter fe(p, *spirv_function(100));
|
FunctionEmitter fe(p, *spirv_function(100));
|
||||||
EXPECT_TRUE(fe.EmitBody()) << p->error();
|
EXPECT_TRUE(fe.EmitBody()) << p->error();
|
||||||
EXPECT_THAT(ToString(fe.ast_body()), Eq(R"(Return{}
|
EXPECT_THAT(ToString(fe.ast_body()), Eq(R"(Return{}
|
||||||
)"))
|
)")) << ToString(fe.ast_body());
|
||||||
<< ToString(fe.ast_body());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(dneto): OpSizeof : requires Kernel (OpenCL)
|
// TODO(dneto): OpSizeof : requires Kernel (OpenCL)
|
||||||
|
|
|
@ -730,7 +730,6 @@ bool GeneratorImpl::EmitCase(ast::CaseStatement* stmt) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
out_ << ": ";
|
out_ << ": ";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue