Skip to content

Commit d49376a

Browse files
committed
update test snapshots
1 parent 9fffc7e commit d49376a

14 files changed

+34
-106
lines changed

naga/tests/out/ir/access.compact.ron

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2497,7 +2497,11 @@
24972497
diagnostic_filters: [],
24982498
diagnostic_filter_leaf: None,
24992499
comments: Some((
2500-
types: {},
2500+
types: {
2501+
3: [
2502+
"// This snapshot tests accessing various containers, dereferencing pointers.",
2503+
],
2504+
},
25012505
struct_members: {},
25022506
entry_points: {},
25032507
functions: {},
@@ -2507,8 +2511,6 @@
25072511
"// tests msl padding insertion for global constants",
25082512
],
25092513
},
2510-
module: [
2511-
"// This snapshot tests accessing various containers, dereferencing pointers.",
2512-
],
2514+
module: [],
25132515
)),
25142516
)

naga/tests/out/ir/access.ron

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2497,7 +2497,11 @@
24972497
diagnostic_filters: [],
24982498
diagnostic_filter_leaf: None,
24992499
comments: Some((
2500-
types: {},
2500+
types: {
2501+
3: [
2502+
"// This snapshot tests accessing various containers, dereferencing pointers.",
2503+
],
2504+
},
25012505
struct_members: {},
25022506
entry_points: {},
25032507
functions: {},
@@ -2507,8 +2511,6 @@
25072511
"// tests msl padding insertion for global constants",
25082512
],
25092513
},
2510-
module: [
2511-
"// This snapshot tests accessing various containers, dereferencing pointers.",
2512-
],
2514+
module: [],
25132515
)),
25142516
)

naga/tests/out/ir/const_assert.compact.ron

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,12 @@
6363
"// parentheses are optional.",
6464
],
6565
},
66-
constants: {},
66+
constants: {
67+
0: [
68+
"// Sourced from https://www.w3.org/TR/WGSL/#const-assert-statement",
69+
],
70+
},
6771
global_variables: {},
68-
module: [
69-
"// Sourced from https://www.w3.org/TR/WGSL/#const-assert-statement",
70-
],
72+
module: [],
7173
)),
7274
)

naga/tests/out/ir/const_assert.ron

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,12 @@
6363
"// parentheses are optional.",
6464
],
6565
},
66-
constants: {},
66+
constants: {
67+
0: [
68+
"// Sourced from https://www.w3.org/TR/WGSL/#const-assert-statement",
69+
],
70+
},
6771
global_variables: {},
68-
module: [
69-
"// Sourced from https://www.w3.org/TR/WGSL/#const-assert-statement",
70-
],
72+
module: [],
7173
)),
7274
)

naga/tests/out/ir/diagnostic-filter.compact.ron

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,5 @@
5757
),
5858
],
5959
diagnostic_filter_leaf: Some(0),
60-
comments: Some((
61-
types: {},
62-
struct_members: {},
63-
entry_points: {},
64-
functions: {},
65-
constants: {},
66-
global_variables: {},
67-
module: [],
68-
)),
60+
comments: None,
6961
)

naga/tests/out/ir/diagnostic-filter.ron

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,5 @@
5757
),
5858
],
5959
diagnostic_filter_leaf: Some(0),
60-
comments: Some((
61-
types: {},
62-
struct_members: {},
63-
entry_points: {},
64-
functions: {},
65-
constants: {},
66-
global_variables: {},
67-
module: [],
68-
)),
60+
comments: None,
6961
)

naga/tests/out/ir/index-by-value.compact.ron

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -376,13 +376,5 @@
376376
],
377377
diagnostic_filters: [],
378378
diagnostic_filter_leaf: None,
379-
comments: Some((
380-
types: {},
381-
struct_members: {},
382-
entry_points: {},
383-
functions: {},
384-
constants: {},
385-
global_variables: {},
386-
module: [],
387-
)),
379+
comments: None,
388380
)

naga/tests/out/ir/index-by-value.ron

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -376,13 +376,5 @@
376376
],
377377
diagnostic_filters: [],
378378
diagnostic_filter_leaf: None,
379-
comments: Some((
380-
types: {},
381-
struct_members: {},
382-
entry_points: {},
383-
functions: {},
384-
constants: {},
385-
global_variables: {},
386-
module: [],
387-
)),
379+
comments: None,
388380
)

naga/tests/out/ir/overrides-atomicCompareExchangeWeak.compact.ron

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,5 @@
129129
],
130130
diagnostic_filters: [],
131131
diagnostic_filter_leaf: None,
132-
comments: Some((
133-
types: {},
134-
struct_members: {},
135-
entry_points: {},
136-
functions: {},
137-
constants: {},
138-
global_variables: {},
139-
module: [],
140-
)),
132+
comments: None,
141133
)

naga/tests/out/ir/overrides-atomicCompareExchangeWeak.ron

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,5 @@
129129
],
130130
diagnostic_filters: [],
131131
diagnostic_filter_leaf: None,
132-
comments: Some((
133-
types: {},
134-
struct_members: {},
135-
entry_points: {},
136-
functions: {},
137-
constants: {},
138-
global_variables: {},
139-
module: [],
140-
)),
132+
comments: None,
141133
)

naga/tests/out/ir/overrides-ray-query.compact.ron

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -260,13 +260,5 @@
260260
],
261261
diagnostic_filters: [],
262262
diagnostic_filter_leaf: None,
263-
comments: Some((
264-
types: {},
265-
struct_members: {},
266-
entry_points: {},
267-
functions: {},
268-
constants: {},
269-
global_variables: {},
270-
module: [],
271-
)),
263+
comments: None,
272264
)

naga/tests/out/ir/overrides-ray-query.ron

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -260,13 +260,5 @@
260260
],
261261
diagnostic_filters: [],
262262
diagnostic_filter_leaf: None,
263-
comments: Some((
264-
types: {},
265-
struct_members: {},
266-
entry_points: {},
267-
functions: {},
268-
constants: {},
269-
global_variables: {},
270-
module: [],
271-
)),
263+
comments: None,
272264
)

naga/tests/out/ir/overrides.compact.ron

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,5 @@
200200
],
201201
diagnostic_filters: [],
202202
diagnostic_filter_leaf: None,
203-
comments: Some((
204-
types: {},
205-
struct_members: {},
206-
entry_points: {},
207-
functions: {},
208-
constants: {},
209-
global_variables: {},
210-
module: [],
211-
)),
203+
comments: None,
212204
)

naga/tests/out/ir/overrides.ron

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,5 @@
200200
],
201201
diagnostic_filters: [],
202202
diagnostic_filter_leaf: None,
203-
comments: Some((
204-
types: {},
205-
struct_members: {},
206-
entry_points: {},
207-
functions: {},
208-
constants: {},
209-
global_variables: {},
210-
module: [],
211-
)),
203+
comments: None,
212204
)

0 commit comments

Comments
 (0)