1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:07:45 +00:00

LibGL+LibGPU+LibSoftGPU: Report maximum texture size

This commit is contained in:
cflip 2022-10-16 16:31:15 -06:00 committed by Linus Groh
parent 04ae4b89a3
commit abc0c44f0b
6 changed files with 27 additions and 17 deletions

View file

@ -20,6 +20,7 @@ static constexpr bool ENABLE_STATISTICS_OVERLAY = false;
static constexpr int MILLISECONDS_PER_STATISTICS_PERIOD = 500;
static constexpr int NUM_LIGHTS = 8;
static constexpr int MAX_CLIP_PLANES = 6;
static constexpr int MAX_TEXTURE_SIZE = 2048;
static constexpr float MAX_TEXTURE_LOD_BIAS = 2.f;
static constexpr int SUBPIXEL_BITS = 4;