Skip to content

Commit

Permalink
Merge pull request #156 from GoldenbergDaniel/master
Browse files Browse the repository at this point in the history
Replace @(private) with @(private="file") in Odin generator
  • Loading branch information
floooh authored Nov 16, 2024
2 parents 4fa45e2 + 9fcfdde commit e82f934
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 @@ -331,7 +331,7 @@ void SokolOdinGenerator::gen_shader_desc_func(const GenInput& gen, const Program
}

void SokolOdinGenerator::gen_shader_array_start(const GenInput& gen, const std::string& array_name, size_t num_bytes, Slang::Enum slang) {
l("@(private)\n{} := [{}]u8 {{\n", array_name, num_bytes);
l("@(private=\"file\")\n{} := [{}]u8 {{\n", array_name, num_bytes);
}

void SokolOdinGenerator::gen_shader_array_end(const GenInput& gen) {
Expand Down

0 comments on commit e82f934

Please sign in to comment.