Refactor Snapshots to Be Fully Configuration Based (#7153)

Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
This commit is contained in:
Connor Fitzgerald
2025-02-21 18:22:54 -05:00
committed by GitHub
parent d5241dd675
commit 473dd2fdd9
145 changed files with 6233 additions and 4521 deletions

View File

@@ -1,2 +1,3 @@
(
targets: "SPIRV",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -1,2 +0,0 @@
(
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | WGSL",
)

View File

@@ -35,4 +35,5 @@
fake_missing_bindings: false,
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | GLSL | HLSL | WGSL | IR | ANALYSIS",
)

View File

@@ -1,2 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -1,2 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -13,4 +13,5 @@
zero_initialize_workgroup_memory: true,
restrict_indexing: true
),
targets: "SPIRV | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | WGSL",
)

View File

@@ -12,4 +12,5 @@
fake_missing_bindings: true,
zero_initialize_workgroup_memory: false,
),
targets: "SPIRV | METAL | WGSL",
)

View File

@@ -21,4 +21,5 @@
fake_missing_bindings: true,
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | HLSL | WGSL",
)

View File

@@ -13,4 +13,5 @@
zero_initialize_workgroup_memory: true,
restrict_indexing: true
),
targets: "SPIRV | HLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -21,4 +21,5 @@
fake_missing_bindings: true,
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | HLSL | WGSL",
)

View File

@@ -27,4 +27,5 @@
binding_map: {},
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -43,5 +43,6 @@
index: ReadZeroSkipWrite,
buffer: ReadZeroSkipWrite,
image_load: ReadZeroSkipWrite,
)
),
targets: "WGSL | HLSL | METAL | SPIRV",
)

View File

@@ -10,5 +10,7 @@
index: ReadZeroSkipWrite,
buffer: ReadZeroSkipWrite,
image: ReadZeroSkipWrite,
)
),
//TODO: more backends, eventually merge into "binding-arrays"
targets: "WGSL | SPIRV",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -1,16 +0,0 @@
(
msl: (
lang_version: (1, 0),
per_entry_point_map: {
"main": (
resources: {
},
sizes_buffer: Some(0),
)
},
inline_samplers: [],
spirv_cross_compatibility: false,
fake_missing_bindings: false,
zero_initialize_workgroup_memory: true,
),
)

View File

@@ -13,4 +13,5 @@
fake_missing_bindings: false,
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -21,4 +21,5 @@
fake_missing_bindings: false,
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -14,4 +14,5 @@
},
restrict_indexing: true
),
)
targets: "HLSL",
)

View File

@@ -20,4 +20,5 @@
fake_missing_bindings: true,
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | GLSL",
)

View File

@@ -20,4 +20,5 @@
fake_missing_bindings: true,
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | GLSL",
)

View File

@@ -3,4 +3,5 @@
index: Restrict,
buffer: Restrict,
),
targets: "SPIRV | METAL",
)

View File

@@ -3,4 +3,5 @@
index: ReadZeroSkipWrite,
buffer: ReadZeroSkipWrite,
),
targets: "METAL",
)

View File

@@ -3,4 +3,5 @@
index: ReadZeroSkipWrite,
buffer: ReadZeroSkipWrite,
),
targets: "SPIRV | METAL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "WGSL | GLSL | SPIRV | HLSL | METAL",
)

View File

@@ -3,4 +3,5 @@
version: (1, 0),
debug: true,
),
targets: "SPIRV | METAL | IR | ANALYSIS | HLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "WGSL | IR",
)

View File

@@ -1,2 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -1,2 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "GLSL",
)

View File

@@ -4,4 +4,5 @@
debug: true,
adjust_coordinate_space: false,
),
)
targets: "SPIRV",
)

View File

@@ -4,4 +4,5 @@
debug: true,
adjust_coordinate_space: false,
),
)
targets: "SPIRV",
)

View File

@@ -4,4 +4,5 @@
debug: true,
adjust_coordinate_space: false,
),
)
targets: "SPIRV",
)

View File

@@ -1,2 +1,3 @@
(
targets: "IR",
)

View File

@@ -8,4 +8,5 @@
fake_missing_bindings: false,
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -1,2 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -15,4 +15,5 @@
fake_missing_bindings: false,
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | WGSL",
)

View File

@@ -9,4 +9,5 @@
binding_map: { },
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | GLSL | HLSL | WGSL",
)

View File

@@ -8,4 +8,5 @@
binding_map: {},
zero_initialize_workgroup_memory: true,
),
targets: "GLSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -8,4 +8,5 @@
binding_map: {},
zero_initialize_workgroup_memory: true,
),
targets: "GLSL",
)

View File

@@ -1,2 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -1,2 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
god_mode: true,
)

View File

@@ -0,0 +1,3 @@
(
god_mode: true,
)

View File

@@ -0,0 +1,3 @@
(
god_mode: true,
)

View File

@@ -0,0 +1,3 @@
(
targets: "GLSL",
)

View File

@@ -0,0 +1,3 @@
(
god_mode: true,
)

View File

@@ -0,0 +1,3 @@
(
targets: "HLSL",
)

View File

@@ -9,5 +9,6 @@
binding_map: {},
zero_initialize_workgroup_memory: true,
),
glsl_exclude_list: ["depth_load", "depth_no_comparison"]
glsl_exclude_list: ["depth_load", "depth_no_comparison"],
targets: "SPIRV | METAL | HLSL | WGSL | GLSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | IR",
)

View File

@@ -21,4 +21,5 @@
fake_missing_bindings: true,
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | HLSL | WGSL | METAL",
)

View File

@@ -1,4 +1,6 @@
(
//TODO: GLSL https://github.com/gfx-rs/naga/issues/874
targets: "SPIRV | METAL | HLSL | WGSL",
spv: (
version: (1, 0),
capabilities: [ Shader, SampleRateShading ],

View File

@@ -12,4 +12,5 @@
binding_map: {},
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | HLSL | WGSL",
)

View File

@@ -12,4 +12,5 @@
binding_map: {},
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -8,4 +8,5 @@
binding_map: {},
zero_initialize_workgroup_memory: true,
),
targets: "GLSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "WGSL",
)

View File

@@ -1 +1,3 @@
()
(
targets: "IR | WGSL",
)

View File

@@ -1,2 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "METAL",
)

View File

@@ -1,4 +1,5 @@
(
god_mode: true,
glsl_multiview: Some(2),
targets: "SPIRV | GLSL | WGSL",
)

View File

@@ -10,4 +10,5 @@
zero_initialize_workgroup_memory: true,
),
glsl_multiview: Some(2),
targets: "GLSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "IR",
)

View File

@@ -1,2 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -5,5 +5,6 @@
),
pipeline_constants: {
"o": 2.0
}
},
targets: "IR | SPIRV | METAL",
)

View File

@@ -14,5 +14,6 @@
),
pipeline_constants: {
"o": 2.0
}
},
targets: "IR | SPIRV | METAL",
)

View File

@@ -7,5 +7,6 @@
"0": NaN,
"1300": 1.1,
"depth": 2.3,
}
},
targets: "IR | ANALYSIS | SPIRV | METAL | HLSL | GLSL",
)

View File

@@ -20,4 +20,5 @@
fake_missing_bindings: false,
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -1,2 +0,0 @@
(
)

View File

@@ -7,4 +7,5 @@
debug: true,
adjust_coordinate_space: false,
),
targets: "SPIRV | WGSL",
)

View File

@@ -8,4 +8,5 @@
version: (1, 1),
debug: true,
),
targets: "SPIRV | METAL",
)

View File

@@ -18,4 +18,5 @@
zero_initialize_workgroup_memory: true,
restrict_indexing: true
),
targets: "GLSL | HLSL",
)

View File

@@ -13,4 +13,5 @@
binding_map: {},
zero_initialize_workgroup_memory: true,
),
targets: "SPIRV | METAL | GLSL | DOT | HLSL | WGSL",
)

View File

@@ -17,5 +17,6 @@
fake_missing_bindings: true,
special_constants_binding: None,
zero_initialize_workgroup_memory: true,
)
),
targets: "SPIRV | METAL | HLSL",
)

View File

@@ -49,5 +49,6 @@
index: ReadZeroSkipWrite,
buffer: ReadZeroSkipWrite,
image_load: ReadZeroSkipWrite,
)
),
targets: "METAL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "SPIRV",
)

View File

@@ -8,4 +8,5 @@
binding_map: {},
zero_initialize_workgroup_memory: true,
),
targets: "GLSL",
)

View File

@@ -3,4 +3,5 @@
version: (1, 0),
separate_entry_points: true,
),
targets: "SPIRV | GLSL",
)

View File

@@ -4,4 +4,5 @@
debug: true,
adjust_coordinate_space: true,
),
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -64,4 +64,5 @@
zero_initialize_workgroup_memory: true,
restrict_indexing: true
),
targets: "SPIRV | METAL | GLSL | HLSL | WGSL",
)

View File

@@ -2,4 +2,5 @@
spv: (
version: (1, 4),
),
targets: "SPIRV",
)

View File

@@ -0,0 +1,3 @@
(
targets: "WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "WGSL",
)

View File

@@ -0,0 +1,3 @@
(
targets: "WGSL",
)

Some files were not shown because too many files have changed in this diff Show More