diff options
Diffstat (limited to 'src/dxc_helper.h')
-rw-r--r-- | src/dxc_helper.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dxc_helper.h b/src/dxc_helper.h index 4edb55d..2cd4212 100644 --- a/src/dxc_helper.h +++ b/src/dxc_helper.h @@ -21,14 +21,20 @@ #include "amber/result.h" namespace amber { + +class VirtualFileStore; + namespace dxchelper { // Passes the HLSL source code to the DXC compiler with SPIR-V CodeGen. // Returns the generated SPIR-V binary via |generated_binary| argument. -Result Compile(const std::string& src_str, +Result Compile(const std::string& src, + const std::string& filename, const std::string& entry_str, const std::string& profile_str, const std::string& spv_env, + const VirtualFileStore* virtual_files, + bool emit_debug_info, std::vector<uint32_t>* generated_binary); } // namespace dxchelper |