HomeWildfire Games

Switches decals to VBChunk to reduce the number of state changes.

Description

Switches decals to VBChunk to reduce the number of state changes.

Also allows to use compressed vertex formats in future.

Tested By: Stan

Differential Revision: https://code.wildfiregames.com/D3553

Event Timeline

wraitii raised a concern with this commit.Feb 17 2021, 9:23 PM
wraitii added a subscriber: wraitii.
wraitii added inline comments.
/ps/trunk/source/renderer/DecalRData.cpp
303

This assertion appears to crash every now and then.

This commit now has outstanding concerns.Feb 17 2021, 9:23 PM
/ps/trunk/source/renderer/DecalRData.cpp
303

It means that m_Decal->CalcVertexExtents returned empty rectangle. So the broken code isn't here, but inside m_Decal.

vladislavbelov requested verification of this commit.Feb 18 2021, 10:11 PM
This commit now requires verification by auditors.Feb 18 2021, 10:11 PM
This commit no longer requires audit.Feb 18 2021, 10:13 PM