Fix zminmax not being linear depth

This commit is contained in:
Magnus Norddahl 2024-09-16 01:45:44 +02:00
commit 83009db3ec
9 changed files with 54 additions and 15 deletions

View file

@ -53,6 +53,14 @@ struct PushConstants
int uFogballIndex; // fog balls
};
struct ZMinMaxPushConstants
{
float LinearizeDepthA;
float LinearizeDepthB;
float InverseDepthRangeA;
float InverseDepthRangeB;
};
struct LightTilesPushConstants
{
int additiveCount;