NsGpuRegister.cs 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. namespace Ryujinx.Graphics.Gpu
  2. {
  3. public enum NsGpuRegister
  4. {
  5. BindChannel = 0,
  6. _2dClipEnable = 0x0290,
  7. _2dOperation = 0x02ac,
  8. _3dGlobalBase = 0x02c8,
  9. _3dRt0AddressHigh = 0x0800,
  10. _3dRt0AddressLow = 0x0804,
  11. _3dRt0Horiz = 0x0808,
  12. _3dRt0Vert = 0x080c,
  13. _3dRt0Format = 0x0810,
  14. _3dRt0BlockDimensions = 0x0814,
  15. _3dRt0ArrayMode = 0x0818,
  16. _3dRt0LayerStride = 0x081c,
  17. _3dRt0BaseLayer = 0x0820,
  18. _3dViewportScaleX = 0x0a00,
  19. _3dViewportScaleY = 0x0a04,
  20. _3dViewportScaleZ = 0x0a08,
  21. _3dViewportTranslateX = 0x0a0c,
  22. _3dViewportTranslateY = 0x0a10,
  23. _3dViewportTranslateZ = 0x0a14,
  24. _3dViewportHoriz = 0x0c00,
  25. _3dViewportVert = 0x0c04,
  26. _3dDepthRangeNear = 0x0c08,
  27. _3dDepthRangeFar = 0x0c0c,
  28. _3dClearColorR = 0x0d80,
  29. _3dClearColorG = 0x0d84,
  30. _3dClearColorB = 0x0d88,
  31. _3dClearColorA = 0x0d8c,
  32. _3dScreenScissorHoriz = 0x0ff4,
  33. _3dScreenScissorVert = 0x0ff8,
  34. _3dVertexAttrib0Format = 0x1160,
  35. _3dVertexAttrib1Format = 0x1164,
  36. _3dVertexAttrib2Format = 0x1168,
  37. _3dVertexAttrib3Format = 0x116c,
  38. _3dVertexAttrib4Format = 0x1170,
  39. _3dVertexAttrib5Format = 0x1174,
  40. _3dVertexAttrib6Format = 0x1178,
  41. _3dVertexAttrib7Format = 0x117c,
  42. _3dVertexAttrib8Format = 0x1180,
  43. _3dVertexAttrib9Format = 0x1184,
  44. _3dVertexAttrib10Format = 0x1188,
  45. _3dVertexAttrib11Format = 0x118c,
  46. _3dVertexAttrib12Format = 0x1190,
  47. _3dVertexAttrib13Format = 0x1194,
  48. _3dVertexAttrib14Format = 0x1198,
  49. _3dVertexAttrib15Format = 0x119c,
  50. _3dScreenYControl = 0x13ac,
  51. _3dTscAddressHigh = 0x155c,
  52. _3dTscAddressLow = 0x1560,
  53. _3dTscLimit = 0x1564,
  54. _3dTicAddressHigh = 0x1574,
  55. _3dTicAddressLow = 0x1578,
  56. _3dTicLimit = 0x157c,
  57. _3dMultiSampleMode = 0x15d0,
  58. _3dVertexEndGl = 0x1614,
  59. _3dVertexBeginGl = 0x1618,
  60. _3dQueryAddressHigh = 0x1b00,
  61. _3dQueryAddressLow = 0x1b04,
  62. _3dQuerySequence = 0x1b08,
  63. _3dQueryGet = 0x1b0c,
  64. _3dVertexArray0Fetch = 0x1c00,
  65. _3dVertexArray0StartHigh = 0x1c04,
  66. _3dVertexArray0StartLow = 0x1c08,
  67. _3dVertexArray1Fetch = 0x1c10, //todo: the rest
  68. _3dVertexArray0LimitHigh = 0x1f00,
  69. _3dVertexArray0LimitLow = 0x1f04,
  70. _3dCbSize = 0x2380,
  71. _3dCbAddressHigh = 0x2384,
  72. _3dCbAddressLow = 0x2388,
  73. _3dCbPos = 0x238c,
  74. _3dCbData0 = 0x2390,
  75. _3dCbData1 = 0x2394,
  76. _3dCbData2 = 0x2398,
  77. _3dCbData3 = 0x239c,
  78. _3dCbData4 = 0x23a0,
  79. _3dCbData5 = 0x23a4,
  80. _3dCbData6 = 0x23a8,
  81. _3dCbData7 = 0x23ac,
  82. _3dCbData8 = 0x23b0,
  83. _3dCbData9 = 0x23b4,
  84. _3dCbData10 = 0x23b8,
  85. _3dCbData11 = 0x23bc,
  86. _3dCbData12 = 0x23c0,
  87. _3dCbData13 = 0x23c4,
  88. _3dCbData14 = 0x23c8,
  89. _3dCbData15 = 0x23cc,
  90. _3dSetShader = 0x3890
  91. }
  92. }