summaryrefslogtreecommitdiffstats
path: root/servers/rendering_server.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2024-08-21 06:38:03 +0200
committerGitHub <noreply@github.com>2024-08-21 06:38:03 +0200
commit4b8946102bc05e3d143d6674cfef634103db08b9 (patch)
tree28a1a37b543ba844a85836e28f45615a0b3d0b89 /servers/rendering_server.cpp
parent62de80d6138c09cb2c4c66d0b963820f95ad1f21 (diff)
parent394ea653aacd131c234596299ebf79a52580c9b9 (diff)
downloadredot-engine-4b8946102bc05e3d143d6674cfef634103db08b9.tar.gz
Merge pull request #91535 from BlueCube3310/betsy-bc6h
Add Betsy to speed up BC6 compression
Diffstat (limited to 'servers/rendering_server.cpp')
-rw-r--r--servers/rendering_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp
index 0f0d15a52f..92f0f0dbc0 100644
--- a/servers/rendering_server.cpp
+++ b/servers/rendering_server.cpp
@@ -3526,6 +3526,7 @@ void RenderingServer::init() {
// See `const bool can_s3tc_bptc` in the resource importer.
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_s3tc_bptc", false);
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_etc2_astc", false);
+ GLOBAL_DEF("rendering/textures/vram_compression/compress_with_gpu", true);
GLOBAL_DEF("rendering/textures/lossless_compression/force_png", false);