Home
last modified time | relevance | path

Searched refs:srcsz (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/panfrost/bifrost/
Dbifrost_nir_algebraic.py67 srcsz = srcsz_min variable
68 while srcsz <= srcsz_max:
72 if srcsz != dstsz and ((srcsz * 2 != dstsz and srcsz != dstsz * 2) or op[0] != op[2]):
73 cursz = srcsz
79 sizeconvop = op[0] + '2' + op[0] if srcsz < dstsz else op[2] + '2' + op[2]
80 if srcsz > dstsz and op[0] != op[2]:
83 cursz = cursz / 2 if dstsz < srcsz else cursz * 2
85 if srcsz < dstsz and op[0] != op[2]:
87 converts += [((op + str(int(dstsz)), 'a@' + str(int(srcsz))), rule)]
88 srcsz *= 2
/external/mesa3d/src/panfrost/midgard/
Dmidgard_nir_algebraic.py92 srcsz = srcsz_min variable
93 while srcsz <= srcsz_max:
96 if srcsz != dstsz and (srcsz * 2 != dstsz and srcsz != dstsz * 2):
97 cursz = srcsz
103 sizeconvop = op[0] + '2' + op[0] if srcsz < dstsz else op[2] + '2' + op[2]
104 if srcsz > dstsz and op[0] != op[2]:
107 cursz = cursz / 2 if dstsz < srcsz else cursz * 2
109 if srcsz < dstsz and op[0] != op[2]:
111 converts += [((op + str(int(dstsz)), 'a@' + str(int(srcsz))), rule)]
112 srcsz *= 2