mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Co-authored-by: Jim Blandy <jimb@red-bean.com> Co-authored-by: SupaMaggie70Incorporated <85136135+SupaMaggie70Incorporated@users.noreply.github.com>
110 lines
2.5 KiB
Plaintext
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,
|
|
) |