Initialize native NGG vertex launch state and wave size

This commit is contained in:
nmzik committed 2026-09-22 11:11:36 +04:00
1 parent f9e56ef8a0
commit 476204cd4b
5 files changed
+69

No files matched your search

@@ -337,6 +337,7 @@ struct PipelineCache::ProgramCache {
if constexpr (std::is_same_v<InputInfo, ShaderVertexInputInfo>) {
options.user_data_base = 8;
options.wave_size = input_info.wave_size;
if (stage == ShaderType::Mesh || stage == ShaderType::TessellationControl) {
options.user_data_base = 0;
options.wave_size = stage == ShaderType::Mesh ? input_info.mesh.wave_size : 64u;