Merge pull request #8873 from vonchenplus/fix_legacy_location_error

video_core: Fix legacy to generic location unpaired
This commit is contained in:
bunnei
2022-10-24 10:50:24 -07:00
committed by GitHub
5 changed files with 35 additions and 19 deletions

View File

@ -63,6 +63,7 @@ Shader::RuntimeInfo MakeRuntimeInfo(const GraphicsPipelineKey& key,
Shader::RuntimeInfo info;
if (previous_program) {
info.previous_stage_stores = previous_program->info.stores;
info.previous_stage_legacy_stores_mapping = previous_program->info.legacy_stores_mapping;
} else {
// Mark all stores as available for vertex shaders
info.previous_stage_stores.mask.set();