wgpu/naga/tests/out/ir/wgsl-local-const.compact.ron
Inner Daemons bf9f7524ec
Add mesh shading info to naga IR (#8104)
Co-authored-by: Jim Blandy <jimb@red-bean.com>
Co-authored-by: SupaMaggie70Incorporated <85136135+SupaMaggie70Incorporated@users.noreply.github.com>
2025-10-29 14:49:51 -04:00

110 lines
2.5 KiB
Plaintext

(
types: [
(
name: None,
inner: Scalar((
kind: Sint,
width: 4,
)),
),
(
name: None,
inner: Scalar((
kind: Uint,
width: 4,
)),
),
(
name: None,
inner: Scalar((
kind: Float,
width: 4,
)),
),
],
special_types: (
ray_desc: None,
ray_intersection: None,
ray_vertex_return: None,
external_texture_params: None,
external_texture_transfer_function: None,
predeclared_types: {},
),
constants: [
(
name: Some("gb"),
ty: 0,
init: 0,
),
(
name: Some("gc"),
ty: 1,
init: 1,
),
(
name: Some("gd"),
ty: 2,
init: 2,
),
],
overrides: [],
global_variables: [],
global_expressions: [
Literal(I32(4)),
Literal(U32(4)),
Literal(F32(4.0)),
],
functions: [
(
name: Some("const_in_fn"),
arguments: [],
result: None,
local_variables: [],
expressions: [],
named_expressions: {},
body: [
Emit((
start: 0,
end: 0,
)),
Return(
value: None,
),
],
diagnostic_filter_leaf: None,
),
],
entry_points: [
(
name: "main",
stage: Compute,
early_depth_test: None,
workgroup_size: (1, 1, 1),
workgroup_size_overrides: None,
function: (
name: Some("main"),
arguments: [],
result: None,
local_variables: [],
expressions: [],
named_expressions: {},
body: [
Call(
function: 0,
arguments: [],
result: None,
),
Return(
value: None,
),
],
diagnostic_filter_leaf: None,
),
mesh_info: None,
task_payload: None,
),
],
diagnostic_filters: [],
diagnostic_filter_leaf: None,
doc_comments: None,
)