We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd966a commit 8d2a9d1Copy full SHA for 8d2a9d1
llvm/include/llvm/Frontend/HLSL/HLSLBinding.h
@@ -35,10 +35,11 @@ struct BindingRange {
35
};
36
37
struct BaseRegisterSpace {
38
+ protected:
39
uint32_t Space;
40
SmallVector<BindingRange> Ranges;
41
BaseRegisterSpace(uint32_t Space) : Space(Space) {}
-
42
+ public:
43
bool operator==(const BaseRegisterSpace &Other) const {
44
return Space == Other.Space;
45
}
@@ -91,7 +92,6 @@ template <typename T> struct BindingSpaces {
91
92
/// }
93
94
class BindingInfo {
-public:
95
private:
96
BindingSpaces<FreeRegisterSpace> SRVSpaces{dxil::ResourceClass::SRV};
97
BindingSpaces<FreeRegisterSpace> UAVSpaces{dxil::ResourceClass::UAV};
0 commit comments