userFelixcancel
reporust_rebootcancel

318 Commits over 273 Days - 0.05cph!

4 Months Ago
Merge from main
4 Months Ago
Undo accidental changes
4 Months Ago
Move #pragma instructions from .cginc back to shader file to avoid confusing Unity.
4 Months Ago
Hopefully fix shader compilation on Metal due to missing support for geometry shaders. I can't test it, because literally every other platform supports geometry shaders.
4 Months Ago
4 Months Ago
Merge from vram_budget: Enable building atlasses for streaming
4 Months Ago
Started work on graphical texture optimisation tools (very much WIP). This will come in handy for future tuning of the texture streaming system. Especially once we get back to instancing. Hoo boy.
4 Months Ago
Enable building atlasses for mip level streaming. This might be a pandora's box, but it brings non-streaming texture memory to less than 1 GB, leaving plenty of room for streaming textures.
4 Months Ago
Merge from vram_budget: Improve texture selection
4 Months Ago
Change 4883 texture metadata for streaming
4 Months Ago
TextureOptimizationTools: Add function that changes only textures that should be streamable but aren't
4 Months Ago
Various fixes to the texture optimisation tools
4 Months Ago
Merge from vram_budget: Experimental new texture streaming
4 Months Ago
Apply "Make All Streamable" to 8294 textures
4 Months Ago
Add option "Make All Streamable" to texture optimisation tools based on Diogo's filter functions
4 Months Ago
Force texture mipmap streaming to be always on (experiment) and set the memory budget equal to available graphics memory.
4 Months Ago
Merge from /main:
4 Months Ago
Rebase on /main
4 Months Ago
Merge from fix_texture_streaming_2: Super cautious texture streaming enablement!
4 Months Ago
Cherry pick live fixes
4 Months Ago
Be very cautious about enabling texture streaming. Only enable it if Texture.streamingTextureLoadingCount = 0 and Texture.allowThreadedTextureCreation = false. If not, set Texture.allowThreadedTextureCreation = false and try again in 1 second. One second is enough to upload a few textures, right?
4 Months Ago
Merge from fix_texture_streaming_2
4 Months Ago
Remove checking of Texture.streamingTextureLoadingCount during TextureStreaming.Update()
4 Months Ago
Disallow threaded texture creation whenever a loading screen is displayed. This should slightly improve loading times and further mitigate texture streaming race conditions.
4 Months Ago
Merge from fix_texture_streaming_2: Replace assertion with just a warning
4 Months Ago
Replace assertion with just a warning
4 Months Ago
Merge from fix_texture_streaming_2: Assertions
4 Months Ago
Cleanup access to texture streaming related variables to prevent accidentally waking up the streaming system when we don't want to. Also added some experimental assertions to make sure no textures are currently loading when texture streaming is enabled.
4 Months Ago
Merge from fix_texture_streaming_2: Expose more ConVars
4 Months Ago
Make texture streaming tunables accessible via ConVars and improve output of texture.stats
4 Months Ago
Merge from fast_debug_draw: Disable instancing for text by default, due to missing support for rich text formatting tags
4 Months Ago
Regenerate console commands
4 Months Ago
Disable ddraw instancing system for text by default because the new system doesn't support rich text formatting tags just yet
4 Months Ago
Merge from main
4 Months Ago
Merge from main
4 Months Ago
Merge from fix_texture_streaming_2
4 Months Ago
Disable mip map streaming early to prevent Unity from loading textures at a lower resolution
4 Months Ago
Merge from /main
4 Months Ago
Merge from fast_debug_draw (remove permanently displayed debug sphere, whoops!)
4 Months Ago
Remove debug code
4 Months Ago
Merge from /main/fast_debug_draw
4 Months Ago
Merge from /main
4 Months Ago
Merge from fast_debug_draw
4 Months Ago
Merge from /main
4 Months Ago
Merge from /main
4 Months Ago
Merge from /main
4 Months Ago
Change distance fade to fade to black instead of transparent, which was the original DDraw behavior.
4 Months Ago
Added missing changes to material variant that Unity didn't save for some damned reason.
4 Months Ago
Various cleanups and fixes: - Add InstancedDebugDraw properly to the Main Camera Prefab instead of adding it from code. - Remove FastDebugLine from always included shaders, utilising shader variant stripping. - Add material(s) to ensure line shader is included in builds. - Work around Unity quirk: Can't set shader commands from material property blocks. - Add a define to avoid matrix packing for easily confused GPU drivers. - Clean up shader properties and exposed the actual distance for distance fade. - Expose _Color, _LineWidth, _DistanceFade and _TransformType for potential use without instancing.
4 Months Ago
Apply D3D11 hack to fix IndirectDrawIndexedArgs.startInstance to Metal and OpenGL as well. Actually, the hack is now enabled for all renderers except Vulkan.