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
|
@ -31,7 +31,7 @@ bool IsValidStorageDimension(TextureDimension dim) {
|
|||
}
|
||||
|
||||
#endif // NDEBUG
|
||||
|
||||
|
||||
} // namespace
|
||||
|
||||
std::ostream& operator<<(std::ostream& out, StorageAccess access) {
|
||||
|
|
|
@ -48,7 +48,7 @@ Type* Type::UnwrapPtrIfNeeded() {
|
|||
Type* Type::UnwrapAliasesIfNeeded() {
|
||||
auto* where = this;
|
||||
while (where->IsAlias()) {
|
||||
where = where->AsAlias()->type();
|
||||
where = where->AsAlias()->type();
|
||||
}
|
||||
return where;
|
||||
}
|
||||
|
|
|
@ -752,8 +752,7 @@ RTArr -> __array__u32_stride_4
|
|||
S -> __struct_S)"));
|
||||
}
|
||||
|
||||
TEST_F(SpvParserTest,
|
||||
RemapStorageBuffer_ThroughAccessChain_NonCascaded) {
|
||||
TEST_F(SpvParserTest, RemapStorageBuffer_ThroughAccessChain_NonCascaded) {
|
||||
const auto assembly = OldStorageBufferPreamble() + R"(
|
||||
%100 = OpFunction %void None %voidfn
|
||||
%entry = OpLabel
|
||||
|
@ -825,8 +824,7 @@ TEST_F(SpvParserTest, RemapStorageBuffer_ThroughAccessChain_Cascaded) {
|
|||
<< p->error();
|
||||
}
|
||||
|
||||
TEST_F(SpvParserTest,
|
||||
RemapStorageBuffer_ThroughCopyObject_WithoutHoisting) {
|
||||
TEST_F(SpvParserTest, RemapStorageBuffer_ThroughCopyObject_WithoutHoisting) {
|
||||
// Generates a const declaration directly.
|
||||
// We have to do a bunch of storage class tracking for locally
|
||||
// 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));
|
||||
EXPECT_TRUE(fe.EmitBody()) << p->error();
|
||||
EXPECT_THAT(ToString(fe.ast_body()), Eq(R"(Return{}
|
||||
)"))
|
||||
<< ToString(fe.ast_body());
|
||||
)")) << ToString(fe.ast_body());
|
||||
}
|
||||
|
||||
// TODO(dneto): OpSizeof : requires Kernel (OpenCL)
|
||||
|
|
|
@ -730,7 +730,6 @@ bool GeneratorImpl::EmitCase(ast::CaseStatement* stmt) {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
out_ << ": ";
|
||||
|
||||
|
|
Loading…
Reference in New Issue