Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit a95eab8

Browse files
committed
Forward file name in ShaderBytecode.CompileFromFile.
1 parent b8de7a7 commit a95eab8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/SharpDX.D3DCompiler/ShaderBytecode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ public static CompilationResult CompileFromFile(string fileName,
475475
ShaderMacro[] defines = null,
476476
Include include = null)
477477
{
478-
return Compile(NativeFile.ReadAllText(fileName), entryPoint, profile, shaderFlags, effectFlags, defines, include);
478+
return Compile(NativeFile.ReadAllText(fileName), entryPoint, profile, shaderFlags, effectFlags, defines, include, fileName);
479479
}
480480

481481
// Win 8.1 SDK removed the corresponding functions from the WinRT platform

0 commit comments

Comments
 (0)