Skip to content

Commit

Permalink
@(private) -> @(private=file)
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenbergDaniel committed Nov 16, 2024
1 parent b39a57d commit 9fcfdde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shdc/generators/sokolodin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ void SokolOdinGenerator::gen_shader_desc_func(const GenInput& gen, const Program
l("{}.bytecode.ptr = &{}\n", dsn, info.bytecode_array_name);
l("{}.bytecode.size = {}\n", dsn, info.bytecode_array_size);
} else {
l("{}.source = cast(cstring)&{}\n", dsn, info.source_array_name);
l("{}.source = transmute(cstring)&{}\n", dsn, info.source_array_name);
const char* d3d11_tgt = nullptr;
if (slang == Slang::HLSL4) {
d3d11_tgt = (0 == stage_index) ? "vs_4_0" : "ps_4_0";
Expand Down

0 comments on commit 9fcfdde

Please sign in to comment.