Remove test.wgsl, add to .gitignore

Accidental commit of my test file for checking tint behavior.
Add to the .gitignore file so I don't accidentally check this in again.

Change-Id: Ie67f04cc307fa180d3a65d867a1777d008be8e17
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70981
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
This commit is contained in:
Ben Clayton 2021-11-25 13:52:57 +00:00 committed by Tint LUCI CQ
parent 9756030d4e
commit 9e1f3e271c
2 changed files with 3 additions and 16 deletions

4
.gitignore vendored
View File

@ -6,7 +6,6 @@
.vscode/* .vscode/*
!.vscode/tasks.json !.vscode/tasks.json
.idea .idea
/build*/
buildtools buildtools
cmake-build-*/ cmake-build-*/
coverage.summary coverage.summary
@ -25,3 +24,6 @@ third_party/spirv-headers
third_party/spirv-tools third_party/spirv-tools
tools/clang tools/clang
tools/bin tools/bin
/build*/
/test.wgsl

View File

@ -1,15 +0,0 @@
[[block]]
struct SB {
x : i32;
arr : array<i32>;
};
[[group(0), binding(0)]] var<storage, read> sb : SB;
[[stage(compute), workgroup_size(1)]]
fn main() {
var a : u32 = arrayLength(&sb.arr);
let p = &sb;
let sb2 = p;
var b : u32 = arrayLength(&((*sb2).arr));
}