CompileAsset function from Asset manager is working

This commit is contained in:
Brandon Mak 2022-10-30 13:25:15 +08:00
parent 7b769057a2
commit 94f579e8e3
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ of DigiPen Institute of Technology is prohibited.
#include "Assets/Asset Types/SHTextureAsset.h"
#include "Graphics/MiddleEnd/Interface/SHMousePickSystem.h"
#include "Graphics/MiddleEnd/Lights/SHLightingSubSystem.h"
#include "Assets/SHAssetManager.h"
namespace SHADE
{
@ -109,6 +110,7 @@ namespace SHADE
transferCmdBuffer = graphicsCmdPool->RequestCommandBuffer(SH_CMD_BUFFER_TYPE::PRIMARY);
graphicsTexCmdBuffer = graphicsCmdPool->RequestCommandBuffer(SH_CMD_BUFFER_TYPE::PRIMARY);
SHAssetManager::CompileAsset("../../Assets/Shaders/DeferredComposite_CS.glsl");
shaderModuleLibrary.ImportAllShaderSource(device);
shaderModuleLibrary.ReflectAllShaderModules();