mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
LibSoftGPU: Reduce number of samplers to 2
OpenGL mandates at least 2 texture units when multitexturing is supported. This keeps our vertices lean and gives a nice speed improvement in glquake. Until we support shaders this should be enough.
This commit is contained in:
parent
12f63df329
commit
a5040ecdfc
Notes:
sideshowbarker
2024-07-17 20:38:49 +09:00
Author: https://github.com/sunverwerth Commit: https://github.com/SerenityOS/serenity/commit/a5040ecdfc1 Pull-request: https://github.com/SerenityOS/serenity/pull/11927 Reviewed-by: https://github.com/IdanHo Reviewed-by: https://github.com/Quaker762 ✅ Reviewed-by: https://github.com/gmta ✅
@ -15,7 +15,7 @@
|
||||
namespace SoftGPU {
|
||||
|
||||
static constexpr bool ENABLE_STATISTICS_OVERLAY = false;
|
||||
static constexpr int NUM_SAMPLERS = 32;
|
||||
static constexpr int NUM_SAMPLERS = 2;
|
||||
static constexpr int SUBPIXEL_BITS = 5;
|
||||
static constexpr int NUM_LIGHTS = 8;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user