You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Cafe/HW/Latte/Core/LatteConst.h
+15-9
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,27 @@
1
1
#pragma once
2
2
#include"Cafe/HW/Latte/ISA/LatteReg.h"
3
3
4
-
// this file contains legacy C-style defines, modernize and merge into LatteReg.h
4
+
//todo - this file contains legacy C-style defines, modernize and merge into LatteReg.h
5
5
6
6
// GPU7/Latte hardware info
7
7
8
-
#defineLATTE_NUM_GPR(128)
9
-
#defineLATTE_NUM_STREAMOUT_BUFFER(4)
10
-
#defineLATTE_NUM_COLOR_TARGET(8)
8
+
#defineLATTE_NUM_GPR128
9
+
#defineLATTE_NUM_STREAMOUT_BUFFER4
10
+
#defineLATTE_NUM_COLOR_TARGET8
11
11
12
-
#defineLATTE_NUM_MAX_TEX_UNITS(18)// number of available texture units per shader stage (this might be higher than 18? BotW is the only game which uses more than 16?)
13
-
#defineLATTE_NUM_MAX_UNIFORM_BUFFERS(16)// number of supported uniform buffer binding locations
12
+
#defineLATTE_NUM_MAX_TEX_UNITS18// number of available texture units per shader stage (this might be higher than 18? BotW is the only game which uses more than 16?)
13
+
#defineLATTE_NUM_MAX_UNIFORM_BUFFERS16// number of supported uniform buffer binding locations
0 commit comments