mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 17:05:31 +00:00
ast: Rename UnaryOp::kDereference to kIndirection
This is what it is (currently) called in the spec Bug: tint:727 Change-Id: Ie24f42499ed20c0c45ef4e9474bc6bb6a19bfa36 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51181 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
ac90829e1c
commit
85bdf1753e
@@ -129,7 +129,7 @@ void Hlsl::AddEmptyEntryPoint(CloneContext& ctx) const {
|
||||
return;
|
||||
}
|
||||
}
|
||||
ctx.dst->Func(ctx.dst->Symbols().New("tint_unused_entry_point"), {},
|
||||
ctx.dst->Func(ctx.dst->Symbols().New("unused_entry_point"), {},
|
||||
ctx.dst->ty.void_(), {},
|
||||
{ctx.dst->Stage(ast::PipelineStage::kCompute)});
|
||||
}
|
||||
|
||||
@@ -282,7 +282,7 @@ TEST_F(HlslTest, AddEmptyEntryPoint) {
|
||||
|
||||
auto* expect = R"(
|
||||
[[stage(compute)]]
|
||||
fn tint_unused_entry_point() {
|
||||
fn unused_entry_point() {
|
||||
}
|
||||
)";
|
||||
|
||||
|
||||
@@ -285,7 +285,7 @@ void Spirv::AddEmptyEntryPoint(CloneContext& ctx) const {
|
||||
return;
|
||||
}
|
||||
}
|
||||
ctx.dst->Func("_tint_unused_entry_point", {}, ctx.dst->ty.void_(), {},
|
||||
ctx.dst->Func(ctx.dst->Sym("unused_entry_point"), {}, ctx.dst->ty.void_(), {},
|
||||
{ctx.dst->Stage(ast::PipelineStage::kCompute)});
|
||||
}
|
||||
|
||||
|
||||
@@ -693,7 +693,7 @@ TEST_F(SpirvTest, AddEmptyEntryPoint) {
|
||||
|
||||
auto* expect = R"(
|
||||
[[stage(compute)]]
|
||||
fn _tint_unused_entry_point() {
|
||||
fn unused_entry_point() {
|
||||
}
|
||||
)";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user