refactor(shader): reduce dispatcher state overhead

This commit is contained in:
nmzik committed 2026-08-21 03:32:47 +02:00
1 parent 6e9f162bd4
commit 87166eed94
9 files changed
+557 -124

No files matched your search

@@ -758,7 +758,6 @@ bool TranslateProgram(const IR::Program& source, IR::ValueProgram& result,
const ShaderPixelInputInfo* pixel_input_info,
const ShaderComputeInputInfo* compute_input_info, std::string* error) {
result = {};
result.dispatcher_fallback = source.dispatcher_fallback;
const uint32_t wave_size = source.wave_size;
const bool per_invocation_masks = source.lane_mask_mode == ShaderLaneMaskMode::PerInvocation;
uint32_t vector_limit = 1u;