refactor(shader): simplify buffer access emission

This commit is contained in:
nmzik committed 2026-08-21 03:32:47 +02:00
1 parent 49145c1902
commit 3ea2099245
12 files changed
+474 -474

No files matched your search

@@ -115,7 +115,7 @@ DppTargetLane EmitDppTargetLane(EmitterState& state, uint32_t control) {
uint32_t EmitSubgroupLocalInvocationId(EmitterState& state) {
if (state.subgroup_local_invocation_id_variable == 0) {
return ConstantU32(state, 0);
EXIT("SubgroupLocalInvocationId was not declared before SPIR-V function emission\n");
}
const auto value = state.builder.AllocateId();
state.builder.AddFunction(