================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits