summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-08-01 10:55:48 -0700
committerGitHub <noreply@github.com>2024-08-01 10:55:48 -0700
commit32b843215b2e80c23c1fbcf02150c52a6304a447 (patch)
tree5892ef28f2e603781af4c6dde5b2a1dc1112c125 /tests/bugs
parent4c6b0a2831a7edd1419bd0b2e6edd089080e07be (diff)
Allow implicit 'uniform' entrypoint parameters. (#4765)
* Allow impliocit 'uniform' entrypoint parameters. * Fix. * Fix. * Fix. * Fix.
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/invalid-entrypoint-param.slang17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/bugs/invalid-entrypoint-param.slang b/tests/bugs/invalid-entrypoint-param.slang
deleted file mode 100644
index bafb0fb88..000000000
--- a/tests/bugs/invalid-entrypoint-param.slang
+++ /dev/null
@@ -1,17 +0,0 @@
-//TEST:SIMPLE(filecheck=CHECK): -target spirv
-
-// `TT` is not valid for defining a varying entrypoint parameter,
-// and we should diagnose an error.
-
-// CHECK: error 39028
-
-struct TT
-{
- Texture2D tex;
-}
-
-[numthreads(1, 1, 1)]
-void f(TT t)
-{
- return;
-} \ No newline at end of file