mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
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:
committed by
Tint LUCI CQ
parent
9756030d4e
commit
9e1f3e271c
4
.gitignore
vendored
4
.gitignore
vendored
@@ -6,7 +6,6 @@
|
||||
.vscode/*
|
||||
!.vscode/tasks.json
|
||||
.idea
|
||||
/build*/
|
||||
buildtools
|
||||
cmake-build-*/
|
||||
coverage.summary
|
||||
@@ -25,3 +24,6 @@ third_party/spirv-headers
|
||||
third_party/spirv-tools
|
||||
tools/clang
|
||||
tools/bin
|
||||
|
||||
/build*/
|
||||
/test.wgsl
|
||||
|
||||
15
test.wgsl
15
test.wgsl
@@ -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));
|
||||
}
|
||||
Reference in New Issue
Block a user