Use the correct pixel shader wave size

This commit is contained in:
nmzik committed 2026-09-14 20:29:20 +04:00
1 parent 586cbd4a0d
commit 968cf3c03f
4 files changed
+104 -5

No files matched your search

@@ -351,7 +351,7 @@ struct PipelineCache::ProgramCache {
options.user_data_base = 0;
options.wave_size = stage == ShaderType::Mesh ? input_info.mesh.wave_size : 64u;
}
} else if constexpr (std::is_same_v<InputInfo, ShaderComputeInputInfo>) {
} else {
options.wave_size = input_info.wave_size;
}
auto translated = ShaderRecompiler::TranslateProgram(params.code, options);