From 6cf15f4ea1fe044d8227440dcc30ac712334568e Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 27 Feb 2025 10:32:14 -0800 Subject: Allow `.member` syntax on vector and scalars. (#6424) * Allow `.member` syntax on vector and scalars. * Fix. * fix. * Fix. * update comment. * Fix tests. * Fix warning. * Add more tests. --- tests/bugs/invalid-swizzle-count.slang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/bugs') diff --git a/tests/bugs/invalid-swizzle-count.slang b/tests/bugs/invalid-swizzle-count.slang index 811cf6f44..93cb1fdcc 100644 --- a/tests/bugs/invalid-swizzle-count.slang +++ b/tests/bugs/invalid-swizzle-count.slang @@ -1,6 +1,6 @@ //TEST:SIMPLE(filecheck=CHECK): -target spirv -stage compute -entry computeMain -emit-spirv-directly -// CHECK: error 30052 -// CHECK-NOT: error 30052 +// CHECK: error 30027 +// CHECK-NOT: error 30027 RWStructuredBuffer outputBuffer; [numthreads(1,1,1)] -- cgit v1.2.3