mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 07:06:11 +00:00
Run all of the backends in the test runner.
Essentially, this adds GLSL to the list of backends to run. Bug: tint:1358 Change-Id: I5075df32d935a3e08733daadbe5ac9dc1e13f03c Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/77220 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
committed by
Tint LUCI CQ
parent
2190481ad9
commit
d5560400a3
@@ -135,7 +135,8 @@ struct CombineSamplers::State {
|
||||
// Remove all texture and sampler global variables. These will be replaced
|
||||
// by combined samplers.
|
||||
for (auto* var : ctx.src->AST().GlobalVariables()) {
|
||||
if (sem.Get(var->type)->IsAnyOf<sem::Texture, sem::Sampler>()) {
|
||||
auto* type = sem.Get(var->type);
|
||||
if (type && type->IsAnyOf<sem::Texture, sem::Sampler>()) {
|
||||
ctx.Remove(ctx.src->AST().GlobalDeclarations(), var);
|
||||
} else if (auto binding_point = var->BindingPoint()) {
|
||||
if (binding_point.group->value == 0 &&
|
||||
|
||||
Reference in New Issue
Block a user