1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 05:09:43 +00:00
openmw/components
AnyOldName3 8a1b4bde8a Ensure original (removed) state overrides replacement state when recreating shaders
When the shader visitor replaces state (e.g. changes the deprecated
alpha test to a shader-based one) it backs up the original state. If
shaders are recreated, we need to know what the canonical state was and
create shaders to implement that instead of creating shaders to
implement dummy replacement state.

This was actually usually working as the removed state got checked after
the active state, so overwrote anything derived from it. However, if the
active state had the override bit set, that would make it override the
removed state.

Skipping any active state that duplicates removed state fixes this case.

Resolves #6108
2021-06-27 00:12:07 +01:00
..
bsa Merge branch 'noreturn' into 'master' 2021-06-24 19:21:29 +00:00
bullethelpers Detect and ignore updates for oscillating objects 2021-04-18 23:00:13 +02:00
compiler Merge branch 'keyword_soup' into 'master' 2021-06-24 19:51:58 +00:00
config Implement instanced groundcover 2021-01-26 22:29:41 +04:00
contentselector Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
crashcatcher Fix MSVC's C4267 warnings 2021-05-12 10:34:39 +04:00
debug Fixing performance-faster-string-find issues 2021-05-10 22:44:07 -05:00
detournavigator Add a ton of const refs 2021-06-23 23:13:59 +02:00
esm Use make_unique instead of unique_ptr+new 2021-06-25 20:55:38 +02:00
esmterrain Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
fallback Fixing performance-faster-string-find issues 2021-05-10 22:44:07 -05:00
files Reduce a bit the code bloat in hot paths/small functions 2021-06-15 17:57:14 +02:00
fontloader Sprinkle some [[noreturn]] where possible 2021-06-22 12:51:08 +02:00
interpreter Sprinkle some [[noreturn]] where possible 2021-06-22 12:51:08 +02:00
loadinglistener Always center loading screen progress bar by height when there is active message box 2021-05-26 23:29:37 +02:00
misc Merge branch 'const_refs' into 'master' 2021-06-24 18:57:41 +00:00
myguiplatform Fix MSVC's C4244 warnings 2021-05-12 10:34:40 +04:00
nif Sprinkle some [[noreturn]] where possible 2021-06-22 12:51:08 +02:00
nifbullet Sprinkle some [[noreturn]] where possible 2021-06-22 12:51:08 +02:00
nifosg use particle data for particle system quota 2021-05-14 10:52:19 -07:00
process Remove redundant includes 2019-02-23 08:02:12 +04:00
resource Merge branch 'refenreces' into 'master' 2021-06-24 17:40:36 +00:00
sceneutil Merge branch 'const_refs' into 'master' 2021-06-24 18:57:41 +00:00
sdlutil Discard button press events during save loading (bug #5619) 2021-05-16 16:04:28 +04:00
settings Sprinkle some [[noreturn]] where possible 2021-06-22 12:51:08 +02:00
shader Ensure original (removed) state overrides replacement state when recreating shaders 2021-06-27 00:12:07 +01:00
terrain Recreate a special case for IntersectionVisitor on QuadTreeWorld 2021-05-11 16:34:02 +04:00
to_utf8 Replace a handrolled memcpy with an actual call to memcpy 2021-06-22 12:52:29 +02:00
translation Replace all NULLs to nullptr 2018-10-09 10:21:12 +04:00
version Allow getting available version information even when clone is shallow 2017-03-07 21:53:49 +01:00
vfs Minor optimisation in VFS::FileSystemArchive::listResources 2021-06-23 12:46:44 +02:00
widgets Fix MSVC's C4267 warnings 2021-05-12 10:34:39 +04:00
CMakeLists.txt Integrate Base64 library with build 2021-05-17 23:00:23 +01:00
doc.hpp second set of additional doxygen comments 2010-09-25 20:15:05 +02:00