Shader: Use constexpr maps for static data
This commit is contained in:
@@ -80,8 +80,8 @@ local modules = {
|
||||
Deps = {"NazaraPlatform", "NazaraShader"}
|
||||
},
|
||||
Shader = {
|
||||
Packages = {"efsw", "fmt"},
|
||||
Deps = {"NazaraCore"},
|
||||
Packages = {"efsw", "fmt", "frozen"},
|
||||
Custom = function()
|
||||
-- Set precise floating-points models to ensure shader optimization leads to correct results
|
||||
set_fpmodels("precise")
|
||||
@@ -131,7 +131,7 @@ option_end()
|
||||
set_project("NazaraEngine")
|
||||
set_xmakever("2.6.3")
|
||||
|
||||
add_requires("chipmunk2d", "dr_wav", "efsw", "entt >=3.9", "fmt", "kiwisolver", "libflac", "libsdl", "minimp3", "stb")
|
||||
add_requires("chipmunk2d", "dr_wav", "efsw", "entt >=3.9", "fmt", "frozen", "kiwisolver", "libflac", "libsdl", "minimp3", "stb")
|
||||
add_requires("freetype", { configs = { bzip2 = true, png = true, woff2 = true, zlib = true, debug = is_mode("debug") } })
|
||||
add_requires("libvorbis", { configs = { with_vorbisenc = false } })
|
||||
add_requires("openal-soft", { configs = { shared = true }})
|
||||
|
||||
Reference in New Issue
Block a user