Lines Matching refs:RI
69 ResourceInfo RI(ResourceClass::SRV, Kind, Symbol, Name, Binding, UniqueID); in SRV() local
70 assert(RI.isTyped() && !(RI.isStruct() || RI.isMultiSample()) && in SRV()
72 RI.Typed.ElementTy = ElementTy; in SRV()
73 RI.Typed.ElementCount = ElementCount; in SRV()
74 return RI; in SRV()
80 ResourceInfo RI(ResourceClass::SRV, ResourceKind::RawBuffer, Symbol, Name, in RawBuffer() local
82 return RI; in RawBuffer()
89 ResourceInfo RI(ResourceClass::SRV, ResourceKind::StructuredBuffer, Symbol, in StructuredBuffer() local
91 RI.Struct.Stride = Stride; in StructuredBuffer()
92 RI.Struct.Alignment = Alignment; in StructuredBuffer()
93 return RI; in StructuredBuffer()
101 ResourceInfo RI(ResourceClass::SRV, ResourceKind::Texture2DMS, Symbol, Name, in Texture2DMS() local
103 RI.Typed.ElementTy = ElementTy; in Texture2DMS()
104 RI.Typed.ElementCount = ElementCount; in Texture2DMS()
105 RI.MultiSample.Count = SampleCount; in Texture2DMS()
106 return RI; in Texture2DMS()
112 ResourceInfo RI(ResourceClass::SRV, ResourceKind::Texture2DMSArray, Symbol, in Texture2DMSArray() local
114 RI.Typed.ElementTy = ElementTy; in Texture2DMSArray()
115 RI.Typed.ElementCount = ElementCount; in Texture2DMSArray()
116 RI.MultiSample.Count = SampleCount; in Texture2DMSArray()
117 return RI; in Texture2DMSArray()
125 ResourceInfo RI(ResourceClass::UAV, Kind, Symbol, Name, Binding, UniqueID); in UAV() local
126 assert(RI.isTyped() && !(RI.isStruct() || RI.isMultiSample()) && in UAV()
128 RI.Typed.ElementTy = ElementTy; in UAV()
129 RI.Typed.ElementCount = ElementCount; in UAV()
130 RI.UAVFlags.GloballyCoherent = GloballyCoherent; in UAV()
131 RI.UAVFlags.IsROV = IsROV; in UAV()
132 RI.UAVFlags.HasCounter = false; in UAV()
133 return RI; in UAV()
140 ResourceInfo RI(ResourceClass::UAV, ResourceKind::RawBuffer, Symbol, Name, in RWRawBuffer() local
142 RI.UAVFlags.GloballyCoherent = GloballyCoherent; in RWRawBuffer()
143 RI.UAVFlags.IsROV = IsROV; in RWRawBuffer()
144 RI.UAVFlags.HasCounter = false; in RWRawBuffer()
145 return RI; in RWRawBuffer()
154 ResourceInfo RI(ResourceClass::UAV, ResourceKind::StructuredBuffer, Symbol, in RWStructuredBuffer() local
156 RI.Struct.Stride = Stride; in RWStructuredBuffer()
157 RI.Struct.Alignment = Alignment; in RWStructuredBuffer()
158 RI.UAVFlags.GloballyCoherent = GloballyCoherent; in RWStructuredBuffer()
159 RI.UAVFlags.IsROV = IsROV; in RWStructuredBuffer()
160 RI.UAVFlags.HasCounter = HasCounter; in RWStructuredBuffer()
161 return RI; in RWStructuredBuffer()
169 ResourceInfo RI(ResourceClass::UAV, ResourceKind::Texture2DMS, Symbol, Name, in RWTexture2DMS() local
171 RI.Typed.ElementTy = ElementTy; in RWTexture2DMS()
172 RI.Typed.ElementCount = ElementCount; in RWTexture2DMS()
173 RI.UAVFlags.GloballyCoherent = GloballyCoherent; in RWTexture2DMS()
174 RI.UAVFlags.IsROV = false; in RWTexture2DMS()
175 RI.UAVFlags.HasCounter = false; in RWTexture2DMS()
176 RI.MultiSample.Count = SampleCount; in RWTexture2DMS()
177 return RI; in RWTexture2DMS()
185 ResourceInfo RI(ResourceClass::UAV, ResourceKind::Texture2DMSArray, Symbol, in RWTexture2DMSArray() local
187 RI.Typed.ElementTy = ElementTy; in RWTexture2DMSArray()
188 RI.Typed.ElementCount = ElementCount; in RWTexture2DMSArray()
189 RI.UAVFlags.GloballyCoherent = GloballyCoherent; in RWTexture2DMSArray()
190 RI.UAVFlags.IsROV = false; in RWTexture2DMSArray()
191 RI.UAVFlags.HasCounter = false; in RWTexture2DMSArray()
192 RI.MultiSample.Count = SampleCount; in RWTexture2DMSArray()
193 return RI; in RWTexture2DMSArray()
200 ResourceInfo RI(ResourceClass::UAV, ResourceKind::FeedbackTexture2D, Symbol, in FeedbackTexture2D() local
202 RI.UAVFlags.GloballyCoherent = false; in FeedbackTexture2D()
203 RI.UAVFlags.IsROV = false; in FeedbackTexture2D()
204 RI.UAVFlags.HasCounter = false; in FeedbackTexture2D()
205 RI.Feedback.Type = FeedbackTy; in FeedbackTexture2D()
206 return RI; in FeedbackTexture2D()
213 ResourceInfo RI(ResourceClass::UAV, ResourceKind::FeedbackTexture2DArray, in FeedbackTexture2DArray() local
215 RI.UAVFlags.GloballyCoherent = false; in FeedbackTexture2DArray()
216 RI.UAVFlags.IsROV = false; in FeedbackTexture2DArray()
217 RI.UAVFlags.HasCounter = false; in FeedbackTexture2DArray()
218 RI.Feedback.Type = FeedbackTy; in FeedbackTexture2DArray()
219 return RI; in FeedbackTexture2DArray()
225 ResourceInfo RI(ResourceClass::CBuffer, ResourceKind::CBuffer, Symbol, Name, in CBuffer() local
227 RI.CBufferSize = Size; in CBuffer()
228 return RI; in CBuffer()
234 ResourceInfo RI(ResourceClass::Sampler, ResourceKind::Sampler, Symbol, Name, in Sampler() local
236 RI.SamplerTy = SamplerTy; in Sampler()
237 return RI; in Sampler()