mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 15:46:28 +00:00
GLSL: remove spurious semicolons.
textureQueryLevels() and textureSamples() were being emitted with a spurious semicolon. Bug: tint:1222 Change-Id: I56c561fcaac510b76a27a850f5be522ab7f98307 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82361 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
committed by
Tint LUCI CQ
parent
66abf3ed14
commit
e4e409f2ae
@@ -1343,7 +1343,7 @@ bool GeneratorImpl::EmitTextureCall(std::ostream& out,
|
||||
if (!EmitExpression(out, texture)) {
|
||||
return false;
|
||||
}
|
||||
out << ");";
|
||||
out << ")";
|
||||
return true;
|
||||
}
|
||||
case sem::BuiltinType::kTextureNumSamples: {
|
||||
@@ -1351,7 +1351,7 @@ bool GeneratorImpl::EmitTextureCall(std::ostream& out,
|
||||
if (!EmitExpression(out, texture)) {
|
||||
return false;
|
||||
}
|
||||
out << ");";
|
||||
out << ")";
|
||||
return true;
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user