summaryrefslogtreecommitdiff
path: root/drivers/SCsub
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2022-10-06 20:45:56 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2022-10-06 21:08:54 +0200
commit24ff2929997302e54d4ed1b2a6787c814b22ee5a (patch)
treee8cf4f71fd80d1750cc5f888046f61dd49f2564a /drivers/SCsub
parent0c23a2cfe3ad897e1e49008629c135764b2c155c (diff)
Polish rendering driver refactor further
Mainly: - Make `max_descriptors_per_pool` project setting Vulkan-specific. - Use a common, render driver agnostic magic FourCC for shader binary data. - Downgrade spirv_reflect to Vulkan-only dependency. - Add a `RENDER_DRIVER_*` macro to GLSL shader code for per-driver customizations.
Diffstat (limited to 'drivers/SCsub')
-rw-r--r--drivers/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/SCsub b/drivers/SCsub
index dd81fc645c..6cfcb1d18c 100644
--- a/drivers/SCsub
+++ b/drivers/SCsub
@@ -24,6 +24,7 @@ SConscript("winmidi/SCsub")
# Graphics drivers
if env["vulkan"]:
+ SConscript("spirv-reflect/SCsub")
SConscript("vulkan/SCsub")
if env["opengl3"]:
SConscript("gl_context/SCsub")
@@ -31,7 +32,6 @@ if env["opengl3"]:
# Core dependencies
SConscript("png/SCsub")
-SConscript("spirv-reflect/SCsub")
env.add_source_files(env.drivers_sources, "*.cpp")