[clang] [llvm] [HLSL][SPIR-V] Implement vk::location for inputs (PR #169479)
Nathan Gauër via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 27 01:36:14 PST 2025
================
@@ -240,6 +241,8 @@ class SemaHLSL : public SemaBase {
HLSLParsedSemanticAttr *Semantic;
std::optional<uint32_t> Index;
};
+ std::optional<bool> InputUsesExplicitVkLocations = std::nullopt;
+ std::optional<bool> OutputUsesExplicitVkLocations = std::nullopt;
----------------
Keenuts wrote:
Moved this state into a shared struct. Also removed the `IsInput` boolean, using the IOType mask I added previously instead, which is better IMO.
https://github.com/llvm/llvm-project/pull/169479
More information about the llvm-commits
mailing list