mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 13:08:37 +00:00
vk_pipeline_check: read subgroup_size null (--wave64-emulate: any size) as no required size
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -230,7 +230,12 @@ struct JsonParser {
|
||||
if (error) return m;
|
||||
if (!consume(':')) { fail("expected ':' in shader metadata"); return m; }
|
||||
if (k == "stage") m.stage = parse_string();
|
||||
else if (k == "subgroup_size") m.subgroup_size = parse_u32();
|
||||
else if (k == "subgroup_size") {
|
||||
// null: translated with --wave64-emulate, exact on any subgroup size, so request none (0)
|
||||
ws();
|
||||
if (s.compare(i, 4, "null") == 0) { i += 4; m.subgroup_size = 0; }
|
||||
else m.subgroup_size = parse_u32();
|
||||
}
|
||||
else if (k == "writes_depth") m.writes_depth = parse_bool();
|
||||
else if (k == "needs_maintenance8") m.needs_maintenance8 = parse_bool();
|
||||
else if (k == "features") m.features = parse_str_array();
|
||||
|
||||
Reference in New Issue
Block a user