From 09a5488e6ae83fecc5fc168f8cff9975afd54733 Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Mon, 2 Dec 2024 09:48:39 +0200 Subject: [PATCH] Enable language-feature/constants/static-const-in-generic-interface.slang for WebGPU --- tests/expected-failure-github.txt | 1 - .../constants/static-const-in-generic-interface.slang | 2 -- 2 files changed, 3 deletions(-) diff --git a/tests/expected-failure-github.txt b/tests/expected-failure-github.txt index 81a61133bc..b9b1e4b393 100644 --- a/tests/expected-failure-github.txt +++ b/tests/expected-failure-github.txt @@ -12,5 +12,4 @@ tests/autodiff/custom-intrinsic.slang.2 syn (wgpu) tests/bugs/buffer-swizzle-store.slang.3 syn (wgpu) tests/compute/interface-shader-param-in-struct.slang.4 syn (wgpu) tests/compute/interface-shader-param.slang.5 syn (wgpu) -tests/language-feature/constants/static-const-in-generic-interface.slang.1 syn (wgpu) tests/language-feature/shader-params/interface-shader-param-ordinary.slang.4 syn (wgpu) diff --git a/tests/language-feature/constants/static-const-in-generic-interface.slang b/tests/language-feature/constants/static-const-in-generic-interface.slang index e980a812a4..87d8e3be84 100644 --- a/tests/language-feature/constants/static-const-in-generic-interface.slang +++ b/tests/language-feature/constants/static-const-in-generic-interface.slang @@ -1,8 +1,6 @@ // static-const-in-generic-interface.slang //TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK): -shaderobj -// WGSL: Functions cannot be called at module scope #5607 -//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu // Test that `static const` variable declarations inside of // a generic `interface` type correctly translate to interface requirements.