feat: update asset browser
This commit is contained in:
@@ -232,10 +232,21 @@ add_custom_target(_internal_cook_engine_assets
|
||||
COMMAND TheChef
|
||||
--input "${ASSETS_SRC_DIR}"
|
||||
--output "${ASSETS_RUNTIME_DIR}"
|
||||
${DESTRUM_CHEF_FLAGS}
|
||||
DEPENDS TheChef ${ENGINE_ASSET_SOURCES}
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
add_custom_target(_internal_validate_engine_assets
|
||||
COMMAND TheChef
|
||||
--input "${ASSETS_SRC_DIR}"
|
||||
--output "${ASSETS_RUNTIME_DIR}"
|
||||
--validate
|
||||
${DESTRUM_CHEF_FLAGS}
|
||||
DEPENDS _internal_cook_engine_assets
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
find_program(SPIRV_VAL_EXECUTABLE NAMES spirv-val spirv-val.exe)
|
||||
if (SPIRV_VAL_EXECUTABLE)
|
||||
file(GLOB_RECURSE ENGINE_SHADER_SOURCES CONFIGURE_DEPENDS
|
||||
|
||||
Reference in New Issue
Block a user