wgpu/naga/tests/out/ir/const_assert.compact.ron
Samson 4e9a2a5003
[naga wgsl] Impl const_assert (#6198)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2024-09-02 17:37:04 +00:00

54 lines
1.0 KiB
Plaintext

(
types: [
(
name: None,
inner: Scalar((
kind: Sint,
width: 4,
)),
),
],
special_types: (
ray_desc: None,
ray_intersection: None,
predeclared_types: {},
),
constants: [
(
name: Some("x"),
ty: 0,
init: 0,
),
(
name: Some("y"),
ty: 0,
init: 1,
),
],
overrides: [],
global_variables: [],
global_expressions: [
Literal(I32(1)),
Literal(I32(2)),
],
functions: [
(
name: Some("foo"),
arguments: [],
result: None,
local_variables: [],
expressions: [
Literal(I32(1)),
],
named_expressions: {
0: "z",
},
body: [
Return(
value: None,
),
],
),
],
entry_points: [],
)