ComputeClassState.cs
1 // This file was auto-generated from NVIDIA official Maxwell definitions. 2 3 using Ryujinx.Common.Memory; 4 using Ryujinx.Graphics.Gpu.Engine.InlineToMemory; 5 6 namespace Ryujinx.Graphics.Gpu.Engine.Compute 7 { 8 /// <summary> 9 /// Notify type. 10 /// </summary> 11 enum NotifyType 12 { 13 WriteOnly = 0, 14 WriteThenAwaken = 1, 15 } 16 17 /// <summary> 18 /// CWD control SM selection. 19 /// </summary> 20 enum SetCwdControlSmSelection 21 { 22 LoadBalanced = 0, 23 RoundRobin = 1, 24 } 25 26 /// <summary> 27 /// Cache lines to invalidate. 28 /// </summary> 29 enum InvalidateCacheLines 30 { 31 All = 0, 32 One = 1, 33 } 34 35 /// <summary> 36 /// GWC SCG type. 37 /// </summary> 38 enum SetGwcScgTypeScgType 39 { 40 GraphicsCompute0 = 0, 41 Compute1 = 1, 42 } 43 44 /// <summary> 45 /// Render enable override mode. 46 /// </summary> 47 enum SetRenderEnableOverrideMode 48 { 49 UseRenderEnable = 0, 50 AlwaysRender = 1, 51 NeverRender = 2, 52 } 53 54 /// <summary> 55 /// Semaphore report operation. 56 /// </summary> 57 enum SetReportSemaphoreDOperation 58 { 59 Release = 0, 60 Trap = 3, 61 } 62 63 /// <summary> 64 /// Semaphore report structure size. 65 /// </summary> 66 enum SetReportSemaphoreDStructureSize 67 { 68 FourWords = 0, 69 OneWord = 1, 70 } 71 72 /// <summary> 73 /// Semaphore report reduction operation. 74 /// </summary> 75 enum SetReportSemaphoreDReductionOp 76 { 77 RedAdd = 0, 78 RedMin = 1, 79 RedMax = 2, 80 RedInc = 3, 81 RedDec = 4, 82 RedAnd = 5, 83 RedOr = 6, 84 RedXor = 7, 85 } 86 87 /// <summary> 88 /// Semaphore report reduction format. 89 /// </summary> 90 enum SetReportSemaphoreDReductionFormat 91 { 92 Unsigned32 = 0, 93 Signed32 = 1, 94 } 95 96 /// <summary> 97 /// Compute class state. 98 /// </summary> 99 unsafe struct ComputeClassState 100 { 101 #pragma warning disable CS0649 // Field is never assigned to 102 public uint SetObject; 103 public readonly int SetObjectClassId => (int)(SetObject & 0xFFFF); 104 public readonly int SetObjectEngineId => (int)((SetObject >> 16) & 0x1F); 105 public fixed uint Reserved04[63]; 106 public uint NoOperation; 107 public uint SetNotifyA; 108 public readonly int SetNotifyAAddressUpper => (int)(SetNotifyA & 0xFF); 109 public uint SetNotifyB; 110 public uint Notify; 111 public readonly NotifyType NotifyType => (NotifyType)(Notify); 112 public uint WaitForIdle; 113 public fixed uint Reserved114[7]; 114 public uint SetGlobalRenderEnableA; 115 public readonly int SetGlobalRenderEnableAOffsetUpper => (int)(SetGlobalRenderEnableA & 0xFF); 116 public uint SetGlobalRenderEnableB; 117 public uint SetGlobalRenderEnableC; 118 public readonly int SetGlobalRenderEnableCMode => (int)(SetGlobalRenderEnableC & 0x7); 119 public uint SendGoIdle; 120 public uint PmTrigger; 121 public uint PmTriggerWfi; 122 public fixed uint Reserved148[2]; 123 public uint SetInstrumentationMethodHeader; 124 public uint SetInstrumentationMethodData; 125 public fixed uint Reserved158[10]; 126 public uint LineLengthIn; 127 public uint LineCount; 128 public uint OffsetOutUpper; 129 public readonly int OffsetOutUpperValue => (int)(OffsetOutUpper & 0xFF); 130 public uint OffsetOut; 131 public uint PitchOut; 132 public uint SetDstBlockSize; 133 public readonly SetDstBlockSizeWidth SetDstBlockSizeWidth => (SetDstBlockSizeWidth)(SetDstBlockSize & 0xF); 134 public readonly SetDstBlockSizeHeight SetDstBlockSizeHeight => (SetDstBlockSizeHeight)((SetDstBlockSize >> 4) & 0xF); 135 public readonly SetDstBlockSizeDepth SetDstBlockSizeDepth => (SetDstBlockSizeDepth)((SetDstBlockSize >> 8) & 0xF); 136 public uint SetDstWidth; 137 public uint SetDstHeight; 138 public uint SetDstDepth; 139 public uint SetDstLayer; 140 public uint SetDstOriginBytesX; 141 public readonly int SetDstOriginBytesXV => (int)(SetDstOriginBytesX & 0xFFFFF); 142 public uint SetDstOriginSamplesY; 143 public readonly int SetDstOriginSamplesYV => (int)(SetDstOriginSamplesY & 0xFFFF); 144 public uint LaunchDma; 145 public readonly LaunchDmaDstMemoryLayout LaunchDmaDstMemoryLayout => (LaunchDmaDstMemoryLayout)(LaunchDma & 0x1); 146 public readonly LaunchDmaCompletionType LaunchDmaCompletionType => (LaunchDmaCompletionType)((LaunchDma >> 4) & 0x3); 147 public readonly LaunchDmaInterruptType LaunchDmaInterruptType => (LaunchDmaInterruptType)((LaunchDma >> 8) & 0x3); 148 public readonly LaunchDmaSemaphoreStructSize LaunchDmaSemaphoreStructSize => (LaunchDmaSemaphoreStructSize)((LaunchDma >> 12) & 0x1); 149 public readonly bool LaunchDmaReductionEnable => (LaunchDma & 0x2) != 0; 150 public readonly LaunchDmaReductionOp LaunchDmaReductionOp => (LaunchDmaReductionOp)((LaunchDma >> 13) & 0x7); 151 public readonly LaunchDmaReductionFormat LaunchDmaReductionFormat => (LaunchDmaReductionFormat)((LaunchDma >> 2) & 0x3); 152 public readonly bool LaunchDmaSysmembarDisable => (LaunchDma & 0x40) != 0; 153 public uint LoadInlineData; 154 public fixed uint Reserved1B8[9]; 155 public uint SetI2mSemaphoreA; 156 public readonly int SetI2mSemaphoreAOffsetUpper => (int)(SetI2mSemaphoreA & 0xFF); 157 public uint SetI2mSemaphoreB; 158 public uint SetI2mSemaphoreC; 159 public fixed uint Reserved1E8[2]; 160 public uint SetI2mSpareNoop00; 161 public uint SetI2mSpareNoop01; 162 public uint SetI2mSpareNoop02; 163 public uint SetI2mSpareNoop03; 164 public uint SetValidSpanOverflowAreaA; 165 public readonly int SetValidSpanOverflowAreaAAddressUpper => (int)(SetValidSpanOverflowAreaA & 0xFF); 166 public uint SetValidSpanOverflowAreaB; 167 public uint SetValidSpanOverflowAreaC; 168 public uint SetCoalesceWaitingPeriodUnit; 169 public uint PerfmonTransfer; 170 public uint SetShaderSharedMemoryWindow; 171 public uint SetSelectMaxwellTextureHeaders; 172 public readonly bool SetSelectMaxwellTextureHeadersV => (SetSelectMaxwellTextureHeaders & 0x1) != 0; 173 public uint InvalidateShaderCaches; 174 public readonly bool InvalidateShaderCachesInstruction => (InvalidateShaderCaches & 0x1) != 0; 175 public readonly bool InvalidateShaderCachesData => (InvalidateShaderCaches & 0x10) != 0; 176 public readonly bool InvalidateShaderCachesConstant => (InvalidateShaderCaches & 0x1000) != 0; 177 public readonly bool InvalidateShaderCachesLocks => (InvalidateShaderCaches & 0x2) != 0; 178 public readonly bool InvalidateShaderCachesFlushData => (InvalidateShaderCaches & 0x4) != 0; 179 public uint SetReservedSwMethod00; 180 public uint SetReservedSwMethod01; 181 public uint SetReservedSwMethod02; 182 public uint SetReservedSwMethod03; 183 public uint SetReservedSwMethod04; 184 public uint SetReservedSwMethod05; 185 public uint SetReservedSwMethod06; 186 public uint SetReservedSwMethod07; 187 public uint SetCwdControl; 188 public readonly SetCwdControlSmSelection SetCwdControlSmSelection => (SetCwdControlSmSelection)(SetCwdControl & 0x1); 189 public uint InvalidateTextureHeaderCacheNoWfi; 190 public readonly InvalidateCacheLines InvalidateTextureHeaderCacheNoWfiLines => (InvalidateCacheLines)(InvalidateTextureHeaderCacheNoWfi & 0x1); 191 public readonly int InvalidateTextureHeaderCacheNoWfiTag => (int)((InvalidateTextureHeaderCacheNoWfi >> 4) & 0x3FFFFF); 192 public uint SetCwdRefCounter; 193 public readonly int SetCwdRefCounterSelect => (int)(SetCwdRefCounter & 0x3F); 194 public readonly int SetCwdRefCounterValue => (int)((SetCwdRefCounter >> 8) & 0xFFFF); 195 public uint SetReservedSwMethod08; 196 public uint SetReservedSwMethod09; 197 public uint SetReservedSwMethod10; 198 public uint SetReservedSwMethod11; 199 public uint SetReservedSwMethod12; 200 public uint SetReservedSwMethod13; 201 public uint SetReservedSwMethod14; 202 public uint SetReservedSwMethod15; 203 public uint SetGwcScgType; 204 public readonly SetGwcScgTypeScgType SetGwcScgTypeScgType => (SetGwcScgTypeScgType)(SetGwcScgType & 0x1); 205 public uint SetScgControl; 206 public readonly int SetScgControlCompute1MaxSmCount => (int)(SetScgControl & 0x1FF); 207 public uint InvalidateConstantBufferCacheA; 208 public readonly int InvalidateConstantBufferCacheAAddressUpper => (int)(InvalidateConstantBufferCacheA & 0xFF); 209 public uint InvalidateConstantBufferCacheB; 210 public uint InvalidateConstantBufferCacheC; 211 public readonly int InvalidateConstantBufferCacheCByteCount => (int)(InvalidateConstantBufferCacheC & 0x1FFFF); 212 public readonly bool InvalidateConstantBufferCacheCThruL2 => (InvalidateConstantBufferCacheC & 0x80000000) != 0; 213 public uint SetComputeClassVersion; 214 public readonly int SetComputeClassVersionCurrent => (int)(SetComputeClassVersion & 0xFFFF); 215 public readonly int SetComputeClassVersionOldestSupported => (int)((SetComputeClassVersion >> 16) & 0xFFFF); 216 public uint CheckComputeClassVersion; 217 public readonly int CheckComputeClassVersionCurrent => (int)(CheckComputeClassVersion & 0xFFFF); 218 public readonly int CheckComputeClassVersionOldestSupported => (int)((CheckComputeClassVersion >> 16) & 0xFFFF); 219 public uint SetQmdVersion; 220 public readonly int SetQmdVersionCurrent => (int)(SetQmdVersion & 0xFFFF); 221 public readonly int SetQmdVersionOldestSupported => (int)((SetQmdVersion >> 16) & 0xFFFF); 222 public uint SetWfiConfig; 223 public readonly bool SetWfiConfigEnableScgTypeWfi => (SetWfiConfig & 0x1) != 0; 224 public uint CheckQmdVersion; 225 public readonly int CheckQmdVersionCurrent => (int)(CheckQmdVersion & 0xFFFF); 226 public readonly int CheckQmdVersionOldestSupported => (int)((CheckQmdVersion >> 16) & 0xFFFF); 227 public uint WaitForIdleScgType; 228 public uint InvalidateSkedCaches; 229 public readonly bool InvalidateSkedCachesV => (InvalidateSkedCaches & 0x1) != 0; 230 public uint SetScgRenderEnableControl; 231 public readonly bool SetScgRenderEnableControlCompute1UsesRenderEnable => (SetScgRenderEnableControl & 0x1) != 0; 232 public fixed uint Reserved2A0[4]; 233 public uint SetCwdSlotCount; 234 public readonly int SetCwdSlotCountV => (int)(SetCwdSlotCount & 0xFF); 235 public uint SendPcasA; 236 public uint SendPcasB; 237 public readonly int SendPcasBFrom => (int)(SendPcasB & 0xFFFFFF); 238 public readonly int SendPcasBDelta => (int)((SendPcasB >> 24) & 0xFF); 239 public uint SendSignalingPcasB; 240 public readonly bool SendSignalingPcasBInvalidate => (SendSignalingPcasB & 0x1) != 0; 241 public readonly bool SendSignalingPcasBSchedule => (SendSignalingPcasB & 0x2) != 0; 242 public fixed uint Reserved2C0[9]; 243 public uint SetShaderLocalMemoryNonThrottledA; 244 public readonly int SetShaderLocalMemoryNonThrottledASizeUpper => (int)(SetShaderLocalMemoryNonThrottledA & 0xFF); 245 public uint SetShaderLocalMemoryNonThrottledB; 246 public uint SetShaderLocalMemoryNonThrottledC; 247 public readonly int SetShaderLocalMemoryNonThrottledCMaxSmCount => (int)(SetShaderLocalMemoryNonThrottledC & 0x1FF); 248 public uint SetShaderLocalMemoryThrottledA; 249 public readonly int SetShaderLocalMemoryThrottledASizeUpper => (int)(SetShaderLocalMemoryThrottledA & 0xFF); 250 public uint SetShaderLocalMemoryThrottledB; 251 public uint SetShaderLocalMemoryThrottledC; 252 public readonly int SetShaderLocalMemoryThrottledCMaxSmCount => (int)(SetShaderLocalMemoryThrottledC & 0x1FF); 253 public fixed uint Reserved2FC[5]; 254 public uint SetSpaVersion; 255 public readonly int SetSpaVersionMinor => (int)(SetSpaVersion & 0xFF); 256 public readonly int SetSpaVersionMajor => (int)((SetSpaVersion >> 8) & 0xFF); 257 public fixed uint Reserved314[123]; 258 public uint SetFalcon00; 259 public uint SetFalcon01; 260 public uint SetFalcon02; 261 public uint SetFalcon03; 262 public uint SetFalcon04; 263 public uint SetFalcon05; 264 public uint SetFalcon06; 265 public uint SetFalcon07; 266 public uint SetFalcon08; 267 public uint SetFalcon09; 268 public uint SetFalcon10; 269 public uint SetFalcon11; 270 public uint SetFalcon12; 271 public uint SetFalcon13; 272 public uint SetFalcon14; 273 public uint SetFalcon15; 274 public uint SetFalcon16; 275 public uint SetFalcon17; 276 public uint SetFalcon18; 277 public uint SetFalcon19; 278 public uint SetFalcon20; 279 public uint SetFalcon21; 280 public uint SetFalcon22; 281 public uint SetFalcon23; 282 public uint SetFalcon24; 283 public uint SetFalcon25; 284 public uint SetFalcon26; 285 public uint SetFalcon27; 286 public uint SetFalcon28; 287 public uint SetFalcon29; 288 public uint SetFalcon30; 289 public uint SetFalcon31; 290 public fixed uint Reserved580[127]; 291 public uint SetShaderLocalMemoryWindow; 292 public fixed uint Reserved780[4]; 293 public uint SetShaderLocalMemoryA; 294 public readonly int SetShaderLocalMemoryAAddressUpper => (int)(SetShaderLocalMemoryA & 0xFF); 295 public uint SetShaderLocalMemoryB; 296 public fixed uint Reserved798[383]; 297 public uint SetShaderCacheControl; 298 public readonly bool SetShaderCacheControlIcachePrefetchEnable => (SetShaderCacheControl & 0x1) != 0; 299 public fixed uint ReservedD98[19]; 300 public uint SetSmTimeoutInterval; 301 public readonly int SetSmTimeoutIntervalCounterBit => (int)(SetSmTimeoutInterval & 0x3F); 302 public fixed uint ReservedDE8[87]; 303 public uint SetSpareNoop12; 304 public uint SetSpareNoop13; 305 public uint SetSpareNoop14; 306 public uint SetSpareNoop15; 307 public fixed uint ReservedF54[59]; 308 public uint SetSpareNoop00; 309 public uint SetSpareNoop01; 310 public uint SetSpareNoop02; 311 public uint SetSpareNoop03; 312 public uint SetSpareNoop04; 313 public uint SetSpareNoop05; 314 public uint SetSpareNoop06; 315 public uint SetSpareNoop07; 316 public uint SetSpareNoop08; 317 public uint SetSpareNoop09; 318 public uint SetSpareNoop10; 319 public uint SetSpareNoop11; 320 public fixed uint Reserved1070[103]; 321 public uint InvalidateSamplerCacheAll; 322 public readonly bool InvalidateSamplerCacheAllV => (InvalidateSamplerCacheAll & 0x1) != 0; 323 public uint InvalidateTextureHeaderCacheAll; 324 public readonly bool InvalidateTextureHeaderCacheAllV => (InvalidateTextureHeaderCacheAll & 0x1) != 0; 325 public fixed uint Reserved1214[29]; 326 public uint InvalidateTextureDataCacheNoWfi; 327 public readonly InvalidateCacheLines InvalidateTextureDataCacheNoWfiLines => (InvalidateCacheLines)(InvalidateTextureDataCacheNoWfi & 0x1); 328 public readonly int InvalidateTextureDataCacheNoWfiTag => (int)((InvalidateTextureDataCacheNoWfi >> 4) & 0x3FFFFF); 329 public fixed uint Reserved128C[7]; 330 public uint ActivatePerfSettingsForComputeContext; 331 public readonly bool ActivatePerfSettingsForComputeContextAll => (ActivatePerfSettingsForComputeContext & 0x1) != 0; 332 public fixed uint Reserved12AC[33]; 333 public uint InvalidateSamplerCache; 334 public readonly InvalidateCacheLines InvalidateSamplerCacheLines => (InvalidateCacheLines)(InvalidateSamplerCache & 0x1); 335 public readonly int InvalidateSamplerCacheTag => (int)((InvalidateSamplerCache >> 4) & 0x3FFFFF); 336 public uint InvalidateTextureHeaderCache; 337 public readonly InvalidateCacheLines InvalidateTextureHeaderCacheLines => (InvalidateCacheLines)(InvalidateTextureHeaderCache & 0x1); 338 public readonly int InvalidateTextureHeaderCacheTag => (int)((InvalidateTextureHeaderCache >> 4) & 0x3FFFFF); 339 public uint InvalidateTextureDataCache; 340 public readonly InvalidateCacheLines InvalidateTextureDataCacheLines => (InvalidateCacheLines)(InvalidateTextureDataCache & 0x1); 341 public readonly int InvalidateTextureDataCacheTag => (int)((InvalidateTextureDataCache >> 4) & 0x3FFFFF); 342 public fixed uint Reserved133C[58]; 343 public uint InvalidateSamplerCacheNoWfi; 344 public readonly InvalidateCacheLines InvalidateSamplerCacheNoWfiLines => (InvalidateCacheLines)(InvalidateSamplerCacheNoWfi & 0x1); 345 public readonly int InvalidateSamplerCacheNoWfiTag => (int)((InvalidateSamplerCacheNoWfi >> 4) & 0x3FFFFF); 346 public fixed uint Reserved1428[64]; 347 public uint SetShaderExceptions; 348 public readonly bool SetShaderExceptionsEnable => (SetShaderExceptions & 0x1) != 0; 349 public fixed uint Reserved152C[9]; 350 public uint SetRenderEnableA; 351 public readonly int SetRenderEnableAOffsetUpper => (int)(SetRenderEnableA & 0xFF); 352 public uint SetRenderEnableB; 353 public uint SetRenderEnableC; 354 public readonly int SetRenderEnableCMode => (int)(SetRenderEnableC & 0x7); 355 public uint SetTexSamplerPoolA; 356 public readonly int SetTexSamplerPoolAOffsetUpper => (int)(SetTexSamplerPoolA & 0xFF); 357 public uint SetTexSamplerPoolB; 358 public uint SetTexSamplerPoolC; 359 public readonly int SetTexSamplerPoolCMaximumIndex => (int)(SetTexSamplerPoolC & 0xFFFFF); 360 public fixed uint Reserved1568[3]; 361 public uint SetTexHeaderPoolA; 362 public readonly int SetTexHeaderPoolAOffsetUpper => (int)(SetTexHeaderPoolA & 0xFF); 363 public uint SetTexHeaderPoolB; 364 public uint SetTexHeaderPoolC; 365 public readonly int SetTexHeaderPoolCMaximumIndex => (int)(SetTexHeaderPoolC & 0x3FFFFF); 366 public fixed uint Reserved1580[34]; 367 public uint SetProgramRegionA; 368 public readonly int SetProgramRegionAAddressUpper => (int)(SetProgramRegionA & 0xFF); 369 public uint SetProgramRegionB; 370 public fixed uint Reserved1610[34]; 371 public uint InvalidateShaderCachesNoWfi; 372 public readonly bool InvalidateShaderCachesNoWfiInstruction => (InvalidateShaderCachesNoWfi & 0x1) != 0; 373 public readonly bool InvalidateShaderCachesNoWfiGlobalData => (InvalidateShaderCachesNoWfi & 0x10) != 0; 374 public readonly bool InvalidateShaderCachesNoWfiConstant => (InvalidateShaderCachesNoWfi & 0x1000) != 0; 375 public fixed uint Reserved169C[170]; 376 public uint SetRenderEnableOverride; 377 public readonly SetRenderEnableOverrideMode SetRenderEnableOverrideMode => (SetRenderEnableOverrideMode)(SetRenderEnableOverride & 0x3); 378 public fixed uint Reserved1948[57]; 379 public uint PipeNop; 380 public uint SetSpare00; 381 public uint SetSpare01; 382 public uint SetSpare02; 383 public uint SetSpare03; 384 public fixed uint Reserved1A40[48]; 385 public uint SetReportSemaphoreA; 386 public readonly int SetReportSemaphoreAOffsetUpper => (int)(SetReportSemaphoreA & 0xFF); 387 public uint SetReportSemaphoreB; 388 public uint SetReportSemaphoreC; 389 public uint SetReportSemaphoreD; 390 public readonly SetReportSemaphoreDOperation SetReportSemaphoreDOperation => (SetReportSemaphoreDOperation)(SetReportSemaphoreD & 0x3); 391 public readonly bool SetReportSemaphoreDAwakenEnable => (SetReportSemaphoreD & 0x100000) != 0; 392 public readonly SetReportSemaphoreDStructureSize SetReportSemaphoreDStructureSize => (SetReportSemaphoreDStructureSize)((SetReportSemaphoreD >> 28) & 0x1); 393 public readonly bool SetReportSemaphoreDFlushDisable => (SetReportSemaphoreD & 0x4) != 0; 394 public readonly bool SetReportSemaphoreDReductionEnable => (SetReportSemaphoreD & 0x8) != 0; 395 public readonly SetReportSemaphoreDReductionOp SetReportSemaphoreDReductionOp => (SetReportSemaphoreDReductionOp)((SetReportSemaphoreD >> 9) & 0x7); 396 public readonly SetReportSemaphoreDReductionFormat SetReportSemaphoreDReductionFormat => (SetReportSemaphoreDReductionFormat)((SetReportSemaphoreD >> 17) & 0x3); 397 public fixed uint Reserved1B10[702]; 398 public uint SetBindlessTexture; 399 public readonly int SetBindlessTextureConstantBufferSlotSelect => (int)(SetBindlessTexture & 0x7); 400 public uint SetTrapHandler; 401 public fixed uint Reserved2610[843]; 402 public Array8<uint> SetShaderPerformanceCounterValueUpper; 403 public Array8<uint> SetShaderPerformanceCounterValue; 404 public Array8<uint> SetShaderPerformanceCounterEvent; 405 public int SetShaderPerformanceCounterEventEvent(int i) => (int)((SetShaderPerformanceCounterEvent[i] >> 0) & 0xFF); 406 public Array8<uint> SetShaderPerformanceCounterControlA; 407 public int SetShaderPerformanceCounterControlAEvent0(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 0) & 0x3); 408 public int SetShaderPerformanceCounterControlABitSelect0(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 2) & 0x7); 409 public int SetShaderPerformanceCounterControlAEvent1(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 5) & 0x3); 410 public int SetShaderPerformanceCounterControlABitSelect1(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 7) & 0x7); 411 public int SetShaderPerformanceCounterControlAEvent2(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 10) & 0x3); 412 public int SetShaderPerformanceCounterControlABitSelect2(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 12) & 0x7); 413 public int SetShaderPerformanceCounterControlAEvent3(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 15) & 0x3); 414 public int SetShaderPerformanceCounterControlABitSelect3(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 17) & 0x7); 415 public int SetShaderPerformanceCounterControlAEvent4(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 20) & 0x3); 416 public int SetShaderPerformanceCounterControlABitSelect4(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 22) & 0x7); 417 public int SetShaderPerformanceCounterControlAEvent5(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 25) & 0x3); 418 public int SetShaderPerformanceCounterControlABitSelect5(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 27) & 0x7); 419 public int SetShaderPerformanceCounterControlASpare(int i) => (int)((SetShaderPerformanceCounterControlA[i] >> 30) & 0x3); 420 public Array8<uint> SetShaderPerformanceCounterControlB; 421 public bool SetShaderPerformanceCounterControlBEdge(int i) => (SetShaderPerformanceCounterControlB[i] & 0x1) != 0; 422 public int SetShaderPerformanceCounterControlBMode(int i) => (int)((SetShaderPerformanceCounterControlB[i] >> 1) & 0x3); 423 public bool SetShaderPerformanceCounterControlBWindowed(int i) => (SetShaderPerformanceCounterControlB[i] & 0x8) != 0; 424 public int SetShaderPerformanceCounterControlBFunc(int i) => (int)((SetShaderPerformanceCounterControlB[i] >> 4) & 0xFFFF); 425 public uint SetShaderPerformanceCounterTrapControl; 426 public readonly int SetShaderPerformanceCounterTrapControlMask => (int)(SetShaderPerformanceCounterTrapControl & 0xFF); 427 public uint StartShaderPerformanceCounter; 428 public readonly int StartShaderPerformanceCounterCounterMask => (int)(StartShaderPerformanceCounter & 0xFF); 429 public uint StopShaderPerformanceCounter; 430 public readonly int StopShaderPerformanceCounterCounterMask => (int)(StopShaderPerformanceCounter & 0xFF); 431 public fixed uint Reserved33E8[6]; 432 public Array256<uint> SetMmeShadowScratch; 433 #pragma warning restore CS0649 434 } 435 }