video_core: Fix legacy to generic location unpaired

This commit is contained in:
FengChen 2022-09-10 17:09:45 +08:00
parent 16080b6e4e
commit d4cb0eac87
5 changed files with 31 additions and 15 deletions

View file

@ -131,6 +131,7 @@ Shader::RuntimeInfo MakeRuntimeInfo(std::span<const Shader::IR::Program> program
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;
if (previous_program->is_geometry_passthrough) {
info.previous_stage_stores.mask |= previous_program->info.passthrough.mask;
}