-
-
Notifications
You must be signed in to change notification settings - Fork 496
Description
Describe the bug
Assertion from GLI library is failing when try to load some textures from anomaly mod. Seems like particles/weapons are using DXT1 without alpha channel for optimal space usage (wpn_gauss.dds 682kb instead of original 1366kb).
Everything is OK with other renderers.
Original GLI is not updated for ages, unfortunately externals fork does not seem alive too so reporting it here.
To Reproduce
- Try using provided gauss textures
- Use mixed build + openGL renderer
- Start game
- Get breakpoint on assertion (link)
Expected behavior
- No failures with openGL renderer
- Clearly not all the data is copied later with std::memcpy
Screenshots, videos
24kb are lost somewhere
Since header/header10 parts are read and game works on assertion comment, It feels like something is missing in this calculation approximation, but I am not familiar with renderer logics:
this->GlobalMemorySize = Storage.layer_size(BaseFace, MaxFace, BaseLevel, MaxLevel) * Layers;
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
