Skip to content

Commit

Permalink
I wasted hours on this
Browse files Browse the repository at this point in the history
  • Loading branch information
baggins183 committed Nov 18, 2024
1 parent d2255e9 commit 0d1fa80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ void EmitContext::DefineInputs() {
continue;
}
const Id id{DefineInput(F32[4], patch_base_location + index)};
Decorate(id, spv::Decoration::Patch);
Name(id, fmt::format("patch_in{}", index));
patches[index] = id;
}
Expand Down

0 comments on commit 0d1fa80

Please sign in to comment.