Fix build
https://dawn-review.googlesource.com/c/tint/+/31760 landed just after https://dawn-review.googlesource.com/c/tint/+/31722, which added a new parameter to all decorator constructors. Add the missing parameters to fix the build. Change-Id: Id8360dd23dd59096ffdff0cf523c3323ac01b431 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/31729 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
parent
88cd156fd9
commit
a47b277b26
|
@ -1236,8 +1236,8 @@ TEST_F(InspectorGetStorageBufferResourceBindingsTest, SkipReadOnly) {
|
||||||
mod()->AddFunction(std::move(sb_func));
|
mod()->AddFunction(std::move(sb_func));
|
||||||
|
|
||||||
auto ep_func = MakeCallerBodyFunction("ep_func", "sb_func");
|
auto ep_func = MakeCallerBodyFunction("ep_func", "sb_func");
|
||||||
ep_func->add_decoration(
|
ep_func->add_decoration(std::make_unique<ast::StageDecoration>(
|
||||||
std::make_unique<ast::StageDecoration>(ast::PipelineStage::kVertex));
|
ast::PipelineStage::kVertex, Source{}));
|
||||||
mod()->AddFunction(std::move(ep_func));
|
mod()->AddFunction(std::move(ep_func));
|
||||||
|
|
||||||
ASSERT_TRUE(td()->Determine()) << td()->error();
|
ASSERT_TRUE(td()->Determine()) << td()->error();
|
||||||
|
@ -1259,8 +1259,8 @@ TEST_F(InspectorGetReadOnlyStorageBufferResourceBindingsTest, Simple) {
|
||||||
mod()->AddFunction(std::move(sb_func));
|
mod()->AddFunction(std::move(sb_func));
|
||||||
|
|
||||||
auto ep_func = MakeCallerBodyFunction("ep_func", "sb_func");
|
auto ep_func = MakeCallerBodyFunction("ep_func", "sb_func");
|
||||||
ep_func->add_decoration(
|
ep_func->add_decoration(std::make_unique<ast::StageDecoration>(
|
||||||
std::make_unique<ast::StageDecoration>(ast::PipelineStage::kVertex));
|
ast::PipelineStage::kVertex, Source{}));
|
||||||
mod()->AddFunction(std::move(ep_func));
|
mod()->AddFunction(std::move(ep_func));
|
||||||
|
|
||||||
ASSERT_TRUE(td()->Determine()) << td()->error();
|
ASSERT_TRUE(td()->Determine()) << td()->error();
|
||||||
|
@ -1314,8 +1314,8 @@ TEST_F(InspectorGetReadOnlyStorageBufferResourceBindingsTest,
|
||||||
"ep_func", ast::VariableList(), void_type());
|
"ep_func", ast::VariableList(), void_type());
|
||||||
func->set_body(std::move(body));
|
func->set_body(std::move(body));
|
||||||
|
|
||||||
func->add_decoration(
|
func->add_decoration(std::make_unique<ast::StageDecoration>(
|
||||||
std::make_unique<ast::StageDecoration>(ast::PipelineStage::kVertex));
|
ast::PipelineStage::kVertex, Source{}));
|
||||||
mod()->AddFunction(std::move(func));
|
mod()->AddFunction(std::move(func));
|
||||||
|
|
||||||
ASSERT_TRUE(td()->Determine()) << td()->error();
|
ASSERT_TRUE(td()->Determine()) << td()->error();
|
||||||
|
@ -1351,8 +1351,8 @@ TEST_F(InspectorGetReadOnlyStorageBufferResourceBindingsTest, ContainingArray) {
|
||||||
mod()->AddFunction(std::move(sb_func));
|
mod()->AddFunction(std::move(sb_func));
|
||||||
|
|
||||||
auto ep_func = MakeCallerBodyFunction("ep_func", "sb_func");
|
auto ep_func = MakeCallerBodyFunction("ep_func", "sb_func");
|
||||||
ep_func->add_decoration(
|
ep_func->add_decoration(std::make_unique<ast::StageDecoration>(
|
||||||
std::make_unique<ast::StageDecoration>(ast::PipelineStage::kVertex));
|
ast::PipelineStage::kVertex, Source{}));
|
||||||
mod()->AddFunction(std::move(ep_func));
|
mod()->AddFunction(std::move(ep_func));
|
||||||
|
|
||||||
ASSERT_TRUE(td()->Determine()) << td()->error();
|
ASSERT_TRUE(td()->Determine()) << td()->error();
|
||||||
|
@ -1381,8 +1381,8 @@ TEST_F(InspectorGetReadOnlyStorageBufferResourceBindingsTest,
|
||||||
mod()->AddFunction(std::move(sb_func));
|
mod()->AddFunction(std::move(sb_func));
|
||||||
|
|
||||||
auto ep_func = MakeCallerBodyFunction("ep_func", "sb_func");
|
auto ep_func = MakeCallerBodyFunction("ep_func", "sb_func");
|
||||||
ep_func->add_decoration(
|
ep_func->add_decoration(std::make_unique<ast::StageDecoration>(
|
||||||
std::make_unique<ast::StageDecoration>(ast::PipelineStage::kVertex));
|
ast::PipelineStage::kVertex, Source{}));
|
||||||
mod()->AddFunction(std::move(ep_func));
|
mod()->AddFunction(std::move(ep_func));
|
||||||
|
|
||||||
ASSERT_TRUE(td()->Determine()) << td()->error();
|
ASSERT_TRUE(td()->Determine()) << td()->error();
|
||||||
|
@ -1409,8 +1409,8 @@ TEST_F(InspectorGetReadOnlyStorageBufferResourceBindingsTest, SkipNonReadOnly) {
|
||||||
mod()->AddFunction(std::move(sb_func));
|
mod()->AddFunction(std::move(sb_func));
|
||||||
|
|
||||||
auto ep_func = MakeCallerBodyFunction("ep_func", "sb_func");
|
auto ep_func = MakeCallerBodyFunction("ep_func", "sb_func");
|
||||||
ep_func->add_decoration(
|
ep_func->add_decoration(std::make_unique<ast::StageDecoration>(
|
||||||
std::make_unique<ast::StageDecoration>(ast::PipelineStage::kVertex));
|
ast::PipelineStage::kVertex, Source{}));
|
||||||
mod()->AddFunction(std::move(ep_func));
|
mod()->AddFunction(std::move(ep_func));
|
||||||
|
|
||||||
ASSERT_TRUE(td()->Determine()) << td()->error();
|
ASSERT_TRUE(td()->Determine()) << td()->error();
|
||||||
|
|
Loading…
Reference in New Issue