Skip to content

Commit 0d1fa80

Browse files
committed
I wasted hours on this
1 parent d2255e9 commit 0d1fa80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shader_recompiler/backend/spirv/spirv_emit_context.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ void EmitContext::DefineInputs() {
385385
continue;
386386
}
387387
const Id id{DefineInput(F32[4], patch_base_location + index)};
388+
Decorate(id, spv::Decoration::Patch);
388389
Name(id, fmt::format("patch_in{}", index));
389390
patches[index] = id;
390391
}

0 commit comments

Comments
 (0)