Skip to content

Commit

Permalink
Fix windows specific value_type errors~
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Frisch <[email protected]>
  • Loading branch information
TheJackiMonster committed Jan 14, 2024
1 parent 73971c7 commit e7772f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/shader_compiler/src/vkcv/shader/LLVMCompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace vkcv::shader {
DriverConfig config = default_driver_config();

config.target = TgtSPV;
config.output_filename = tmp_path.c_str();
config.output_filename = tmp_path.string().c_str();

codes = driver_compile(&config, module);
destroy_driver_config(&config);
Expand Down
2 changes: 1 addition & 1 deletion modules/shader_compiler/src/vkcv/shader/SlimCompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace vkcv::shader {
DriverConfig config = default_driver_config();

config.target = TgtSPV;
config.output_filename = tmp_path.c_str();
config.output_filename = tmp_path.string().c_str();

codes = driver_compile(&config, module);
destroy_driver_config(&config);
Expand Down

0 comments on commit e7772f6

Please sign in to comment.