Move shader source code length adjustment to the main compilation routine

This commit is contained in:
Wojtek Figat
2021-01-05 14:25:38 +01:00
parent 6adb489276
commit 336a3bd484
3 changed files with 6 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ public:
/// </summary>
/// <param name="options">Compilation options</param>
/// <returns>True if failed, otherwise false</returns>
static bool Compile(const ShaderCompilationOptions& options);
static bool Compile(ShaderCompilationOptions& options);
/// <summary>
/// Registers shader asset for the automated reloads on source includes changes.