1
0
Fork 0
forked from eden-emu/eden

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
commit cbb6c24215
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23
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();