Advertisement
Guest User

Untitled

a guest
Oct 15th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 483.64 KB | None | 0 0
  1. [1/105] Compiling C object src/intel/vulkan/libanv_gen70.a.p/gen7_cmd_buffer.c.o
  2. In file included from ../src/intel/vulkan/anv_private.h:46,
  3. from ../src/intel/vulkan/gen7_cmd_buffer.c:30:
  4. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6. 34 | void *end = start + size;
  7. | ^
  8. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  9. 38 | p += CACHELINE_SIZE;
  10. | ^~
  11. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  12. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  13. 64 | __builtin_ia32_clflush(start + size - 1);
  14. | ^
  15. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  16. 64 | __builtin_ia32_clflush(start + size - 1);
  17. | ^
  18. In file included from ../src/intel/vulkan/gen7_cmd_buffer.c:30:
  19. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  20. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  21. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  22. | ^
  23. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  24. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  25. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  26. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  27. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  28. | ^
  29. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  30. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  31. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  32. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  33. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  34. | ^
  35. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  36. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  37. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  38. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  39. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  40. | ^
  41. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  42. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  43. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  44. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  45. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  46. | ^
  47. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  48. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  49. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  50. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  51. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  52. | ^
  53. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  54. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  55. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  56. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  57. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  58. | ^
  59. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  60. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  61. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  62. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  63. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  64. | ^
  65. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  66. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  67. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  68. In file included from ../src/intel/vulkan/gen7_cmd_buffer.c:30:
  69. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  70. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  71. 1710 | batch->end = map + size;
  72. | ^
  73. ../src/intel/vulkan/gen7_cmd_buffer.c: In function ‘gen7_cmd_buffer_emit_scissor’:
  74. ../src/intel/vulkan/gen7_cmd_buffer.c:106:57: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  75. 106 | GEN7_SCISSOR_RECT_pack(NULL, scissor_state.map + i * 8,
  76. | ^
  77. ../src/intel/vulkan/gen7_cmd_buffer.c:109:57: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  78. 109 | GEN7_SCISSOR_RECT_pack(NULL, scissor_state.map + i * 8, &scissor);
  79. | ^
  80. [2/105] Compiling C object src/intel/vulkan/libanv_gen70.a.p/genX_gpu_memcpy.c.o
  81. In file included from ../src/intel/vulkan/anv_private.h:46,
  82. from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  83. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  84. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  85. 34 | void *end = start + size;
  86. | ^
  87. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  88. 38 | p += CACHELINE_SIZE;
  89. | ^~
  90. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  91. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  92. 64 | __builtin_ia32_clflush(start + size - 1);
  93. | ^
  94. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  95. 64 | __builtin_ia32_clflush(start + size - 1);
  96. | ^
  97. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  98. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  99. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  100. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  101. | ^
  102. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  103. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  104. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  105. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  106. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  107. | ^
  108. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  109. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  110. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  111. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  112. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  113. | ^
  114. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  115. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  116. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  117. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  118. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  119. | ^
  120. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  121. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  122. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  123. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  124. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  125. | ^
  126. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  127. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  128. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  129. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  130. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  131. | ^
  132. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  133. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  134. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  135. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  136. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  137. | ^
  138. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  139. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  140. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  141. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  142. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  143. | ^
  144. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  145. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  146. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  147. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  148. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  149. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  150. 1710 | batch->end = map + size;
  151. | ^
  152. [3/105] Compiling C object src/intel/vulkan/libanv_gen70.a.p/genX_blorp_exec.c.o
  153. In file included from ../src/intel/vulkan/anv_private.h:46,
  154. from ../src/intel/vulkan/genX_blorp_exec.c:26:
  155. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  156. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  157. 34 | void *end = start + size;
  158. | ^
  159. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  160. 38 | p += CACHELINE_SIZE;
  161. | ^~
  162. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  163. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  164. 64 | __builtin_ia32_clflush(start + size - 1);
  165. | ^
  166. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  167. 64 | __builtin_ia32_clflush(start + size - 1);
  168. | ^
  169. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  170. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  171. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  172. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  173. | ^
  174. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  175. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  176. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  177. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  178. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  179. | ^
  180. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  181. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  182. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  183. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  184. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  185. | ^
  186. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  187. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  188. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  189. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  190. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  191. | ^
  192. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  193. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  194. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  195. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  196. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  197. | ^
  198. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  199. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  200. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  201. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  202. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  203. | ^
  204. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  205. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  206. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  207. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  208. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  209. | ^
  210. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  211. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  212. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  213. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  214. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  215. | ^
  216. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  217. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  218. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  219. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  220. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  221. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  222. 1710 | batch->end = map + size;
  223. | ^
  224. In file included from ../src/intel/vulkan/genX_blorp_exec.c:35:
  225. ../src/intel/blorp/blorp_genX_exec.h: In function ‘blorp_emit_surface_state’:
  226. ../src/intel/blorp/blorp_genX_exec.h:1464:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  227. 1464 | uint32_t *aux_addr = state + isl_dev->ss.aux_addr_offset;
  228. | ^
  229. [4/105] Compiling C object src/intel/vulkan/libanv_gen80.a.p/genX_blorp_exec.c.o
  230. In file included from ../src/intel/vulkan/anv_private.h:46,
  231. from ../src/intel/vulkan/genX_blorp_exec.c:26:
  232. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  233. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  234. 34 | void *end = start + size;
  235. | ^
  236. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  237. 38 | p += CACHELINE_SIZE;
  238. | ^~
  239. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  240. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  241. 64 | __builtin_ia32_clflush(start + size - 1);
  242. | ^
  243. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  244. 64 | __builtin_ia32_clflush(start + size - 1);
  245. | ^
  246. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  247. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  248. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  249. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  250. | ^
  251. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  252. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  253. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  254. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  255. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  256. | ^
  257. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  258. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  259. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  260. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  261. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  262. | ^
  263. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  264. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  265. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  266. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  267. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  268. | ^
  269. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  270. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  271. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  272. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  273. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  274. | ^
  275. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  276. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  277. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  278. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  279. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  280. | ^
  281. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  282. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  283. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  285. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  286. | ^
  287. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  288. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  289. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  290. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  291. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  292. | ^
  293. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  294. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  295. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  296. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  297. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  298. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  299. 1710 | batch->end = map + size;
  300. | ^
  301. In file included from ../src/intel/vulkan/genX_blorp_exec.c:35:
  302. ../src/intel/blorp/blorp_genX_exec.h: In function ‘blorp_emit_surface_state’:
  303. ../src/intel/blorp/blorp_genX_exec.h:1464:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  304. 1464 | uint32_t *aux_addr = state + isl_dev->ss.aux_addr_offset;
  305. | ^
  306. [5/105] Compiling C object src/intel/vulkan/libanv_gen75.a.p/genX_blorp_exec.c.o
  307. In file included from ../src/intel/vulkan/anv_private.h:46,
  308. from ../src/intel/vulkan/genX_blorp_exec.c:26:
  309. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  310. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  311. 34 | void *end = start + size;
  312. | ^
  313. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  314. 38 | p += CACHELINE_SIZE;
  315. | ^~
  316. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  317. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  318. 64 | __builtin_ia32_clflush(start + size - 1);
  319. | ^
  320. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  321. 64 | __builtin_ia32_clflush(start + size - 1);
  322. | ^
  323. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  324. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  325. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  326. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  327. | ^
  328. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  329. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  330. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  331. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  332. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  333. | ^
  334. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  335. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  336. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  337. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  338. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  339. | ^
  340. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  341. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  342. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  343. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  344. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  345. | ^
  346. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  347. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  348. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  349. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  350. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  351. | ^
  352. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  353. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  354. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  355. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  356. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  357. | ^
  358. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  359. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  360. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  361. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  362. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  363. | ^
  364. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  365. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  366. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  367. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  368. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  369. | ^
  370. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  371. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  372. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  373. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  374. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  375. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  376. 1710 | batch->end = map + size;
  377. | ^
  378. In file included from ../src/intel/vulkan/genX_blorp_exec.c:35:
  379. ../src/intel/blorp/blorp_genX_exec.h: In function ‘blorp_emit_surface_state’:
  380. ../src/intel/blorp/blorp_genX_exec.h:1464:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  381. 1464 | uint32_t *aux_addr = state + isl_dev->ss.aux_addr_offset;
  382. | ^
  383. [6/105] Compiling C object src/intel/vulkan/libanv_gen70.a.p/genX_cmd_buffer.c.o
  384. In file included from ../src/intel/vulkan/anv_private.h:46,
  385. from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  386. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  387. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  388. 34 | void *end = start + size;
  389. | ^
  390. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  391. 38 | p += CACHELINE_SIZE;
  392. | ^~
  393. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  394. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  395. 64 | __builtin_ia32_clflush(start + size - 1);
  396. | ^
  397. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  398. 64 | __builtin_ia32_clflush(start + size - 1);
  399. | ^
  400. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  401. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  402. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  403. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  404. | ^
  405. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  406. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  407. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  408. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  409. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  410. | ^
  411. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  412. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  413. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  414. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  415. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  416. | ^
  417. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  418. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  419. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  420. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  421. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  422. | ^
  423. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  424. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  425. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  426. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  427. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  428. | ^
  429. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  430. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  431. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  432. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  433. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  434. | ^
  435. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  436. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  437. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  438. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  439. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  440. | ^
  441. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  442. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  443. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  444. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  445. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  446. | ^
  447. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  448. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  449. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  450. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  451. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  452. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  453. 1710 | batch->end = map + size;
  454. | ^
  455. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘gen7_cmd_buffer_alloc_att_surf_states’:
  456. ../src/intel/vulkan/genX_cmd_buffer.c:1482:19: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  457. 1482 | next_state.map += ss_stride;
  458. | ^~
  459. ../src/intel/vulkan/genX_cmd_buffer.c:1505:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  460. 1505 | next_state.map += ss_stride;
  461. | ^~
  462. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘emit_samplers’:
  463. ../src/intel/vulkan/genX_cmd_buffer.c:2775:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  464. 2775 | memcpy(state->map + (s * 16),
  465. | ^
  466. [7/105] Compiling C object src/intel/vulkan/libanv_gen80.a.p/genX_cmd_buffer.c.o
  467. In file included from ../src/intel/vulkan/anv_private.h:46,
  468. from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  469. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  470. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  471. 34 | void *end = start + size;
  472. | ^
  473. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  474. 38 | p += CACHELINE_SIZE;
  475. | ^~
  476. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  477. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  478. 64 | __builtin_ia32_clflush(start + size - 1);
  479. | ^
  480. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  481. 64 | __builtin_ia32_clflush(start + size - 1);
  482. | ^
  483. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  484. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  485. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  486. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  487. | ^
  488. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  489. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  490. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  491. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  492. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  493. | ^
  494. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  495. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  496. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  497. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  498. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  499. | ^
  500. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  501. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  502. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  503. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  504. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  505. | ^
  506. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  507. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  508. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  509. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  510. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  511. | ^
  512. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  513. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  514. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  515. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  516. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  517. | ^
  518. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  519. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  520. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  521. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  522. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  523. | ^
  524. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  525. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  526. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  527. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  528. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  529. | ^
  530. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  531. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  532. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  533. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  534. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  535. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  536. 1710 | batch->end = map + size;
  537. | ^
  538. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘gen8_cmd_buffer_alloc_att_surf_states’:
  539. ../src/intel/vulkan/genX_cmd_buffer.c:1482:19: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  540. 1482 | next_state.map += ss_stride;
  541. | ^~
  542. ../src/intel/vulkan/genX_cmd_buffer.c:1505:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  543. 1505 | next_state.map += ss_stride;
  544. | ^~
  545. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘emit_samplers’:
  546. ../src/intel/vulkan/genX_cmd_buffer.c:2775:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  547. 2775 | memcpy(state->map + (s * 16),
  548. | ^
  549. [8/105] Compiling C object src/intel/vulkan/libanv_gen70.a.p/genX_state.c.o
  550. In file included from ../src/intel/vulkan/anv_private.h:46,
  551. from ../src/intel/vulkan/genX_state.c:30:
  552. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  553. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  554. 34 | void *end = start + size;
  555. | ^
  556. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  557. 38 | p += CACHELINE_SIZE;
  558. | ^~
  559. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  560. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  561. 64 | __builtin_ia32_clflush(start + size - 1);
  562. | ^
  563. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  564. 64 | __builtin_ia32_clflush(start + size - 1);
  565. | ^
  566. In file included from ../src/intel/vulkan/genX_state.c:30:
  567. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  568. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  569. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  570. | ^
  571. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  572. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  573. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  574. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  575. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  576. | ^
  577. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  578. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  579. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  580. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  581. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  582. | ^
  583. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  584. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  585. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  586. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  587. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  588. | ^
  589. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  590. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  591. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  592. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  593. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  594. | ^
  595. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  596. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  597. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  598. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  599. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  600. | ^
  601. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  602. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  603. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  604. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  605. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  606. | ^
  607. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  608. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  609. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  610. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  611. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  612. | ^
  613. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  614. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  615. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  616. In file included from ../src/intel/vulkan/genX_state.c:30:
  617. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  618. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  619. 1710 | batch->end = map + size;
  620. | ^
  621. ../src/intel/vulkan/genX_state.c: In function ‘gen7_init_device_state’:
  622. ../src/intel/vulkan/genX_state.c:119:30: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  623. 119 | batch.end = (void *) cmds + sizeof(cmds);
  624. | ^
  625. ../src/intel/vulkan/genX_state.c: In function ‘gen7_CreateSampler’:
  626. ../src/intel/vulkan/genX_state.c:569:45: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  627. 569 | memcpy(sampler->bindless_state.map + p * 32,
  628. | ^
  629. [9/105] Compiling C object src/intel/vulkan/libanv_gen75.a.p/genX_gpu_memcpy.c.o
  630. In file included from ../src/intel/vulkan/anv_private.h:46,
  631. from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  632. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  633. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  634. 34 | void *end = start + size;
  635. | ^
  636. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  637. 38 | p += CACHELINE_SIZE;
  638. | ^~
  639. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  640. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  641. 64 | __builtin_ia32_clflush(start + size - 1);
  642. | ^
  643. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  644. 64 | __builtin_ia32_clflush(start + size - 1);
  645. | ^
  646. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  647. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  648. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  649. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  650. | ^
  651. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  652. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  653. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  654. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  655. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  656. | ^
  657. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  658. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  659. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  660. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  661. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  662. | ^
  663. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  664. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  665. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  666. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  667. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  668. | ^
  669. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  670. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  671. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  672. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  673. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  674. | ^
  675. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  676. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  677. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  678. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  679. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  680. | ^
  681. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  682. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  683. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  684. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  685. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  686. | ^
  687. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  688. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  689. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  690. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  691. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  692. | ^
  693. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  694. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  695. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  696. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  697. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  698. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  699. 1710 | batch->end = map + size;
  700. | ^
  701. [10/105] Compiling C object src/intel/vulkan/libanv_gen70.a.p/genX_pipeline.c.o
  702. In file included from ../src/intel/vulkan/anv_private.h:46,
  703. from ../src/intel/vulkan/genX_pipeline.c:24:
  704. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  705. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  706. 34 | void *end = start + size;
  707. | ^
  708. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  709. 38 | p += CACHELINE_SIZE;
  710. | ^~
  711. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  712. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  713. 64 | __builtin_ia32_clflush(start + size - 1);
  714. | ^
  715. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  716. 64 | __builtin_ia32_clflush(start + size - 1);
  717. | ^
  718. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  719. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  720. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  721. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  722. | ^
  723. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  724. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  725. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  726. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  727. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  728. | ^
  729. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  730. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  731. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  732. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  733. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  734. | ^
  735. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  736. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  737. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  738. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  739. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  740. | ^
  741. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  742. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  743. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  744. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  745. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  746. | ^
  747. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  748. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  749. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  750. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  751. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  752. | ^
  753. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  754. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  755. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  756. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  757. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  758. | ^
  759. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  760. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  761. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  762. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  763. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  764. | ^
  765. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  766. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  767. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  768. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  769. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  770. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  771. 1710 | batch->end = map + size;
  772. | ^
  773. [11/105] Generating git_sha1.h with a custom command
  774. [12/87] Compiling C object src/intel/vulkan/libanv_gen70.a.p/genX_query.c.o
  775. In file included from ../src/intel/vulkan/anv_private.h:46,
  776. from ../src/intel/vulkan/genX_query.c:30:
  777. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  778. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  779. 34 | void *end = start + size;
  780. | ^
  781. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  782. 38 | p += CACHELINE_SIZE;
  783. | ^~
  784. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  785. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  786. 64 | __builtin_ia32_clflush(start + size - 1);
  787. | ^
  788. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  789. 64 | __builtin_ia32_clflush(start + size - 1);
  790. | ^
  791. In file included from ../src/intel/vulkan/genX_query.c:30:
  792. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  793. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  794. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  795. | ^
  796. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  797. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  798. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  799. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  800. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  801. | ^
  802. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  803. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  804. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  805. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  806. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  807. | ^
  808. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  809. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  810. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  811. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  812. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  813. | ^
  814. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  815. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  816. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  817. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  818. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  819. | ^
  820. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  821. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  822. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  823. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  824. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  825. | ^
  826. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  827. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  828. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  829. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  830. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  831. | ^
  832. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  833. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  834. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  835. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  836. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  837. | ^
  838. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  839. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  840. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  841. In file included from ../src/intel/vulkan/genX_query.c:30:
  842. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  843. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  844. 1710 | batch->end = map + size;
  845. | ^
  846. ../src/intel/vulkan/genX_query.c: In function ‘gen7_CreateQueryPool’:
  847. ../src/intel/vulkan/genX_query.c:187:36: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  848. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  849. | ^
  850. ../src/intel/vulkan/genX_query.c:187:66: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  851. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  852. | ^
  853. ../src/intel/vulkan/genX_query.c:188:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  854. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  855. | ^
  856. ../src/intel/vulkan/genX_query.c:188:64: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  857. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  858. | ^
  859. In file included from ../src/util/fast_idiv_by_const.h:33,
  860. from ../src/intel/common/gen_mi_builder.h:29,
  861. from ../src/intel/vulkan/genX_query.c:44:
  862. ../src/intel/vulkan/genX_query.c:196:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  863. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  864. | ^
  865. ../src/intel/vulkan/genX_query.c:196:76: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  866. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  867. | ^
  868. ../src/intel/vulkan/genX_query.c: In function ‘query_slot’:
  869. ../src/intel/vulkan/genX_query.c:359:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  870. 359 | return pool->bo->map + query * pool->stride;
  871. | ^
  872. ../src/intel/vulkan/genX_query.c: In function ‘query_is_available’:
  873. ../src/intel/vulkan/genX_query.c:368:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  874. 368 | pool->bo->map + khr_perf_query_availability_offset(pool, query, p);
  875. | ^
  876. ../src/intel/vulkan/genX_query.c: In function ‘gen7_GetQueryPoolResults’:
  877. ../src/intel/vulkan/genX_query.c:421:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  878. 421 | void *data_end = pData + dataSize;
  879. | ^
  880. ../src/intel/vulkan/genX_query.c:532:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  881. 532 | const uint32_t *oa_begin = query_data + intel_perf_mi_rpc_offset(false);
  882. | ^
  883. ../src/intel/vulkan/genX_query.c:533:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  884. 533 | const uint32_t *oa_end = query_data + intel_perf_mi_rpc_offset(true);
  885. | ^
  886. ../src/intel/vulkan/genX_query.c:534:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  887. 534 | const uint32_t *rpstat_begin = query_data + intel_perf_rpstart_offset(false);
  888. | ^
  889. ../src/intel/vulkan/genX_query.c:535:50: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  890. 535 | const uint32_t *rpstat_end = query_data + intel_perf_mi_rpc_offset(true);
  891. | ^
  892. ../src/intel/vulkan/genX_query.c:559:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  893. 559 | const uint64_t *marker = query_data + intel_perf_marker_offset();
  894. | ^
  895. ../src/intel/vulkan/genX_query.c:574:13: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  896. 574 | pData += stride;
  897. | ^~
  898. ../src/intel/vulkan/genX_query.c: In function ‘gen7_ResetQueryPool’:
  899. ../src/intel/vulkan/genX_query.c:766:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  900. 766 | uint64_t *pass_slot = pool->bo->map +
  901. | ^
  902. [13/87] Compiling C object src/intel/vulkan/libanv_gen75.a.p/genX_cmd_buffer.c.o
  903. In file included from ../src/intel/vulkan/anv_private.h:46,
  904. from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  905. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  906. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  907. 34 | void *end = start + size;
  908. | ^
  909. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  910. 38 | p += CACHELINE_SIZE;
  911. | ^~
  912. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  913. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  914. 64 | __builtin_ia32_clflush(start + size - 1);
  915. | ^
  916. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  917. 64 | __builtin_ia32_clflush(start + size - 1);
  918. | ^
  919. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  920. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  921. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  922. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  923. | ^
  924. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  925. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  926. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  927. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  928. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  929. | ^
  930. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  931. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  932. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  933. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  934. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  935. | ^
  936. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  937. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  938. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  939. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  940. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  941. | ^
  942. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  943. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  944. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  945. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  946. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  947. | ^
  948. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  949. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  950. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  951. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  952. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  953. | ^
  954. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  955. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  956. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  957. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  958. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  959. | ^
  960. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  961. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  962. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  963. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  964. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  965. | ^
  966. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  967. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  968. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  969. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  970. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  971. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  972. 1710 | batch->end = map + size;
  973. | ^
  974. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘gen75_cmd_buffer_alloc_att_surf_states’:
  975. ../src/intel/vulkan/genX_cmd_buffer.c:1482:19: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  976. 1482 | next_state.map += ss_stride;
  977. | ^~
  978. ../src/intel/vulkan/genX_cmd_buffer.c:1505:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  979. 1505 | next_state.map += ss_stride;
  980. | ^~
  981. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘emit_samplers’:
  982. ../src/intel/vulkan/genX_cmd_buffer.c:2775:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  983. 2775 | memcpy(state->map + (s * 16),
  984. | ^
  985. [14/87] Compiling C object src/intel/vulkan/libanv_gen75.a.p/genX_state.c.o
  986. In file included from ../src/intel/vulkan/anv_private.h:46,
  987. from ../src/intel/vulkan/genX_state.c:30:
  988. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  989. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  990. 34 | void *end = start + size;
  991. | ^
  992. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  993. 38 | p += CACHELINE_SIZE;
  994. | ^~
  995. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  996. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  997. 64 | __builtin_ia32_clflush(start + size - 1);
  998. | ^
  999. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1000. 64 | __builtin_ia32_clflush(start + size - 1);
  1001. | ^
  1002. In file included from ../src/intel/vulkan/genX_state.c:30:
  1003. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1004. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1005. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1006. | ^
  1007. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1008. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1009. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1010. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1011. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1012. | ^
  1013. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1014. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1015. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1016. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1017. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1018. | ^
  1019. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1020. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1021. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1022. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1023. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1024. | ^
  1025. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1026. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1027. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1028. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1029. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1030. | ^
  1031. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1032. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1033. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1034. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1035. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1036. | ^
  1037. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1038. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1039. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1040. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1041. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1042. | ^
  1043. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1044. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1045. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1046. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1047. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1048. | ^
  1049. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1050. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1051. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1052. In file included from ../src/intel/vulkan/genX_state.c:30:
  1053. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1054. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1055. 1710 | batch->end = map + size;
  1056. | ^
  1057. ../src/intel/vulkan/genX_state.c: In function ‘gen75_init_device_state’:
  1058. ../src/intel/vulkan/genX_state.c:119:30: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1059. 119 | batch.end = (void *) cmds + sizeof(cmds);
  1060. | ^
  1061. ../src/intel/vulkan/genX_state.c: In function ‘gen75_CreateSampler’:
  1062. ../src/intel/vulkan/genX_state.c:569:45: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1063. 569 | memcpy(sampler->bindless_state.map + p * 32,
  1064. | ^
  1065. [15/87] Compiling C object src/intel/vulkan/libanv_gen75.a.p/genX_pipeline.c.o
  1066. In file included from ../src/intel/vulkan/anv_private.h:46,
  1067. from ../src/intel/vulkan/genX_pipeline.c:24:
  1068. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1069. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1070. 34 | void *end = start + size;
  1071. | ^
  1072. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1073. 38 | p += CACHELINE_SIZE;
  1074. | ^~
  1075. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1076. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1077. 64 | __builtin_ia32_clflush(start + size - 1);
  1078. | ^
  1079. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1080. 64 | __builtin_ia32_clflush(start + size - 1);
  1081. | ^
  1082. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  1083. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1084. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1085. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1086. | ^
  1087. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1088. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1089. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1090. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1091. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1092. | ^
  1093. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1094. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1095. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1096. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1097. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1098. | ^
  1099. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1100. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1101. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1102. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1103. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1104. | ^
  1105. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1106. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1107. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1108. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1109. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1110. | ^
  1111. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1112. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1113. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1114. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1115. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1116. | ^
  1117. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1118. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1119. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1120. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1121. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1122. | ^
  1123. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1124. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1125. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1126. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1127. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1128. | ^
  1129. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1130. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1131. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1132. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  1133. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1134. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1135. 1710 | batch->end = map + size;
  1136. | ^
  1137. [16/87] Compiling C object src/intel/vulkan/libanv_gen80.a.p/genX_gpu_memcpy.c.o
  1138. In file included from ../src/intel/vulkan/anv_private.h:46,
  1139. from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  1140. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1141. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1142. 34 | void *end = start + size;
  1143. | ^
  1144. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1145. 38 | p += CACHELINE_SIZE;
  1146. | ^~
  1147. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1148. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1149. 64 | __builtin_ia32_clflush(start + size - 1);
  1150. | ^
  1151. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1152. 64 | __builtin_ia32_clflush(start + size - 1);
  1153. | ^
  1154. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  1155. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1156. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1157. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1158. | ^
  1159. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1160. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1161. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1162. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1163. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1164. | ^
  1165. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1166. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1167. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1168. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1169. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1170. | ^
  1171. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1172. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1173. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1174. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1175. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1176. | ^
  1177. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1178. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1179. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1180. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1181. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1182. | ^
  1183. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1184. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1185. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1186. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1187. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1188. | ^
  1189. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1190. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1191. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1192. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1193. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1194. | ^
  1195. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1196. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1197. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1198. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1199. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1200. | ^
  1201. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1202. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1203. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1204. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  1205. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1206. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1207. 1710 | batch->end = map + size;
  1208. | ^
  1209. [17/87] Compiling C object src/intel/vulkan/libanv_gen75.a.p/gen7_cmd_buffer.c.o
  1210. In file included from ../src/intel/vulkan/anv_private.h:46,
  1211. from ../src/intel/vulkan/gen7_cmd_buffer.c:30:
  1212. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1213. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1214. 34 | void *end = start + size;
  1215. | ^
  1216. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1217. 38 | p += CACHELINE_SIZE;
  1218. | ^~
  1219. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1220. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1221. 64 | __builtin_ia32_clflush(start + size - 1);
  1222. | ^
  1223. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1224. 64 | __builtin_ia32_clflush(start + size - 1);
  1225. | ^
  1226. In file included from ../src/intel/vulkan/gen7_cmd_buffer.c:30:
  1227. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1228. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1229. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1230. | ^
  1231. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1232. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1233. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1234. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1235. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1236. | ^
  1237. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1238. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1239. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1240. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1241. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1242. | ^
  1243. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1244. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1245. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1246. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1247. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1248. | ^
  1249. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1250. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1251. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1252. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1253. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1254. | ^
  1255. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1256. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1257. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1258. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1259. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1260. | ^
  1261. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1262. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1263. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1264. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1265. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1266. | ^
  1267. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1268. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1269. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1270. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1271. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1272. | ^
  1273. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1274. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1275. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1276. In file included from ../src/intel/vulkan/gen7_cmd_buffer.c:30:
  1277. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1278. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1279. 1710 | batch->end = map + size;
  1280. | ^
  1281. [18/87] Compiling C object src/intel/vulkan/libanv_gen80.a.p/genX_state.c.o
  1282. In file included from ../src/intel/vulkan/anv_private.h:46,
  1283. from ../src/intel/vulkan/genX_state.c:30:
  1284. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1285. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1286. 34 | void *end = start + size;
  1287. | ^
  1288. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1289. 38 | p += CACHELINE_SIZE;
  1290. | ^~
  1291. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1292. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1293. 64 | __builtin_ia32_clflush(start + size - 1);
  1294. | ^
  1295. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1296. 64 | __builtin_ia32_clflush(start + size - 1);
  1297. | ^
  1298. In file included from ../src/intel/vulkan/genX_state.c:30:
  1299. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1300. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1301. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1302. | ^
  1303. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1304. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1305. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1306. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1307. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1308. | ^
  1309. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1310. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1311. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1312. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1313. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1314. | ^
  1315. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1316. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1317. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1318. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1319. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1320. | ^
  1321. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1322. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1323. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1324. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1325. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1326. | ^
  1327. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1328. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1329. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1330. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1331. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1332. | ^
  1333. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1334. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1335. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1336. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1337. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1338. | ^
  1339. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1340. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1341. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1342. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1343. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1344. | ^
  1345. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1346. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1347. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1348. In file included from ../src/intel/vulkan/genX_state.c:30:
  1349. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1350. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1351. 1710 | batch->end = map + size;
  1352. | ^
  1353. ../src/intel/vulkan/genX_state.c: In function ‘gen8_init_device_state’:
  1354. ../src/intel/vulkan/genX_state.c:119:30: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1355. 119 | batch.end = (void *) cmds + sizeof(cmds);
  1356. | ^
  1357. ../src/intel/vulkan/genX_state.c: In function ‘gen8_CreateSampler’:
  1358. ../src/intel/vulkan/genX_state.c:569:45: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1359. 569 | memcpy(sampler->bindless_state.map + p * 32,
  1360. | ^
  1361. [19/87] Compiling C object src/intel/vulkan/libanv_gen75.a.p/genX_query.c.o
  1362. In file included from ../src/intel/vulkan/anv_private.h:46,
  1363. from ../src/intel/vulkan/genX_query.c:30:
  1364. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1365. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1366. 34 | void *end = start + size;
  1367. | ^
  1368. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1369. 38 | p += CACHELINE_SIZE;
  1370. | ^~
  1371. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1372. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1373. 64 | __builtin_ia32_clflush(start + size - 1);
  1374. | ^
  1375. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1376. 64 | __builtin_ia32_clflush(start + size - 1);
  1377. | ^
  1378. In file included from ../src/intel/vulkan/genX_query.c:30:
  1379. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1380. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1381. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1382. | ^
  1383. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1384. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1385. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1386. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1387. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1388. | ^
  1389. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1390. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1391. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1392. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1393. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1394. | ^
  1395. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1396. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1397. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1398. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1399. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1400. | ^
  1401. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1402. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1403. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1404. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1405. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1406. | ^
  1407. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1408. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1409. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1410. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1411. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1412. | ^
  1413. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1414. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1415. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1416. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1417. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1418. | ^
  1419. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1420. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1421. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1422. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1423. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1424. | ^
  1425. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1426. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1427. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1428. In file included from ../src/intel/vulkan/genX_query.c:30:
  1429. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1430. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1431. 1710 | batch->end = map + size;
  1432. | ^
  1433. ../src/intel/vulkan/genX_query.c: In function ‘gen75_CreateQueryPool’:
  1434. ../src/intel/vulkan/genX_query.c:187:36: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1435. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  1436. | ^
  1437. ../src/intel/vulkan/genX_query.c:187:66: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1438. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  1439. | ^
  1440. ../src/intel/vulkan/genX_query.c:188:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1441. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  1442. | ^
  1443. ../src/intel/vulkan/genX_query.c:188:64: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1444. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  1445. | ^
  1446. In file included from ../src/util/fast_idiv_by_const.h:33,
  1447. from ../src/intel/common/gen_mi_builder.h:29,
  1448. from ../src/intel/vulkan/genX_query.c:44:
  1449. ../src/intel/vulkan/genX_query.c:196:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1450. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  1451. | ^
  1452. ../src/intel/vulkan/genX_query.c:196:76: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1453. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  1454. | ^
  1455. ../src/intel/vulkan/genX_query.c: In function ‘query_slot’:
  1456. ../src/intel/vulkan/genX_query.c:359:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1457. 359 | return pool->bo->map + query * pool->stride;
  1458. | ^
  1459. ../src/intel/vulkan/genX_query.c: In function ‘query_is_available’:
  1460. ../src/intel/vulkan/genX_query.c:368:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1461. 368 | pool->bo->map + khr_perf_query_availability_offset(pool, query, p);
  1462. | ^
  1463. ../src/intel/vulkan/genX_query.c: In function ‘gen75_GetQueryPoolResults’:
  1464. ../src/intel/vulkan/genX_query.c:421:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1465. 421 | void *data_end = pData + dataSize;
  1466. | ^
  1467. ../src/intel/vulkan/genX_query.c:532:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1468. 532 | const uint32_t *oa_begin = query_data + intel_perf_mi_rpc_offset(false);
  1469. | ^
  1470. ../src/intel/vulkan/genX_query.c:533:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1471. 533 | const uint32_t *oa_end = query_data + intel_perf_mi_rpc_offset(true);
  1472. | ^
  1473. ../src/intel/vulkan/genX_query.c:534:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1474. 534 | const uint32_t *rpstat_begin = query_data + intel_perf_rpstart_offset(false);
  1475. | ^
  1476. ../src/intel/vulkan/genX_query.c:535:50: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1477. 535 | const uint32_t *rpstat_end = query_data + intel_perf_mi_rpc_offset(true);
  1478. | ^
  1479. ../src/intel/vulkan/genX_query.c:559:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1480. 559 | const uint64_t *marker = query_data + intel_perf_marker_offset();
  1481. | ^
  1482. ../src/intel/vulkan/genX_query.c:574:13: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1483. 574 | pData += stride;
  1484. | ^~
  1485. ../src/intel/vulkan/genX_query.c: In function ‘gen75_ResetQueryPool’:
  1486. ../src/intel/vulkan/genX_query.c:766:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1487. 766 | uint64_t *pass_slot = pool->bo->map +
  1488. | ^
  1489. [20/87] Compiling C object src/intel/vulkan/libanv_gen80.a.p/gen8_cmd_buffer.c.o
  1490. In file included from ../src/intel/vulkan/anv_private.h:46,
  1491. from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  1492. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1493. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1494. 34 | void *end = start + size;
  1495. | ^
  1496. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1497. 38 | p += CACHELINE_SIZE;
  1498. | ^~
  1499. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1500. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1501. 64 | __builtin_ia32_clflush(start + size - 1);
  1502. | ^
  1503. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1504. 64 | __builtin_ia32_clflush(start + size - 1);
  1505. | ^
  1506. In file included from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  1507. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1508. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1509. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1510. | ^
  1511. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1512. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1513. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1514. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1515. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1516. | ^
  1517. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1518. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1519. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1520. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1521. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1522. | ^
  1523. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1524. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1525. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1526. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1527. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1528. | ^
  1529. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1530. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1531. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1532. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1533. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1534. | ^
  1535. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1536. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1537. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1538. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1539. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1540. | ^
  1541. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1542. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1543. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1544. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1545. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1546. | ^
  1547. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1548. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1549. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1550. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1551. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1552. | ^
  1553. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1554. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1555. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1556. In file included from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  1557. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1558. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1559. 1710 | batch->end = map + size;
  1560. | ^
  1561. ../src/intel/vulkan/gen8_cmd_buffer.c: In function ‘gen8_cmd_buffer_emit_viewport’:
  1562. ../src/intel/vulkan/gen8_cmd_buffer.c:85:59: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1563. 85 | GENX(SF_CLIP_VIEWPORT_pack)(NULL, sf_clip_state.map + i * 64, &sfv);
  1564. | ^
  1565. ../src/intel/vulkan/gen8_cmd_buffer.c: In function ‘gen8_cmd_buffer_emit_depth_viewport’:
  1566. ../src/intel/vulkan/gen8_cmd_buffer.c:120:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1567. 120 | GENX(CC_VIEWPORT_pack)(NULL, cc_state.map + i * 8, &cc_viewport);
  1568. | ^
  1569. [21/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_pass.c.o
  1570. In file included from ../src/intel/vulkan/anv_private.h:46,
  1571. from ../src/intel/vulkan/anv_pass.c:24:
  1572. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1573. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1574. 34 | void *end = start + size;
  1575. | ^
  1576. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1577. 38 | p += CACHELINE_SIZE;
  1578. | ^~
  1579. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1580. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1581. 64 | __builtin_ia32_clflush(start + size - 1);
  1582. | ^
  1583. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1584. 64 | __builtin_ia32_clflush(start + size - 1);
  1585. | ^
  1586. In file included from ../src/intel/vulkan/anv_pass.c:24:
  1587. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1588. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1589. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1590. | ^
  1591. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1592. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1593. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1594. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1595. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1596. | ^
  1597. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1598. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1599. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1600. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1601. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1602. | ^
  1603. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1604. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1605. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1606. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1607. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1608. | ^
  1609. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1610. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1611. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1612. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1613. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1614. | ^
  1615. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1616. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1617. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1618. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1619. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1620. | ^
  1621. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1622. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1623. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1624. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1625. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1626. | ^
  1627. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1628. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1629. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1630. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1631. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1632. | ^
  1633. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1634. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1635. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1636. In file included from ../src/intel/vulkan/anv_pass.c:24:
  1637. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1638. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1639. 1710 | batch->end = map + size;
  1640. | ^
  1641. [22/87] Linking static target src/intel/vulkan/libanv_gen70.a
  1642. [23/87] Compiling C object src/intel/vulkan/libanv_gen90.a.p/genX_gpu_memcpy.c.o
  1643. In file included from ../src/intel/vulkan/anv_private.h:46,
  1644. from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  1645. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1646. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1647. 34 | void *end = start + size;
  1648. | ^
  1649. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1650. 38 | p += CACHELINE_SIZE;
  1651. | ^~
  1652. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1653. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1654. 64 | __builtin_ia32_clflush(start + size - 1);
  1655. | ^
  1656. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1657. 64 | __builtin_ia32_clflush(start + size - 1);
  1658. | ^
  1659. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  1660. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1661. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1662. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1663. | ^
  1664. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1665. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1666. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1667. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1668. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1669. | ^
  1670. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1671. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1672. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1673. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1674. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1675. | ^
  1676. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1677. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1678. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1679. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1680. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1681. | ^
  1682. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1683. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1684. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1685. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1686. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1687. | ^
  1688. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1689. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1690. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1691. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1692. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1693. | ^
  1694. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1695. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1696. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1697. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1698. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1699. | ^
  1700. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1701. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1702. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1703. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1704. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1705. | ^
  1706. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1707. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1708. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1709. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  1710. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1711. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1712. 1710 | batch->end = map + size;
  1713. | ^
  1714. [24/87] Compiling C object src/intel/vulkan/libanv_gen80.a.p/genX_pipeline.c.o
  1715. In file included from ../src/intel/vulkan/anv_private.h:46,
  1716. from ../src/intel/vulkan/genX_pipeline.c:24:
  1717. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1718. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1719. 34 | void *end = start + size;
  1720. | ^
  1721. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1722. 38 | p += CACHELINE_SIZE;
  1723. | ^~
  1724. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1725. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1726. 64 | __builtin_ia32_clflush(start + size - 1);
  1727. | ^
  1728. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1729. 64 | __builtin_ia32_clflush(start + size - 1);
  1730. | ^
  1731. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  1732. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1733. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1734. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1735. | ^
  1736. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1737. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1738. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1739. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1740. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1741. | ^
  1742. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1743. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1744. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1745. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1746. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1747. | ^
  1748. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1749. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1750. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1751. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1752. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1753. | ^
  1754. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1755. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1756. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1757. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1758. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1759. | ^
  1760. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1761. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1762. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1763. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1764. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1765. | ^
  1766. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1767. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1768. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1769. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1770. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1771. | ^
  1772. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1773. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1774. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1775. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1776. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1777. | ^
  1778. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1779. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1780. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1781. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  1782. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1783. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1784. 1710 | batch->end = map + size;
  1785. | ^
  1786. [25/87] Linking static target src/intel/vulkan/libanv_gen75.a
  1787. [26/87] Compiling C object src/intel/vulkan/libanv_gen90.a.p/genX_blorp_exec.c.o
  1788. In file included from ../src/intel/vulkan/anv_private.h:46,
  1789. from ../src/intel/vulkan/genX_blorp_exec.c:26:
  1790. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1791. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1792. 34 | void *end = start + size;
  1793. | ^
  1794. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1795. 38 | p += CACHELINE_SIZE;
  1796. | ^~
  1797. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1798. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1799. 64 | __builtin_ia32_clflush(start + size - 1);
  1800. | ^
  1801. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1802. 64 | __builtin_ia32_clflush(start + size - 1);
  1803. | ^
  1804. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  1805. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1806. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1807. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1808. | ^
  1809. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1810. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1811. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1812. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1813. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1814. | ^
  1815. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1816. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1817. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1818. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1819. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1820. | ^
  1821. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1822. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1823. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1824. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1825. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1826. | ^
  1827. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1828. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1829. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1830. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1831. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1832. | ^
  1833. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1834. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1835. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1836. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1837. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1838. | ^
  1839. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1840. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1841. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1842. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1843. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1844. | ^
  1845. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1846. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1847. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1848. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1849. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1850. | ^
  1851. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1852. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1853. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1854. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  1855. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1856. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1857. 1710 | batch->end = map + size;
  1858. | ^
  1859. In file included from ../src/intel/vulkan/genX_blorp_exec.c:35:
  1860. ../src/intel/blorp/blorp_genX_exec.h: In function ‘blorp_emit_surface_state’:
  1861. ../src/intel/blorp/blorp_genX_exec.h:1464:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1862. 1464 | uint32_t *aux_addr = state + isl_dev->ss.aux_addr_offset;
  1863. | ^
  1864. [27/87] Compiling C object src/intel/vulkan/libanv_gen90.a.p/genX_pipeline.c.o
  1865. In file included from ../src/intel/vulkan/anv_private.h:46,
  1866. from ../src/intel/vulkan/genX_pipeline.c:24:
  1867. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1868. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1869. 34 | void *end = start + size;
  1870. | ^
  1871. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1872. 38 | p += CACHELINE_SIZE;
  1873. | ^~
  1874. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1875. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1876. 64 | __builtin_ia32_clflush(start + size - 1);
  1877. | ^
  1878. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1879. 64 | __builtin_ia32_clflush(start + size - 1);
  1880. | ^
  1881. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  1882. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1883. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1884. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1885. | ^
  1886. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1887. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1888. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1889. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1890. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1891. | ^
  1892. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1893. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1894. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1895. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1896. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1897. | ^
  1898. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1899. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1900. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1901. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1902. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1903. | ^
  1904. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1905. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1906. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1907. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1908. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1909. | ^
  1910. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1911. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1912. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1913. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1914. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1915. | ^
  1916. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1917. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1918. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1919. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1920. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1921. | ^
  1922. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1923. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1924. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1925. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1926. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1927. | ^
  1928. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1929. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  1930. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1931. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  1932. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  1933. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1934. 1710 | batch->end = map + size;
  1935. | ^
  1936. [28/87] Compiling C object src/intel/vulkan/libanv_gen90.a.p/genX_state.c.o
  1937. In file included from ../src/intel/vulkan/anv_private.h:46,
  1938. from ../src/intel/vulkan/genX_state.c:30:
  1939. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  1940. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1941. 34 | void *end = start + size;
  1942. | ^
  1943. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1944. 38 | p += CACHELINE_SIZE;
  1945. | ^~
  1946. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  1947. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1948. 64 | __builtin_ia32_clflush(start + size - 1);
  1949. | ^
  1950. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1951. 64 | __builtin_ia32_clflush(start + size - 1);
  1952. | ^
  1953. In file included from ../src/intel/vulkan/genX_state.c:30:
  1954. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  1955. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1956. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1957. | ^
  1958. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1959. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  1960. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1961. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1962. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1963. | ^
  1964. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1965. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  1966. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1967. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1968. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1969. | ^
  1970. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1971. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  1972. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1973. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1974. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1975. | ^
  1976. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1977. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  1978. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1979. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1980. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1981. | ^
  1982. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1983. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  1984. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1985. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1986. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1987. | ^
  1988. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1989. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  1990. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1991. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1992. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1993. | ^
  1994. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  1995. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  1996. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1997. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  1998. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  1999. | ^
  2000. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2001. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  2002. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2003. In file included from ../src/intel/vulkan/genX_state.c:30:
  2004. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  2005. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2006. 1710 | batch->end = map + size;
  2007. | ^
  2008. ../src/intel/vulkan/genX_state.c: In function ‘gen9_init_device_state’:
  2009. ../src/intel/vulkan/genX_state.c:119:30: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2010. 119 | batch.end = (void *) cmds + sizeof(cmds);
  2011. | ^
  2012. ../src/intel/vulkan/genX_state.c: In function ‘gen9_CreateSampler’:
  2013. ../src/intel/vulkan/genX_state.c:569:45: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2014. 569 | memcpy(sampler->bindless_state.map + p * 32,
  2015. | ^
  2016. [29/87] Compiling C object src/intel/vulkan/libanv_gen90.a.p/gen8_cmd_buffer.c.o
  2017. In file included from ../src/intel/vulkan/anv_private.h:46,
  2018. from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  2019. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  2020. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2021. 34 | void *end = start + size;
  2022. | ^
  2023. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2024. 38 | p += CACHELINE_SIZE;
  2025. | ^~
  2026. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  2027. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2028. 64 | __builtin_ia32_clflush(start + size - 1);
  2029. | ^
  2030. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2031. 64 | __builtin_ia32_clflush(start + size - 1);
  2032. | ^
  2033. In file included from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  2034. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  2035. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2036. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2037. | ^
  2038. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2039. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  2040. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2041. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2042. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2043. | ^
  2044. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2045. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  2046. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2047. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2048. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2049. | ^
  2050. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2051. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  2052. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2053. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2054. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2055. | ^
  2056. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2057. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  2058. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2059. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2060. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2061. | ^
  2062. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2063. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  2064. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2065. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2066. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2067. | ^
  2068. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2069. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  2070. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2071. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2072. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2073. | ^
  2074. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2075. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  2076. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2077. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2078. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2079. | ^
  2080. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2081. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  2082. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2083. In file included from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  2084. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  2085. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2086. 1710 | batch->end = map + size;
  2087. | ^
  2088. [30/87] Compiling C object src/intel/vulkan/libanv_gen80.a.p/genX_query.c.o
  2089. In file included from ../src/intel/vulkan/anv_private.h:46,
  2090. from ../src/intel/vulkan/genX_query.c:30:
  2091. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  2092. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2093. 34 | void *end = start + size;
  2094. | ^
  2095. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2096. 38 | p += CACHELINE_SIZE;
  2097. | ^~
  2098. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  2099. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2100. 64 | __builtin_ia32_clflush(start + size - 1);
  2101. | ^
  2102. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2103. 64 | __builtin_ia32_clflush(start + size - 1);
  2104. | ^
  2105. In file included from ../src/intel/vulkan/genX_query.c:30:
  2106. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  2107. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2108. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2109. | ^
  2110. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2111. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  2112. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2113. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2114. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2115. | ^
  2116. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2117. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  2118. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2119. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2120. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2121. | ^
  2122. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2123. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  2124. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2125. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2126. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2127. | ^
  2128. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2129. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  2130. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2131. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2132. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2133. | ^
  2134. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2135. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  2136. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2137. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2138. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2139. | ^
  2140. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2141. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  2142. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2143. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2144. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2145. | ^
  2146. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2147. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  2148. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2149. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2150. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2151. | ^
  2152. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2153. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  2154. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2155. In file included from ../src/intel/vulkan/genX_query.c:30:
  2156. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  2157. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2158. 1710 | batch->end = map + size;
  2159. | ^
  2160. In file included from ../src/intel/vulkan/genX_query.c:44:
  2161. ../src/intel/common/gen_mi_builder.h: In function ‘gen_mi_store_address’:
  2162. ../src/intel/common/gen_mi_builder.h:871:39: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2163. 871 | token.ptrs[i] = (void *)_dst + addr_dw;
  2164. | ^
  2165. ../src/intel/vulkan/genX_query.c: In function ‘gen8_CreateQueryPool’:
  2166. ../src/intel/vulkan/genX_query.c:187:36: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2167. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  2168. | ^
  2169. ../src/intel/vulkan/genX_query.c:187:66: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2170. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  2171. | ^
  2172. ../src/intel/vulkan/genX_query.c:188:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2173. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  2174. | ^
  2175. ../src/intel/vulkan/genX_query.c:188:64: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2176. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  2177. | ^
  2178. In file included from ../src/util/fast_idiv_by_const.h:33,
  2179. from ../src/intel/common/gen_mi_builder.h:29,
  2180. from ../src/intel/vulkan/genX_query.c:44:
  2181. ../src/intel/vulkan/genX_query.c:196:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2182. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  2183. | ^
  2184. ../src/intel/vulkan/genX_query.c:196:76: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2185. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  2186. | ^
  2187. ../src/intel/vulkan/genX_query.c: In function ‘query_slot’:
  2188. ../src/intel/vulkan/genX_query.c:359:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2189. 359 | return pool->bo->map + query * pool->stride;
  2190. | ^
  2191. ../src/intel/vulkan/genX_query.c: In function ‘query_is_available’:
  2192. ../src/intel/vulkan/genX_query.c:368:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2193. 368 | pool->bo->map + khr_perf_query_availability_offset(pool, query, p);
  2194. | ^
  2195. ../src/intel/vulkan/genX_query.c: In function ‘gen8_GetQueryPoolResults’:
  2196. ../src/intel/vulkan/genX_query.c:421:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2197. 421 | void *data_end = pData + dataSize;
  2198. | ^
  2199. ../src/intel/vulkan/genX_query.c:517:51: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2200. 517 | const uint32_t *begin = pool->bo->map + khr_perf_query_oa_offset(pool, firstQuery + i, p, false);
  2201. | ^
  2202. ../src/intel/vulkan/genX_query.c:518:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2203. 518 | const uint32_t *end = pool->bo->map + khr_perf_query_oa_offset(pool, firstQuery + i, p, true);
  2204. | ^
  2205. ../src/intel/vulkan/genX_query.c:532:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2206. 532 | const uint32_t *oa_begin = query_data + intel_perf_mi_rpc_offset(false);
  2207. | ^
  2208. ../src/intel/vulkan/genX_query.c:533:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2209. 533 | const uint32_t *oa_end = query_data + intel_perf_mi_rpc_offset(true);
  2210. | ^
  2211. ../src/intel/vulkan/genX_query.c:534:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2212. 534 | const uint32_t *rpstat_begin = query_data + intel_perf_rpstart_offset(false);
  2213. | ^
  2214. ../src/intel/vulkan/genX_query.c:535:50: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2215. 535 | const uint32_t *rpstat_end = query_data + intel_perf_mi_rpc_offset(true);
  2216. | ^
  2217. ../src/intel/vulkan/genX_query.c:556:57: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2218. 556 | query_data + intel_perf_counter(false),
  2219. | ^
  2220. ../src/intel/vulkan/genX_query.c:557:57: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2221. 557 | query_data + intel_perf_counter(true));
  2222. | ^
  2223. ../src/intel/vulkan/genX_query.c:559:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2224. 559 | const uint64_t *marker = query_data + intel_perf_marker_offset();
  2225. | ^
  2226. ../src/intel/vulkan/genX_query.c:574:13: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2227. 574 | pData += stride;
  2228. | ^~
  2229. ../src/intel/vulkan/genX_query.c: In function ‘gen8_ResetQueryPool’:
  2230. ../src/intel/vulkan/genX_query.c:766:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2231. 766 | uint64_t *pass_slot = pool->bo->map +
  2232. | ^
  2233. ../src/intel/vulkan/genX_query.c: In function ‘gen8_CmdBeginQueryIndexedEXT’:
  2234. ../src/intel/vulkan/genX_query.c:897:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2235. 897 | mi_rpc_dws +
  2236. | ^
  2237. ../src/intel/vulkan/genX_query.c: In function ‘gen8_CmdEndQueryIndexedEXT’:
  2238. ../src/intel/vulkan/genX_query.c:1034:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2239. 1034 | mi_rpc_dws +
  2240. | ^
  2241. ../src/intel/vulkan/genX_query.c:1043:54: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2242. 1043 | availability_dws +
  2243. | ^
  2244. [31/87] Compiling C object src/intel/vulkan/libanv_gen90.a.p/genX_cmd_buffer.c.o
  2245. In file included from ../src/intel/vulkan/anv_private.h:46,
  2246. from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  2247. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  2248. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2249. 34 | void *end = start + size;
  2250. | ^
  2251. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2252. 38 | p += CACHELINE_SIZE;
  2253. | ^~
  2254. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  2255. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2256. 64 | __builtin_ia32_clflush(start + size - 1);
  2257. | ^
  2258. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2259. 64 | __builtin_ia32_clflush(start + size - 1);
  2260. | ^
  2261. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  2262. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  2263. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2264. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2265. | ^
  2266. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2267. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  2268. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2269. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2270. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2271. | ^
  2272. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2273. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  2274. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2275. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2276. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2277. | ^
  2278. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2279. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  2280. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2281. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2282. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2283. | ^
  2284. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2285. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  2286. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2287. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2288. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2289. | ^
  2290. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2291. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  2292. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2293. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2294. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2295. | ^
  2296. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2297. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  2298. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2299. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2300. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2301. | ^
  2302. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2303. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  2304. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2305. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2306. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2307. | ^
  2308. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2309. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  2310. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2311. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  2312. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  2313. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2314. 1710 | batch->end = map + size;
  2315. | ^
  2316. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘gen9_cmd_buffer_alloc_att_surf_states’:
  2317. ../src/intel/vulkan/genX_cmd_buffer.c:1482:19: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2318. 1482 | next_state.map += ss_stride;
  2319. | ^~
  2320. ../src/intel/vulkan/genX_cmd_buffer.c:1505:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2321. 1505 | next_state.map += ss_stride;
  2322. | ^~
  2323. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘emit_samplers’:
  2324. ../src/intel/vulkan/genX_cmd_buffer.c:2775:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2325. 2775 | memcpy(state->map + (s * 16),
  2326. | ^
  2327. [32/87] Compiling C object src/intel/vulkan/libanv_gen90.a.p/genX_query.c.o
  2328. In file included from ../src/intel/vulkan/anv_private.h:46,
  2329. from ../src/intel/vulkan/genX_query.c:30:
  2330. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  2331. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2332. 34 | void *end = start + size;
  2333. | ^
  2334. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2335. 38 | p += CACHELINE_SIZE;
  2336. | ^~
  2337. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  2338. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2339. 64 | __builtin_ia32_clflush(start + size - 1);
  2340. | ^
  2341. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2342. 64 | __builtin_ia32_clflush(start + size - 1);
  2343. | ^
  2344. In file included from ../src/intel/vulkan/genX_query.c:30:
  2345. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  2346. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2347. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2348. | ^
  2349. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2350. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  2351. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2352. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2353. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2354. | ^
  2355. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2356. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  2357. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2358. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2359. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2360. | ^
  2361. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2362. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  2363. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2364. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2365. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2366. | ^
  2367. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2368. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  2369. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2370. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2371. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2372. | ^
  2373. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2374. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  2375. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2376. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2377. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2378. | ^
  2379. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2380. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  2381. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2382. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2383. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2384. | ^
  2385. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2386. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  2387. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2388. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2389. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2390. | ^
  2391. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2392. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  2393. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2394. In file included from ../src/intel/vulkan/genX_query.c:30:
  2395. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  2396. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2397. 1710 | batch->end = map + size;
  2398. | ^
  2399. In file included from ../src/intel/vulkan/genX_query.c:44:
  2400. ../src/intel/common/gen_mi_builder.h: In function ‘gen_mi_store_address’:
  2401. ../src/intel/common/gen_mi_builder.h:871:39: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2402. 871 | token.ptrs[i] = (void *)_dst + addr_dw;
  2403. | ^
  2404. ../src/intel/vulkan/genX_query.c: In function ‘gen9_CreateQueryPool’:
  2405. ../src/intel/vulkan/genX_query.c:187:36: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2406. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  2407. | ^
  2408. ../src/intel/vulkan/genX_query.c:187:66: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2409. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  2410. | ^
  2411. ../src/intel/vulkan/genX_query.c:188:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2412. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  2413. | ^
  2414. ../src/intel/vulkan/genX_query.c:188:64: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2415. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  2416. | ^
  2417. In file included from ../src/util/fast_idiv_by_const.h:33,
  2418. from ../src/intel/common/gen_mi_builder.h:29,
  2419. from ../src/intel/vulkan/genX_query.c:44:
  2420. ../src/intel/vulkan/genX_query.c:196:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2421. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  2422. | ^
  2423. ../src/intel/vulkan/genX_query.c:196:76: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2424. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  2425. | ^
  2426. ../src/intel/vulkan/genX_query.c: In function ‘query_slot’:
  2427. ../src/intel/vulkan/genX_query.c:359:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2428. 359 | return pool->bo->map + query * pool->stride;
  2429. | ^
  2430. ../src/intel/vulkan/genX_query.c: In function ‘query_is_available’:
  2431. ../src/intel/vulkan/genX_query.c:368:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2432. 368 | pool->bo->map + khr_perf_query_availability_offset(pool, query, p);
  2433. | ^
  2434. ../src/intel/vulkan/genX_query.c: In function ‘gen9_GetQueryPoolResults’:
  2435. ../src/intel/vulkan/genX_query.c:421:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2436. 421 | void *data_end = pData + dataSize;
  2437. | ^
  2438. ../src/intel/vulkan/genX_query.c:517:51: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2439. 517 | const uint32_t *begin = pool->bo->map + khr_perf_query_oa_offset(pool, firstQuery + i, p, false);
  2440. | ^
  2441. ../src/intel/vulkan/genX_query.c:518:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2442. 518 | const uint32_t *end = pool->bo->map + khr_perf_query_oa_offset(pool, firstQuery + i, p, true);
  2443. | ^
  2444. ../src/intel/vulkan/genX_query.c:532:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2445. 532 | const uint32_t *oa_begin = query_data + intel_perf_mi_rpc_offset(false);
  2446. | ^
  2447. ../src/intel/vulkan/genX_query.c:533:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2448. 533 | const uint32_t *oa_end = query_data + intel_perf_mi_rpc_offset(true);
  2449. | ^
  2450. ../src/intel/vulkan/genX_query.c:534:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2451. 534 | const uint32_t *rpstat_begin = query_data + intel_perf_rpstart_offset(false);
  2452. | ^
  2453. ../src/intel/vulkan/genX_query.c:535:50: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2454. 535 | const uint32_t *rpstat_end = query_data + intel_perf_mi_rpc_offset(true);
  2455. | ^
  2456. ../src/intel/vulkan/genX_query.c:556:57: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2457. 556 | query_data + intel_perf_counter(false),
  2458. | ^
  2459. ../src/intel/vulkan/genX_query.c:557:57: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2460. 557 | query_data + intel_perf_counter(true));
  2461. | ^
  2462. ../src/intel/vulkan/genX_query.c:559:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2463. 559 | const uint64_t *marker = query_data + intel_perf_marker_offset();
  2464. | ^
  2465. ../src/intel/vulkan/genX_query.c:574:13: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2466. 574 | pData += stride;
  2467. | ^~
  2468. ../src/intel/vulkan/genX_query.c: In function ‘gen9_ResetQueryPool’:
  2469. ../src/intel/vulkan/genX_query.c:766:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2470. 766 | uint64_t *pass_slot = pool->bo->map +
  2471. | ^
  2472. ../src/intel/vulkan/genX_query.c: In function ‘gen9_CmdBeginQueryIndexedEXT’:
  2473. ../src/intel/vulkan/genX_query.c:897:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2474. 897 | mi_rpc_dws +
  2475. | ^
  2476. ../src/intel/vulkan/genX_query.c: In function ‘gen9_CmdEndQueryIndexedEXT’:
  2477. ../src/intel/vulkan/genX_query.c:1034:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2478. 1034 | mi_rpc_dws +
  2479. | ^
  2480. ../src/intel/vulkan/genX_query.c:1043:54: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2481. 1043 | availability_dws +
  2482. | ^
  2483. [33/87] Compiling C object src/intel/vulkan/libanv_gen100.a.p/gen8_cmd_buffer.c.o
  2484. In file included from ../src/intel/vulkan/anv_private.h:46,
  2485. from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  2486. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  2487. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2488. 34 | void *end = start + size;
  2489. | ^
  2490. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2491. 38 | p += CACHELINE_SIZE;
  2492. | ^~
  2493. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  2494. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2495. 64 | __builtin_ia32_clflush(start + size - 1);
  2496. | ^
  2497. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2498. 64 | __builtin_ia32_clflush(start + size - 1);
  2499. | ^
  2500. In file included from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  2501. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  2502. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2503. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2504. | ^
  2505. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2506. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  2507. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2508. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2509. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2510. | ^
  2511. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2512. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  2513. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2514. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2515. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2516. | ^
  2517. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2518. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  2519. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2520. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2521. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2522. | ^
  2523. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2524. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  2525. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2526. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2527. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2528. | ^
  2529. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2530. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  2531. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2532. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2533. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2534. | ^
  2535. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2536. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  2537. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2538. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2539. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2540. | ^
  2541. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2542. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  2543. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2544. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2545. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2546. | ^
  2547. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2548. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  2549. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2550. In file included from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  2551. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  2552. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2553. 1710 | batch->end = map + size;
  2554. | ^
  2555. [34/87] Compiling C object src/intel/vulkan/libanv_gen100.a.p/genX_gpu_memcpy.c.o
  2556. In file included from ../src/intel/vulkan/anv_private.h:46,
  2557. from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  2558. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  2559. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2560. 34 | void *end = start + size;
  2561. | ^
  2562. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2563. 38 | p += CACHELINE_SIZE;
  2564. | ^~
  2565. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  2566. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2567. 64 | __builtin_ia32_clflush(start + size - 1);
  2568. | ^
  2569. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2570. 64 | __builtin_ia32_clflush(start + size - 1);
  2571. | ^
  2572. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  2573. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  2574. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2575. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2576. | ^
  2577. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2578. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  2579. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2580. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2581. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2582. | ^
  2583. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2584. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  2585. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2586. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2587. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2588. | ^
  2589. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2590. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  2591. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2592. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2593. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2594. | ^
  2595. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2596. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  2597. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2598. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2599. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2600. | ^
  2601. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2602. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  2603. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2604. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2605. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2606. | ^
  2607. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2608. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  2609. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2610. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2611. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2612. | ^
  2613. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2614. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  2615. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2616. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2617. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2618. | ^
  2619. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2620. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  2621. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2622. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  2623. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  2624. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2625. 1710 | batch->end = map + size;
  2626. | ^
  2627. [35/87] Compiling C object src/intel/vulkan/libanv_gen100.a.p/genX_blorp_exec.c.o
  2628. In file included from ../src/intel/vulkan/anv_private.h:46,
  2629. from ../src/intel/vulkan/genX_blorp_exec.c:26:
  2630. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  2631. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2632. 34 | void *end = start + size;
  2633. | ^
  2634. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2635. 38 | p += CACHELINE_SIZE;
  2636. | ^~
  2637. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  2638. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2639. 64 | __builtin_ia32_clflush(start + size - 1);
  2640. | ^
  2641. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2642. 64 | __builtin_ia32_clflush(start + size - 1);
  2643. | ^
  2644. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  2645. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  2646. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2647. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2648. | ^
  2649. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2650. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  2651. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2652. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2653. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2654. | ^
  2655. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2656. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  2657. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2658. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2659. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2660. | ^
  2661. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2662. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  2663. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2664. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2665. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2666. | ^
  2667. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2668. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  2669. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2670. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2671. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2672. | ^
  2673. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2674. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  2675. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2676. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2677. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2678. | ^
  2679. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2680. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  2681. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2682. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2683. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2684. | ^
  2685. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2686. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  2687. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2688. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2689. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2690. | ^
  2691. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2692. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  2693. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2694. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  2695. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  2696. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2697. 1710 | batch->end = map + size;
  2698. | ^
  2699. In file included from ../src/intel/vulkan/genX_blorp_exec.c:35:
  2700. ../src/intel/blorp/blorp_genX_exec.h: In function ‘blorp_emit_surface_state’:
  2701. ../src/intel/blorp/blorp_genX_exec.h:1464:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2702. 1464 | uint32_t *aux_addr = state + isl_dev->ss.aux_addr_offset;
  2703. | ^
  2704. ../src/intel/blorp/blorp_genX_exec.h:1472:36: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2705. 1472 | uint32_t *clear_addr = state + isl_dev->ss.clear_color_state_offset;
  2706. | ^
  2707. [36/87] Compiling C object src/intel/vulkan/libanv_gen100.a.p/genX_cmd_buffer.c.o
  2708. In file included from ../src/intel/vulkan/anv_private.h:46,
  2709. from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  2710. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  2711. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2712. 34 | void *end = start + size;
  2713. | ^
  2714. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2715. 38 | p += CACHELINE_SIZE;
  2716. | ^~
  2717. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  2718. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2719. 64 | __builtin_ia32_clflush(start + size - 1);
  2720. | ^
  2721. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2722. 64 | __builtin_ia32_clflush(start + size - 1);
  2723. | ^
  2724. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  2725. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  2726. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2727. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2728. | ^
  2729. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2730. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  2731. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2732. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2733. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2734. | ^
  2735. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2736. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  2737. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2738. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2739. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2740. | ^
  2741. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2742. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  2743. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2744. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2745. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2746. | ^
  2747. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2748. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  2749. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2750. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2751. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2752. | ^
  2753. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2754. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  2755. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2756. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2757. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2758. | ^
  2759. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2760. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  2761. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2762. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2763. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2764. | ^
  2765. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2766. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  2767. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2768. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2769. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2770. | ^
  2771. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2772. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  2773. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2774. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  2775. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  2776. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2777. 1710 | batch->end = map + size;
  2778. | ^
  2779. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘gen10_cmd_buffer_alloc_att_surf_states’:
  2780. ../src/intel/vulkan/genX_cmd_buffer.c:1482:19: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2781. 1482 | next_state.map += ss_stride;
  2782. | ^~
  2783. ../src/intel/vulkan/genX_cmd_buffer.c:1505:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2784. 1505 | next_state.map += ss_stride;
  2785. | ^~
  2786. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘emit_samplers’:
  2787. ../src/intel/vulkan/genX_cmd_buffer.c:2775:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2788. 2775 | memcpy(state->map + (s * 16),
  2789. | ^
  2790. [37/87] Linking static target src/intel/vulkan/libanv_gen80.a
  2791. [38/87] Compiling C object src/intel/vulkan/libanv_gen100.a.p/genX_query.c.o
  2792. In file included from ../src/intel/vulkan/anv_private.h:46,
  2793. from ../src/intel/vulkan/genX_query.c:30:
  2794. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  2795. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2796. 34 | void *end = start + size;
  2797. | ^
  2798. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2799. 38 | p += CACHELINE_SIZE;
  2800. | ^~
  2801. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  2802. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2803. 64 | __builtin_ia32_clflush(start + size - 1);
  2804. | ^
  2805. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2806. 64 | __builtin_ia32_clflush(start + size - 1);
  2807. | ^
  2808. In file included from ../src/intel/vulkan/genX_query.c:30:
  2809. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  2810. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2811. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2812. | ^
  2813. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2814. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  2815. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2816. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2817. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2818. | ^
  2819. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2820. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  2821. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2822. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2823. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2824. | ^
  2825. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2826. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  2827. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2828. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2829. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2830. | ^
  2831. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2832. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  2833. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2834. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2835. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2836. | ^
  2837. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2838. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  2839. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2840. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2841. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2842. | ^
  2843. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2844. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  2845. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2846. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2847. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2848. | ^
  2849. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2850. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  2851. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2852. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2853. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2854. | ^
  2855. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2856. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  2857. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2858. In file included from ../src/intel/vulkan/genX_query.c:30:
  2859. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  2860. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2861. 1710 | batch->end = map + size;
  2862. | ^
  2863. In file included from ../src/intel/vulkan/genX_query.c:44:
  2864. ../src/intel/common/gen_mi_builder.h: In function ‘gen_mi_store_address’:
  2865. ../src/intel/common/gen_mi_builder.h:871:39: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2866. 871 | token.ptrs[i] = (void *)_dst + addr_dw;
  2867. | ^
  2868. ../src/intel/vulkan/genX_query.c: In function ‘gen10_CreateQueryPool’:
  2869. ../src/intel/vulkan/genX_query.c:187:36: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2870. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  2871. | ^
  2872. ../src/intel/vulkan/genX_query.c:187:66: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2873. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  2874. | ^
  2875. ../src/intel/vulkan/genX_query.c:188:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2876. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  2877. | ^
  2878. ../src/intel/vulkan/genX_query.c:188:64: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2879. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  2880. | ^
  2881. In file included from ../src/util/fast_idiv_by_const.h:33,
  2882. from ../src/intel/common/gen_mi_builder.h:29,
  2883. from ../src/intel/vulkan/genX_query.c:44:
  2884. ../src/intel/vulkan/genX_query.c:196:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2885. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  2886. | ^
  2887. ../src/intel/vulkan/genX_query.c:196:76: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2888. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  2889. | ^
  2890. ../src/intel/vulkan/genX_query.c: In function ‘query_slot’:
  2891. ../src/intel/vulkan/genX_query.c:359:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2892. 359 | return pool->bo->map + query * pool->stride;
  2893. | ^
  2894. ../src/intel/vulkan/genX_query.c: In function ‘query_is_available’:
  2895. ../src/intel/vulkan/genX_query.c:368:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2896. 368 | pool->bo->map + khr_perf_query_availability_offset(pool, query, p);
  2897. | ^
  2898. ../src/intel/vulkan/genX_query.c: In function ‘gen10_GetQueryPoolResults’:
  2899. ../src/intel/vulkan/genX_query.c:421:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2900. 421 | void *data_end = pData + dataSize;
  2901. | ^
  2902. ../src/intel/vulkan/genX_query.c:517:51: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2903. 517 | const uint32_t *begin = pool->bo->map + khr_perf_query_oa_offset(pool, firstQuery + i, p, false);
  2904. | ^
  2905. ../src/intel/vulkan/genX_query.c:518:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2906. 518 | const uint32_t *end = pool->bo->map + khr_perf_query_oa_offset(pool, firstQuery + i, p, true);
  2907. | ^
  2908. ../src/intel/vulkan/genX_query.c:532:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2909. 532 | const uint32_t *oa_begin = query_data + intel_perf_mi_rpc_offset(false);
  2910. | ^
  2911. ../src/intel/vulkan/genX_query.c:533:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2912. 533 | const uint32_t *oa_end = query_data + intel_perf_mi_rpc_offset(true);
  2913. | ^
  2914. ../src/intel/vulkan/genX_query.c:534:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2915. 534 | const uint32_t *rpstat_begin = query_data + intel_perf_rpstart_offset(false);
  2916. | ^
  2917. ../src/intel/vulkan/genX_query.c:535:50: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2918. 535 | const uint32_t *rpstat_end = query_data + intel_perf_mi_rpc_offset(true);
  2919. | ^
  2920. ../src/intel/vulkan/genX_query.c:556:57: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2921. 556 | query_data + intel_perf_counter(false),
  2922. | ^
  2923. ../src/intel/vulkan/genX_query.c:557:57: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2924. 557 | query_data + intel_perf_counter(true));
  2925. | ^
  2926. ../src/intel/vulkan/genX_query.c:559:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2927. 559 | const uint64_t *marker = query_data + intel_perf_marker_offset();
  2928. | ^
  2929. ../src/intel/vulkan/genX_query.c:574:13: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2930. 574 | pData += stride;
  2931. | ^~
  2932. ../src/intel/vulkan/genX_query.c: In function ‘gen10_ResetQueryPool’:
  2933. ../src/intel/vulkan/genX_query.c:766:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2934. 766 | uint64_t *pass_slot = pool->bo->map +
  2935. | ^
  2936. ../src/intel/vulkan/genX_query.c: In function ‘gen10_CmdBeginQueryIndexedEXT’:
  2937. ../src/intel/vulkan/genX_query.c:897:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2938. 897 | mi_rpc_dws +
  2939. | ^
  2940. ../src/intel/vulkan/genX_query.c: In function ‘gen10_CmdEndQueryIndexedEXT’:
  2941. ../src/intel/vulkan/genX_query.c:1034:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2942. 1034 | mi_rpc_dws +
  2943. | ^
  2944. ../src/intel/vulkan/genX_query.c:1043:54: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2945. 1043 | availability_dws +
  2946. | ^
  2947. [39/87] Compiling C object src/intel/vulkan/libanv_gen100.a.p/genX_pipeline.c.o
  2948. In file included from ../src/intel/vulkan/anv_private.h:46,
  2949. from ../src/intel/vulkan/genX_pipeline.c:24:
  2950. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  2951. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2952. 34 | void *end = start + size;
  2953. | ^
  2954. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2955. 38 | p += CACHELINE_SIZE;
  2956. | ^~
  2957. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  2958. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2959. 64 | __builtin_ia32_clflush(start + size - 1);
  2960. | ^
  2961. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2962. 64 | __builtin_ia32_clflush(start + size - 1);
  2963. | ^
  2964. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  2965. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  2966. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2967. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2968. | ^
  2969. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2970. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  2971. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2972. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2973. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2974. | ^
  2975. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2976. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  2977. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2978. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2979. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2980. | ^
  2981. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2982. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  2983. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2984. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2985. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2986. | ^
  2987. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2988. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  2989. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2990. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2991. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2992. | ^
  2993. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  2994. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  2995. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2996. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  2997. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  2998. | ^
  2999. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3000. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3001. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3002. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3003. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3004. | ^
  3005. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3006. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3007. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3008. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3009. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3010. | ^
  3011. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3012. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3013. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3014. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  3015. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3016. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3017. 1710 | batch->end = map + size;
  3018. | ^
  3019. [40/87] Linking static target src/intel/vulkan/libanv_gen90.a
  3020. [41/87] Compiling C object src/intel/vulkan/libanv_gen110.a.p/genX_pipeline.c.o
  3021. In file included from ../src/intel/vulkan/anv_private.h:46,
  3022. from ../src/intel/vulkan/genX_pipeline.c:24:
  3023. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3024. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3025. 34 | void *end = start + size;
  3026. | ^
  3027. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3028. 38 | p += CACHELINE_SIZE;
  3029. | ^~
  3030. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3031. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3032. 64 | __builtin_ia32_clflush(start + size - 1);
  3033. | ^
  3034. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3035. 64 | __builtin_ia32_clflush(start + size - 1);
  3036. | ^
  3037. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  3038. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3039. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3040. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3041. | ^
  3042. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3043. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3044. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3045. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3046. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3047. | ^
  3048. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3049. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3050. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3051. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3052. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3053. | ^
  3054. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3055. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3056. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3057. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3058. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3059. | ^
  3060. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3061. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3062. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3063. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3064. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3065. | ^
  3066. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3067. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3068. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3069. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3070. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3071. | ^
  3072. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3073. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3074. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3075. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3076. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3077. | ^
  3078. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3079. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3080. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3081. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3082. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3083. | ^
  3084. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3085. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3086. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3087. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  3088. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3089. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3090. 1710 | batch->end = map + size;
  3091. | ^
  3092. [42/87] Compiling C object src/intel/vulkan/libanv_gen100.a.p/genX_state.c.o
  3093. In file included from ../src/intel/vulkan/anv_private.h:46,
  3094. from ../src/intel/vulkan/genX_state.c:30:
  3095. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3096. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3097. 34 | void *end = start + size;
  3098. | ^
  3099. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3100. 38 | p += CACHELINE_SIZE;
  3101. | ^~
  3102. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3103. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3104. 64 | __builtin_ia32_clflush(start + size - 1);
  3105. | ^
  3106. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3107. 64 | __builtin_ia32_clflush(start + size - 1);
  3108. | ^
  3109. In file included from ../src/intel/vulkan/genX_state.c:30:
  3110. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3111. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3112. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3113. | ^
  3114. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3115. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3116. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3117. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3118. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3119. | ^
  3120. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3121. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3122. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3123. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3124. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3125. | ^
  3126. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3127. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3128. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3129. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3130. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3131. | ^
  3132. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3133. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3134. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3135. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3136. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3137. | ^
  3138. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3139. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3140. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3141. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3142. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3143. | ^
  3144. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3145. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3146. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3147. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3148. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3149. | ^
  3150. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3151. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3152. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3153. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3154. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3155. | ^
  3156. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3157. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3158. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3159. In file included from ../src/intel/vulkan/genX_state.c:30:
  3160. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3161. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3162. 1710 | batch->end = map + size;
  3163. | ^
  3164. ../src/intel/vulkan/genX_state.c: In function ‘gen10_init_device_state’:
  3165. ../src/intel/vulkan/genX_state.c:119:30: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3166. 119 | batch.end = (void *) cmds + sizeof(cmds);
  3167. | ^
  3168. ../src/intel/vulkan/genX_state.c: In function ‘gen10_CreateSampler’:
  3169. ../src/intel/vulkan/genX_state.c:569:45: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3170. 569 | memcpy(sampler->bindless_state.map + p * 32,
  3171. | ^
  3172. [43/87] Compiling C object src/intel/vulkan/libanv_gen110.a.p/genX_state.c.o
  3173. In file included from ../src/intel/vulkan/anv_private.h:46,
  3174. from ../src/intel/vulkan/genX_state.c:30:
  3175. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3176. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3177. 34 | void *end = start + size;
  3178. | ^
  3179. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3180. 38 | p += CACHELINE_SIZE;
  3181. | ^~
  3182. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3183. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3184. 64 | __builtin_ia32_clflush(start + size - 1);
  3185. | ^
  3186. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3187. 64 | __builtin_ia32_clflush(start + size - 1);
  3188. | ^
  3189. In file included from ../src/intel/vulkan/genX_state.c:30:
  3190. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3191. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3192. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3193. | ^
  3194. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3195. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3196. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3197. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3198. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3199. | ^
  3200. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3201. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3202. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3203. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3204. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3205. | ^
  3206. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3207. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3208. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3209. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3210. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3211. | ^
  3212. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3213. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3214. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3215. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3216. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3217. | ^
  3218. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3219. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3220. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3221. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3222. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3223. | ^
  3224. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3225. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3226. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3227. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3228. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3229. | ^
  3230. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3231. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3232. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3233. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3234. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3235. | ^
  3236. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3237. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3238. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3239. In file included from ../src/intel/vulkan/genX_state.c:30:
  3240. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3241. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3242. 1710 | batch->end = map + size;
  3243. | ^
  3244. ../src/intel/vulkan/genX_state.c: In function ‘gen11_init_device_state’:
  3245. ../src/intel/vulkan/genX_state.c:119:30: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3246. 119 | batch.end = (void *) cmds + sizeof(cmds);
  3247. | ^
  3248. ../src/intel/vulkan/genX_state.c: In function ‘gen11_CreateSampler’:
  3249. ../src/intel/vulkan/genX_state.c:569:45: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3250. 569 | memcpy(sampler->bindless_state.map + p * 32,
  3251. | ^
  3252. [44/87] Compiling C object src/intel/vulkan/libanv_gen110.a.p/genX_query.c.o
  3253. In file included from ../src/intel/vulkan/anv_private.h:46,
  3254. from ../src/intel/vulkan/genX_query.c:30:
  3255. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3256. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3257. 34 | void *end = start + size;
  3258. | ^
  3259. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3260. 38 | p += CACHELINE_SIZE;
  3261. | ^~
  3262. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3263. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3264. 64 | __builtin_ia32_clflush(start + size - 1);
  3265. | ^
  3266. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3267. 64 | __builtin_ia32_clflush(start + size - 1);
  3268. | ^
  3269. In file included from ../src/intel/vulkan/genX_query.c:30:
  3270. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3271. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3272. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3273. | ^
  3274. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3275. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3276. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3277. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3278. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3279. | ^
  3280. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3281. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3282. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3283. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3284. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3285. | ^
  3286. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3287. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3288. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3289. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3290. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3291. | ^
  3292. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3293. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3294. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3295. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3296. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3297. | ^
  3298. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3299. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3300. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3301. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3302. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3303. | ^
  3304. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3305. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3306. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3307. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3308. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3309. | ^
  3310. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3311. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3312. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3313. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3314. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3315. | ^
  3316. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3317. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3318. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3319. In file included from ../src/intel/vulkan/genX_query.c:30:
  3320. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3321. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3322. 1710 | batch->end = map + size;
  3323. | ^
  3324. In file included from ../src/intel/vulkan/genX_query.c:44:
  3325. ../src/intel/common/gen_mi_builder.h: In function ‘gen_mi_store_address’:
  3326. ../src/intel/common/gen_mi_builder.h:871:39: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3327. 871 | token.ptrs[i] = (void *)_dst + addr_dw;
  3328. | ^
  3329. ../src/intel/vulkan/genX_query.c: In function ‘gen11_CreateQueryPool’:
  3330. ../src/intel/vulkan/genX_query.c:187:36: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3331. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  3332. | ^
  3333. ../src/intel/vulkan/genX_query.c:187:66: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3334. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  3335. | ^
  3336. ../src/intel/vulkan/genX_query.c:188:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3337. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  3338. | ^
  3339. ../src/intel/vulkan/genX_query.c:188:64: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3340. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  3341. | ^
  3342. In file included from ../src/util/fast_idiv_by_const.h:33,
  3343. from ../src/intel/common/gen_mi_builder.h:29,
  3344. from ../src/intel/vulkan/genX_query.c:44:
  3345. ../src/intel/vulkan/genX_query.c:196:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3346. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  3347. | ^
  3348. ../src/intel/vulkan/genX_query.c:196:76: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3349. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  3350. | ^
  3351. ../src/intel/vulkan/genX_query.c: In function ‘query_slot’:
  3352. ../src/intel/vulkan/genX_query.c:359:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3353. 359 | return pool->bo->map + query * pool->stride;
  3354. | ^
  3355. ../src/intel/vulkan/genX_query.c: In function ‘query_is_available’:
  3356. ../src/intel/vulkan/genX_query.c:368:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3357. 368 | pool->bo->map + khr_perf_query_availability_offset(pool, query, p);
  3358. | ^
  3359. ../src/intel/vulkan/genX_query.c: In function ‘gen11_GetQueryPoolResults’:
  3360. ../src/intel/vulkan/genX_query.c:421:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3361. 421 | void *data_end = pData + dataSize;
  3362. | ^
  3363. ../src/intel/vulkan/genX_query.c:517:51: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3364. 517 | const uint32_t *begin = pool->bo->map + khr_perf_query_oa_offset(pool, firstQuery + i, p, false);
  3365. | ^
  3366. ../src/intel/vulkan/genX_query.c:518:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3367. 518 | const uint32_t *end = pool->bo->map + khr_perf_query_oa_offset(pool, firstQuery + i, p, true);
  3368. | ^
  3369. ../src/intel/vulkan/genX_query.c:532:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3370. 532 | const uint32_t *oa_begin = query_data + intel_perf_mi_rpc_offset(false);
  3371. | ^
  3372. ../src/intel/vulkan/genX_query.c:533:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3373. 533 | const uint32_t *oa_end = query_data + intel_perf_mi_rpc_offset(true);
  3374. | ^
  3375. ../src/intel/vulkan/genX_query.c:534:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3376. 534 | const uint32_t *rpstat_begin = query_data + intel_perf_rpstart_offset(false);
  3377. | ^
  3378. ../src/intel/vulkan/genX_query.c:535:50: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3379. 535 | const uint32_t *rpstat_end = query_data + intel_perf_mi_rpc_offset(true);
  3380. | ^
  3381. ../src/intel/vulkan/genX_query.c:556:57: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3382. 556 | query_data + intel_perf_counter(false),
  3383. | ^
  3384. ../src/intel/vulkan/genX_query.c:557:57: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3385. 557 | query_data + intel_perf_counter(true));
  3386. | ^
  3387. ../src/intel/vulkan/genX_query.c:559:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3388. 559 | const uint64_t *marker = query_data + intel_perf_marker_offset();
  3389. | ^
  3390. ../src/intel/vulkan/genX_query.c:574:13: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3391. 574 | pData += stride;
  3392. | ^~
  3393. ../src/intel/vulkan/genX_query.c: In function ‘gen11_ResetQueryPool’:
  3394. ../src/intel/vulkan/genX_query.c:766:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3395. 766 | uint64_t *pass_slot = pool->bo->map +
  3396. | ^
  3397. ../src/intel/vulkan/genX_query.c: In function ‘gen11_CmdBeginQueryIndexedEXT’:
  3398. ../src/intel/vulkan/genX_query.c:897:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3399. 897 | mi_rpc_dws +
  3400. | ^
  3401. ../src/intel/vulkan/genX_query.c: In function ‘gen11_CmdEndQueryIndexedEXT’:
  3402. ../src/intel/vulkan/genX_query.c:1034:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3403. 1034 | mi_rpc_dws +
  3404. | ^
  3405. ../src/intel/vulkan/genX_query.c:1043:54: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3406. 1043 | availability_dws +
  3407. | ^
  3408. [45/87] Compiling C object src/intel/vulkan/libanv_gen120.a.p/genX_gpu_memcpy.c.o
  3409. In file included from ../src/intel/vulkan/anv_private.h:46,
  3410. from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  3411. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3412. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3413. 34 | void *end = start + size;
  3414. | ^
  3415. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3416. 38 | p += CACHELINE_SIZE;
  3417. | ^~
  3418. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3419. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3420. 64 | __builtin_ia32_clflush(start + size - 1);
  3421. | ^
  3422. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3423. 64 | __builtin_ia32_clflush(start + size - 1);
  3424. | ^
  3425. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  3426. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3427. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3428. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3429. | ^
  3430. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3431. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3432. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3433. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3434. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3435. | ^
  3436. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3437. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3438. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3439. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3440. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3441. | ^
  3442. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3443. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3444. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3445. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3446. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3447. | ^
  3448. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3449. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3450. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3451. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3452. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3453. | ^
  3454. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3455. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3456. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3457. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3458. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3459. | ^
  3460. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3461. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3462. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3463. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3464. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3465. | ^
  3466. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3467. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3468. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3469. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3470. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3471. | ^
  3472. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3473. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3474. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3475. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  3476. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3477. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3478. 1710 | batch->end = map + size;
  3479. | ^
  3480. [46/87] Compiling C object src/intel/vulkan/libanv_gen110.a.p/genX_blorp_exec.c.o
  3481. In file included from ../src/intel/vulkan/anv_private.h:46,
  3482. from ../src/intel/vulkan/genX_blorp_exec.c:26:
  3483. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3484. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3485. 34 | void *end = start + size;
  3486. | ^
  3487. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3488. 38 | p += CACHELINE_SIZE;
  3489. | ^~
  3490. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3491. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3492. 64 | __builtin_ia32_clflush(start + size - 1);
  3493. | ^
  3494. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3495. 64 | __builtin_ia32_clflush(start + size - 1);
  3496. | ^
  3497. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  3498. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3499. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3500. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3501. | ^
  3502. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3503. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3504. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3505. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3506. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3507. | ^
  3508. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3509. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3510. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3511. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3512. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3513. | ^
  3514. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3515. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3516. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3517. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3518. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3519. | ^
  3520. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3521. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3522. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3523. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3524. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3525. | ^
  3526. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3527. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3528. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3529. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3530. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3531. | ^
  3532. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3533. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3534. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3535. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3536. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3537. | ^
  3538. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3539. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3540. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3541. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3542. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3543. | ^
  3544. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3545. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3546. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3547. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  3548. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3549. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3550. 1710 | batch->end = map + size;
  3551. | ^
  3552. In file included from ../src/intel/vulkan/genX_blorp_exec.c:35:
  3553. ../src/intel/blorp/blorp_genX_exec.h: In function ‘blorp_emit_surface_state’:
  3554. ../src/intel/blorp/blorp_genX_exec.h:1464:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3555. 1464 | uint32_t *aux_addr = state + isl_dev->ss.aux_addr_offset;
  3556. | ^
  3557. ../src/intel/blorp/blorp_genX_exec.h:1472:36: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3558. 1472 | uint32_t *clear_addr = state + isl_dev->ss.clear_color_state_offset;
  3559. | ^
  3560. [47/87] Compiling C object src/intel/vulkan/libanv_gen110.a.p/gen8_cmd_buffer.c.o
  3561. In file included from ../src/intel/vulkan/anv_private.h:46,
  3562. from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  3563. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3564. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3565. 34 | void *end = start + size;
  3566. | ^
  3567. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3568. 38 | p += CACHELINE_SIZE;
  3569. | ^~
  3570. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3571. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3572. 64 | __builtin_ia32_clflush(start + size - 1);
  3573. | ^
  3574. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3575. 64 | __builtin_ia32_clflush(start + size - 1);
  3576. | ^
  3577. In file included from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  3578. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3579. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3580. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3581. | ^
  3582. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3583. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3584. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3585. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3586. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3587. | ^
  3588. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3589. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3590. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3591. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3592. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3593. | ^
  3594. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3595. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3596. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3597. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3598. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3599. | ^
  3600. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3601. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3602. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3603. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3604. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3605. | ^
  3606. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3607. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3608. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3609. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3610. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3611. | ^
  3612. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3613. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3614. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3615. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3616. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3617. | ^
  3618. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3619. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3620. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3621. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3622. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3623. | ^
  3624. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3625. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3626. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3627. In file included from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  3628. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3629. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3630. 1710 | batch->end = map + size;
  3631. | ^
  3632. [48/87] Linking static target src/intel/vulkan/libanv_gen100.a
  3633. [49/87] Compiling C object src/intel/vulkan/libanv_gen110.a.p/genX_gpu_memcpy.c.o
  3634. In file included from ../src/intel/vulkan/anv_private.h:46,
  3635. from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  3636. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3637. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3638. 34 | void *end = start + size;
  3639. | ^
  3640. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3641. 38 | p += CACHELINE_SIZE;
  3642. | ^~
  3643. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3644. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3645. 64 | __builtin_ia32_clflush(start + size - 1);
  3646. | ^
  3647. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3648. 64 | __builtin_ia32_clflush(start + size - 1);
  3649. | ^
  3650. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  3651. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3652. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3653. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3654. | ^
  3655. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3656. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3657. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3658. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3659. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3660. | ^
  3661. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3662. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3663. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3664. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3665. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3666. | ^
  3667. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3668. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3669. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3670. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3671. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3672. | ^
  3673. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3674. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3675. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3676. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3677. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3678. | ^
  3679. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3680. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3681. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3682. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3683. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3684. | ^
  3685. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3686. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3687. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3688. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3689. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3690. | ^
  3691. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3692. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3693. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3694. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3695. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3696. | ^
  3697. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3698. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3699. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3700. In file included from ../src/intel/vulkan/genX_gpu_memcpy.c:24:
  3701. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3702. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3703. 1710 | batch->end = map + size;
  3704. | ^
  3705. [50/87] Compiling C object src/intel/vulkan/libanv_gen120.a.p/genX_blorp_exec.c.o
  3706. In file included from ../src/intel/vulkan/anv_private.h:46,
  3707. from ../src/intel/vulkan/genX_blorp_exec.c:26:
  3708. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3709. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3710. 34 | void *end = start + size;
  3711. | ^
  3712. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3713. 38 | p += CACHELINE_SIZE;
  3714. | ^~
  3715. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3716. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3717. 64 | __builtin_ia32_clflush(start + size - 1);
  3718. | ^
  3719. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3720. 64 | __builtin_ia32_clflush(start + size - 1);
  3721. | ^
  3722. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  3723. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3724. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3725. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3726. | ^
  3727. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3728. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3729. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3730. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3731. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3732. | ^
  3733. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3734. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3735. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3736. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3737. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3738. | ^
  3739. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3740. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3741. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3742. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3743. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3744. | ^
  3745. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3746. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3747. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3748. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3749. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3750. | ^
  3751. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3752. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3753. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3754. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3755. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3756. | ^
  3757. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3758. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3759. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3760. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3761. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3762. | ^
  3763. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3764. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3765. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3766. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3767. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3768. | ^
  3769. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3770. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3771. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3772. In file included from ../src/intel/vulkan/genX_blorp_exec.c:26:
  3773. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3774. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3775. 1710 | batch->end = map + size;
  3776. | ^
  3777. In file included from ../src/intel/vulkan/genX_blorp_exec.c:35:
  3778. ../src/intel/blorp/blorp_genX_exec.h: In function ‘blorp_emit_surface_state’:
  3779. ../src/intel/blorp/blorp_genX_exec.h:1464:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3780. 1464 | uint32_t *aux_addr = state + isl_dev->ss.aux_addr_offset;
  3781. | ^
  3782. ../src/intel/blorp/blorp_genX_exec.h:1472:36: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3783. 1472 | uint32_t *clear_addr = state + isl_dev->ss.clear_color_state_offset;
  3784. | ^
  3785. [51/87] Compiling C object src/intel/vulkan/libanv_gen120.a.p/genX_state.c.o
  3786. In file included from ../src/intel/vulkan/anv_private.h:46,
  3787. from ../src/intel/vulkan/genX_state.c:30:
  3788. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3789. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3790. 34 | void *end = start + size;
  3791. | ^
  3792. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3793. 38 | p += CACHELINE_SIZE;
  3794. | ^~
  3795. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3796. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3797. 64 | __builtin_ia32_clflush(start + size - 1);
  3798. | ^
  3799. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3800. 64 | __builtin_ia32_clflush(start + size - 1);
  3801. | ^
  3802. In file included from ../src/intel/vulkan/genX_state.c:30:
  3803. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3804. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3805. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3806. | ^
  3807. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3808. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3809. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3810. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3811. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3812. | ^
  3813. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3814. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3815. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3816. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3817. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3818. | ^
  3819. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3820. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3821. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3822. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3823. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3824. | ^
  3825. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3826. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3827. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3828. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3829. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3830. | ^
  3831. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3832. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3833. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3834. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3835. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3836. | ^
  3837. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3838. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3839. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3840. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3841. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3842. | ^
  3843. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3844. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3845. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3846. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3847. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3848. | ^
  3849. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3850. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3851. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3852. In file included from ../src/intel/vulkan/genX_state.c:30:
  3853. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3854. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3855. 1710 | batch->end = map + size;
  3856. | ^
  3857. ../src/intel/vulkan/genX_state.c: In function ‘gen12_init_device_state’:
  3858. ../src/intel/vulkan/genX_state.c:119:30: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3859. 119 | batch.end = (void *) cmds + sizeof(cmds);
  3860. | ^
  3861. ../src/intel/vulkan/genX_state.c: In function ‘gen12_CreateSampler’:
  3862. ../src/intel/vulkan/genX_state.c:569:45: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3863. 569 | memcpy(sampler->bindless_state.map + p * 32,
  3864. | ^
  3865. [52/87] Compiling C object src/intel/vulkan/libanv_gen120.a.p/gen8_cmd_buffer.c.o
  3866. In file included from ../src/intel/vulkan/anv_private.h:46,
  3867. from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  3868. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3869. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3870. 34 | void *end = start + size;
  3871. | ^
  3872. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3873. 38 | p += CACHELINE_SIZE;
  3874. | ^~
  3875. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3876. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3877. 64 | __builtin_ia32_clflush(start + size - 1);
  3878. | ^
  3879. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3880. 64 | __builtin_ia32_clflush(start + size - 1);
  3881. | ^
  3882. In file included from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  3883. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3884. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3885. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3886. | ^
  3887. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3888. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3889. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3890. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3891. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3892. | ^
  3893. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3894. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3895. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3896. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3897. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3898. | ^
  3899. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3900. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3901. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3902. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3903. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3904. | ^
  3905. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3906. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3907. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3908. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3909. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3910. | ^
  3911. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3912. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3913. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3914. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3915. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3916. | ^
  3917. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3918. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3919. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3920. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3921. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3922. | ^
  3923. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3924. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3925. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3926. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3927. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3928. | ^
  3929. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3930. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  3931. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3932. In file included from ../src/intel/vulkan/gen8_cmd_buffer.c:30:
  3933. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  3934. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3935. 1710 | batch->end = map + size;
  3936. | ^
  3937. [53/87] Compiling C object src/intel/vulkan/libanv_gen110.a.p/genX_cmd_buffer.c.o
  3938. In file included from ../src/intel/vulkan/anv_private.h:46,
  3939. from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  3940. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  3941. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3942. 34 | void *end = start + size;
  3943. | ^
  3944. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3945. 38 | p += CACHELINE_SIZE;
  3946. | ^~
  3947. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  3948. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3949. 64 | __builtin_ia32_clflush(start + size - 1);
  3950. | ^
  3951. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3952. 64 | __builtin_ia32_clflush(start + size - 1);
  3953. | ^
  3954. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  3955. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  3956. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3957. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3958. | ^
  3959. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3960. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  3961. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3962. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3963. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3964. | ^
  3965. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3966. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  3967. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3968. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3969. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3970. | ^
  3971. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3972. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  3973. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3974. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3975. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3976. | ^
  3977. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3978. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  3979. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3980. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3981. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3982. | ^
  3983. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3984. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  3985. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3986. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3987. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3988. | ^
  3989. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3990. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  3991. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3992. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3993. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  3994. | ^
  3995. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  3996. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  3997. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3998. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  3999. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4000. | ^
  4001. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4002. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  4003. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4004. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  4005. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  4006. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4007. 1710 | batch->end = map + size;
  4008. | ^
  4009. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘gen11_cmd_buffer_alloc_att_surf_states’:
  4010. ../src/intel/vulkan/genX_cmd_buffer.c:1482:19: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4011. 1482 | next_state.map += ss_stride;
  4012. | ^~
  4013. ../src/intel/vulkan/genX_cmd_buffer.c:1505:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4014. 1505 | next_state.map += ss_stride;
  4015. | ^~
  4016. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘emit_samplers’:
  4017. ../src/intel/vulkan/genX_cmd_buffer.c:2775:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4018. 2775 | memcpy(state->map + (s * 16),
  4019. | ^
  4020. [54/87] Compiling C object src/intel/vulkan/libanv_gen120.a.p/genX_pipeline.c.o
  4021. In file included from ../src/intel/vulkan/anv_private.h:46,
  4022. from ../src/intel/vulkan/genX_pipeline.c:24:
  4023. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  4024. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4025. 34 | void *end = start + size;
  4026. | ^
  4027. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4028. 38 | p += CACHELINE_SIZE;
  4029. | ^~
  4030. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  4031. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4032. 64 | __builtin_ia32_clflush(start + size - 1);
  4033. | ^
  4034. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4035. 64 | __builtin_ia32_clflush(start + size - 1);
  4036. | ^
  4037. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  4038. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  4039. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4040. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4041. | ^
  4042. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4043. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  4044. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4045. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4046. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4047. | ^
  4048. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4049. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  4050. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4051. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4052. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4053. | ^
  4054. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4055. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  4056. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4057. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4058. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4059. | ^
  4060. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4061. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  4062. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4063. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4064. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4065. | ^
  4066. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4067. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  4068. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4069. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4070. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4071. | ^
  4072. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4073. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  4074. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4075. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4076. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4077. | ^
  4078. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4079. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  4080. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4081. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4082. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4083. | ^
  4084. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4085. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  4086. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4087. In file included from ../src/intel/vulkan/genX_pipeline.c:24:
  4088. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  4089. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4090. 1710 | batch->end = map + size;
  4091. | ^
  4092. [55/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_blorp.c.o
  4093. In file included from ../src/intel/vulkan/anv_private.h:46,
  4094. from ../src/intel/vulkan/anv_blorp.c:24:
  4095. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  4096. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4097. 34 | void *end = start + size;
  4098. | ^
  4099. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4100. 38 | p += CACHELINE_SIZE;
  4101. | ^~
  4102. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  4103. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4104. 64 | __builtin_ia32_clflush(start + size - 1);
  4105. | ^
  4106. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4107. 64 | __builtin_ia32_clflush(start + size - 1);
  4108. | ^
  4109. In file included from ../src/intel/vulkan/anv_blorp.c:24:
  4110. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  4111. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4112. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4113. | ^
  4114. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4115. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  4116. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4117. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4118. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4119. | ^
  4120. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4121. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  4122. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4123. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4124. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4125. | ^
  4126. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4127. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  4128. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4129. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4130. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4131. | ^
  4132. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4133. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  4134. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4135. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4136. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4137. | ^
  4138. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4139. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  4140. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4141. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4142. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4143. | ^
  4144. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4145. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  4146. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4147. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4148. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4149. | ^
  4150. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4151. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  4152. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4153. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4154. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4155. | ^
  4156. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4157. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  4158. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4159. In file included from ../src/intel/vulkan/anv_blorp.c:24:
  4160. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  4161. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4162. 1710 | batch->end = map + size;
  4163. | ^
  4164. ../src/intel/vulkan/anv_blorp.c: In function ‘anv_CmdUpdateBuffer’:
  4165. ../src/intel/vulkan/anv_blorp.c:1065:29: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4166. 1065 | pData = (void *)pData + copy_size;
  4167. | ^
  4168. [56/87] Compiling C object src/intel/vulkan/libanv_gen120.a.p/genX_cmd_buffer.c.o
  4169. In file included from ../src/intel/vulkan/anv_private.h:46,
  4170. from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  4171. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  4172. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4173. 34 | void *end = start + size;
  4174. | ^
  4175. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4176. 38 | p += CACHELINE_SIZE;
  4177. | ^~
  4178. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  4179. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4180. 64 | __builtin_ia32_clflush(start + size - 1);
  4181. | ^
  4182. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4183. 64 | __builtin_ia32_clflush(start + size - 1);
  4184. | ^
  4185. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  4186. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  4187. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4188. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4189. | ^
  4190. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4191. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  4192. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4193. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4194. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4195. | ^
  4196. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4197. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  4198. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4199. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4200. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4201. | ^
  4202. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4203. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  4204. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4205. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4206. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4207. | ^
  4208. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4209. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  4210. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4211. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4212. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4213. | ^
  4214. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4215. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  4216. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4217. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4218. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4219. | ^
  4220. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4221. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  4222. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4223. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4224. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4225. | ^
  4226. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4227. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  4228. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4229. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4230. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4231. | ^
  4232. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4233. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  4234. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4235. In file included from ../src/intel/vulkan/genX_cmd_buffer.c:27:
  4236. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  4237. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4238. 1710 | batch->end = map + size;
  4239. | ^
  4240. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘gen12_cmd_buffer_alloc_att_surf_states’:
  4241. ../src/intel/vulkan/genX_cmd_buffer.c:1482:19: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4242. 1482 | next_state.map += ss_stride;
  4243. | ^~
  4244. ../src/intel/vulkan/genX_cmd_buffer.c:1505:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4245. 1505 | next_state.map += ss_stride;
  4246. | ^~
  4247. ../src/intel/vulkan/genX_cmd_buffer.c: In function ‘emit_samplers’:
  4248. ../src/intel/vulkan/genX_cmd_buffer.c:2775:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4249. 2775 | memcpy(state->map + (s * 16),
  4250. | ^
  4251. [57/87] Compiling C object src/intel/vulkan/libanv_common.a.p/meson-generated_.._anv_entrypoints.c.o
  4252. In file included from ../src/intel/vulkan/anv_private.h:46,
  4253. from src/intel/vulkan/anv_entrypoints.c:26:
  4254. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  4255. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4256. 34 | void *end = start + size;
  4257. | ^
  4258. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4259. 38 | p += CACHELINE_SIZE;
  4260. | ^~
  4261. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  4262. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4263. 64 | __builtin_ia32_clflush(start + size - 1);
  4264. | ^
  4265. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4266. 64 | __builtin_ia32_clflush(start + size - 1);
  4267. | ^
  4268. In file included from src/intel/vulkan/anv_entrypoints.c:26:
  4269. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  4270. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4271. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4272. | ^
  4273. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4274. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  4275. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4276. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4277. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4278. | ^
  4279. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4280. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  4281. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4282. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4283. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4284. | ^
  4285. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4286. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  4287. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4288. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4289. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4290. | ^
  4291. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4292. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  4293. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4294. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4295. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4296. | ^
  4297. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4298. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  4299. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4300. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4301. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4302. | ^
  4303. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4304. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  4305. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4306. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4307. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4308. | ^
  4309. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4310. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  4311. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4312. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4313. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4314. | ^
  4315. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4316. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  4317. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4318. In file included from src/intel/vulkan/anv_entrypoints.c:26:
  4319. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  4320. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4321. 1710 | batch->end = map + size;
  4322. | ^
  4323. [58/87] Compiling C object src/intel/vulkan/libanv_gen120.a.p/genX_query.c.o
  4324. In file included from ../src/intel/vulkan/anv_private.h:46,
  4325. from ../src/intel/vulkan/genX_query.c:30:
  4326. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  4327. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4328. 34 | void *end = start + size;
  4329. | ^
  4330. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4331. 38 | p += CACHELINE_SIZE;
  4332. | ^~
  4333. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  4334. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4335. 64 | __builtin_ia32_clflush(start + size - 1);
  4336. | ^
  4337. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4338. 64 | __builtin_ia32_clflush(start + size - 1);
  4339. | ^
  4340. In file included from ../src/intel/vulkan/genX_query.c:30:
  4341. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  4342. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4343. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4344. | ^
  4345. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4346. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  4347. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4348. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4349. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4350. | ^
  4351. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4352. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  4353. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4354. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4355. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4356. | ^
  4357. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4358. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  4359. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4360. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4361. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4362. | ^
  4363. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4364. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  4365. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4366. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4367. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4368. | ^
  4369. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4370. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  4371. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4372. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4373. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4374. | ^
  4375. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4376. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  4377. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4378. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4379. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4380. | ^
  4381. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4382. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  4383. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4384. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4385. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4386. | ^
  4387. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4388. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  4389. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4390. In file included from ../src/intel/vulkan/genX_query.c:30:
  4391. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  4392. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4393. 1710 | batch->end = map + size;
  4394. | ^
  4395. In file included from ../src/intel/vulkan/genX_query.c:44:
  4396. ../src/intel/common/gen_mi_builder.h: In function ‘gen_mi_store_address’:
  4397. ../src/intel/common/gen_mi_builder.h:871:39: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4398. 871 | token.ptrs[i] = (void *)_dst + addr_dw;
  4399. | ^
  4400. ../src/intel/vulkan/genX_query.c: In function ‘gen12_CreateQueryPool’:
  4401. ../src/intel/vulkan/genX_query.c:187:36: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4402. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  4403. | ^
  4404. ../src/intel/vulkan/genX_query.c:187:66: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4405. 187 | .start = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 8,
  4406. | ^
  4407. ../src/intel/vulkan/genX_query.c:188:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4408. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  4409. | ^
  4410. ../src/intel/vulkan/genX_query.c:188:64: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4411. 188 | .end = pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64,
  4412. | ^
  4413. In file included from ../src/util/fast_idiv_by_const.h:33,
  4414. from ../src/intel/common/gen_mi_builder.h:29,
  4415. from ../src/intel/vulkan/genX_query.c:44:
  4416. ../src/intel/vulkan/genX_query.c:196:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4417. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  4418. | ^
  4419. ../src/intel/vulkan/genX_query.c:196:76: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4420. 196 | assert(batch.next <= (pool->bo->map + ANV_KHR_PERF_QUERY_SIZE * p + 64));
  4421. | ^
  4422. ../src/intel/vulkan/genX_query.c: In function ‘query_slot’:
  4423. ../src/intel/vulkan/genX_query.c:359:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4424. 359 | return pool->bo->map + query * pool->stride;
  4425. | ^
  4426. ../src/intel/vulkan/genX_query.c: In function ‘query_is_available’:
  4427. ../src/intel/vulkan/genX_query.c:368:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4428. 368 | pool->bo->map + khr_perf_query_availability_offset(pool, query, p);
  4429. | ^
  4430. ../src/intel/vulkan/genX_query.c: In function ‘gen12_GetQueryPoolResults’:
  4431. ../src/intel/vulkan/genX_query.c:421:27: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4432. 421 | void *data_end = pData + dataSize;
  4433. | ^
  4434. ../src/intel/vulkan/genX_query.c:517:51: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4435. 517 | const uint32_t *begin = pool->bo->map + khr_perf_query_oa_offset(pool, firstQuery + i, p, false);
  4436. | ^
  4437. ../src/intel/vulkan/genX_query.c:518:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4438. 518 | const uint32_t *end = pool->bo->map + khr_perf_query_oa_offset(pool, firstQuery + i, p, true);
  4439. | ^
  4440. ../src/intel/vulkan/genX_query.c:532:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4441. 532 | const uint32_t *oa_begin = query_data + intel_perf_mi_rpc_offset(false);
  4442. | ^
  4443. ../src/intel/vulkan/genX_query.c:533:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4444. 533 | const uint32_t *oa_end = query_data + intel_perf_mi_rpc_offset(true);
  4445. | ^
  4446. ../src/intel/vulkan/genX_query.c:534:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4447. 534 | const uint32_t *rpstat_begin = query_data + intel_perf_rpstart_offset(false);
  4448. | ^
  4449. ../src/intel/vulkan/genX_query.c:535:50: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4450. 535 | const uint32_t *rpstat_end = query_data + intel_perf_mi_rpc_offset(true);
  4451. | ^
  4452. ../src/intel/vulkan/genX_query.c:559:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4453. 559 | const uint64_t *marker = query_data + intel_perf_marker_offset();
  4454. | ^
  4455. ../src/intel/vulkan/genX_query.c:574:13: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4456. 574 | pData += stride;
  4457. | ^~
  4458. ../src/intel/vulkan/genX_query.c: In function ‘gen12_ResetQueryPool’:
  4459. ../src/intel/vulkan/genX_query.c:766:49: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4460. 766 | uint64_t *pass_slot = pool->bo->map +
  4461. | ^
  4462. ../src/intel/vulkan/genX_query.c: In function ‘gen12_CmdBeginQueryIndexedEXT’:
  4463. ../src/intel/vulkan/genX_query.c:897:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4464. 897 | mi_rpc_dws +
  4465. | ^
  4466. ../src/intel/vulkan/genX_query.c: In function ‘gen12_CmdEndQueryIndexedEXT’:
  4467. ../src/intel/vulkan/genX_query.c:1034:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4468. 1034 | mi_rpc_dws +
  4469. | ^
  4470. ../src/intel/vulkan/genX_query.c:1043:54: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4471. 1043 | availability_dws +
  4472. | ^
  4473. [59/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_dump.c.o
  4474. In file included from ../src/intel/vulkan/anv_private.h:46,
  4475. from ../src/intel/vulkan/anv_dump.c:24:
  4476. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  4477. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4478. 34 | void *end = start + size;
  4479. | ^
  4480. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4481. 38 | p += CACHELINE_SIZE;
  4482. | ^~
  4483. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  4484. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4485. 64 | __builtin_ia32_clflush(start + size - 1);
  4486. | ^
  4487. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4488. 64 | __builtin_ia32_clflush(start + size - 1);
  4489. | ^
  4490. In file included from ../src/intel/vulkan/anv_dump.c:24:
  4491. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  4492. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4493. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4494. | ^
  4495. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4496. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  4497. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4498. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4499. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4500. | ^
  4501. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4502. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  4503. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4504. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4505. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4506. | ^
  4507. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4508. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  4509. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4510. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4511. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4512. | ^
  4513. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4514. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  4515. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4516. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4517. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4518. | ^
  4519. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4520. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  4521. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4522. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4523. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4524. | ^
  4525. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4526. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  4527. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4528. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4529. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4530. | ^
  4531. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4532. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  4533. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4534. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4535. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4536. | ^
  4537. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4538. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  4539. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4540. In file included from ../src/intel/vulkan/anv_dump.c:24:
  4541. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  4542. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4543. 1710 | batch->end = map + size;
  4544. | ^
  4545. [60/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_device.c.o
  4546. In file included from ../src/intel/vulkan/anv_private.h:46,
  4547. from ../src/intel/vulkan/anv_device.c:34:
  4548. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  4549. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4550. 34 | void *end = start + size;
  4551. | ^
  4552. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4553. 38 | p += CACHELINE_SIZE;
  4554. | ^~
  4555. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  4556. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4557. 64 | __builtin_ia32_clflush(start + size - 1);
  4558. | ^
  4559. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4560. 64 | __builtin_ia32_clflush(start + size - 1);
  4561. | ^
  4562. In file included from ../src/intel/vulkan/anv_device.c:34:
  4563. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  4564. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4565. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4566. | ^
  4567. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4568. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  4569. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4570. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4571. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4572. | ^
  4573. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4574. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  4575. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4576. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4577. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4578. | ^
  4579. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4580. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  4581. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4582. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4583. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4584. | ^
  4585. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4586. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  4587. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4588. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4589. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4590. | ^
  4591. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4592. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  4593. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4594. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4595. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4596. | ^
  4597. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4598. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  4599. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4600. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4601. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4602. | ^
  4603. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4604. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  4605. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4606. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4607. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4608. | ^
  4609. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4610. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  4611. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4612. In file included from ../src/intel/vulkan/anv_device.c:34:
  4613. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  4614. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4615. 1710 | batch->end = map + size;
  4616. | ^
  4617. ../src/intel/vulkan/anv_device.c: In function ‘anv_device_init_trivial_batch’:
  4618. ../src/intel/vulkan/anv_device.c:2504:44: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4619. 2504 | .end = device->trivial_batch_bo->map + 4096,
  4620. | ^
  4621. ../src/intel/vulkan/anv_device.c:2511:49: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4622. 2511 | gen_clflush_range(batch.start, batch.next - batch.start);
  4623. | ^
  4624. ../src/intel/vulkan/anv_device.c: In function ‘anv_MapMemory’:
  4625. ../src/intel/vulkan/anv_device.c:3812:31: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4626. 3812 | *ppData = mem->host_ptr + offset;
  4627. | ^
  4628. ../src/intel/vulkan/anv_device.c:3861:23: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4629. 3861 | *ppData = mem->map + (offset - map_offset);
  4630. | ^
  4631. ../src/intel/vulkan/anv_device.c: In function ‘clflush_mapped_ranges’:
  4632. ../src/intel/vulkan/anv_device.c:3892:34: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4633. 3892 | gen_clflush_range(mem->map + ranges[i].offset,
  4634. | ^
  4635. [61/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_batch_chain.c.o
  4636. In file included from ../src/intel/vulkan/anv_private.h:46,
  4637. from ../src/intel/vulkan/anv_batch_chain.c:30:
  4638. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  4639. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4640. 34 | void *end = start + size;
  4641. | ^
  4642. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4643. 38 | p += CACHELINE_SIZE;
  4644. | ^~
  4645. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  4646. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4647. 64 | __builtin_ia32_clflush(start + size - 1);
  4648. | ^
  4649. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4650. 64 | __builtin_ia32_clflush(start + size - 1);
  4651. | ^
  4652. In file included from ../src/intel/vulkan/anv_batch_chain.c:30:
  4653. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  4654. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4655. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4656. | ^
  4657. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4658. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  4659. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4660. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4661. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4662. | ^
  4663. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4664. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  4665. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4666. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4667. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4668. | ^
  4669. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4670. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  4671. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4672. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4673. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4674. | ^
  4675. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4676. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  4677. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4678. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4679. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4680. | ^
  4681. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4682. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  4683. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4684. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4685. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4686. | ^
  4687. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4688. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  4689. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4690. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4691. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4692. | ^
  4693. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4694. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  4695. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4696. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4697. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4698. | ^
  4699. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4700. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  4701. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4702. In file included from ../src/intel/vulkan/anv_batch_chain.c:30:
  4703. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  4704. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4705. 1710 | batch->end = map + size;
  4706. | ^
  4707. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_batch_emit_dwords’:
  4708. ../src/intel/vulkan/anv_batch_chain.c:264:20: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4709. 264 | if (batch->next + num_dwords * 4 > batch->end) {
  4710. | ^
  4711. ../src/intel/vulkan/anv_batch_chain.c:274:16: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4712. 274 | batch->next += num_dwords * 4;
  4713. | ^~
  4714. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_batch_emit_reloc’:
  4715. ../src/intel/vulkan/anv_batch_chain.c:286:50: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4716. 286 | location - batch->start, bo, delta,
  4717. | ^
  4718. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_batch_address’:
  4719. ../src/intel/vulkan/anv_batch_chain.c:304:61: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4720. 304 | return anv_address_add(batch->start_addr, batch_location - batch->start);
  4721. | ^
  4722. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_batch_emit_batch’:
  4723. ../src/intel/vulkan/anv_batch_chain.c:312:23: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4724. 312 | size = other->next - other->start;
  4725. | ^
  4726. ../src/intel/vulkan/anv_batch_chain.c:315:20: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4727. 315 | if (batch->next + size > batch->end) {
  4728. | ^
  4729. In file included from src/intel/genxml/gen8_pack.h:36,
  4730. from ../src/intel/vulkan/anv_batch_chain.c:32:
  4731. ../src/intel/vulkan/anv_batch_chain.c:323:23: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4732. 323 | assert(batch->next + size <= batch->end);
  4733. | ^
  4734. ../src/intel/vulkan/anv_batch_chain.c:328:25: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4735. 328 | offset = batch->next - batch->start;
  4736. | ^
  4737. ../src/intel/vulkan/anv_batch_chain.c:336:16: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4738. 336 | batch->next += size;
  4739. | ^~
  4740. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_batch_bo_continue’:
  4741. ../src/intel/vulkan/anv_batch_chain.c:427:31: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4742. 427 | batch->next = bbo->bo->map + bbo->length;
  4743. | ^
  4744. ../src/intel/vulkan/anv_batch_chain.c:428:30: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4745. 428 | batch->end = bbo->bo->map + bbo->bo->size - batch_padding;
  4746. | ^
  4747. ../src/intel/vulkan/anv_batch_chain.c:428:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4748. 428 | batch->end = bbo->bo->map + bbo->bo->size - batch_padding;
  4749. | ^
  4750. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_batch_bo_finish’:
  4751. ../src/intel/vulkan/anv_batch_chain.c:436:30: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4752. 436 | bbo->length = batch->next - batch->start;
  4753. | ^
  4754. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_batch_bo_grow’:
  4755. ../src/intel/vulkan/anv_batch_chain.c:446:30: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4756. 446 | bbo->length = batch->next - batch->start;
  4757. | ^
  4758. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_batch_bo_link’:
  4759. ../src/intel/vulkan/anv_batch_chain.c:479:58: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4760. 479 | ASSERTED const uint32_t *bb_start = prev_bbo->bo->map + bb_start_offset;
  4761. | ^
  4762. ../src/intel/vulkan/anv_batch_chain.c:490:37: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4763. 490 | prev_bbo->bo->map + bb_start_offset + 4,
  4764. | ^
  4765. ../src/intel/vulkan/anv_batch_chain.c:490:55: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4766. 490 | prev_bbo->bo->map + bb_start_offset + 4,
  4767. | ^
  4768. ../src/intel/vulkan/anv_batch_chain.c: In function ‘cmd_buffer_chain_to_batch_bo’:
  4769. ../src/intel/vulkan/anv_batch_chain.c:608:15: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4770. 608 | batch->end += GEN8_MI_BATCH_BUFFER_START_length * 4;
  4771. | ^~
  4772. In file included from src/intel/genxml/gen8_pack.h:36,
  4773. from ../src/intel/vulkan/anv_batch_chain.c:32:
  4774. ../src/intel/vulkan/anv_batch_chain.c:609:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4775. 609 | assert(batch->end == current_bbo->bo->map + current_bbo->bo->size);
  4776. | ^
  4777. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_cmd_buffer_alloc_binding_table’:
  4778. ../src/intel/vulkan/anv_batch_chain.c:739:28: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4779. 739 | cmd_buffer->bt_next.map += bt_size;
  4780. | ^~
  4781. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_cmd_buffer_end_batch_buffer’:
  4782. ../src/intel/vulkan/anv_batch_chain.c:914:29: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4783. 914 | cmd_buffer->batch.end += GEN8_MI_BATCH_BUFFER_START_length * 4;
  4784. | ^~
  4785. In file included from src/intel/genxml/gen8_pack.h:36,
  4786. from ../src/intel/vulkan/anv_batch_chain.c:32:
  4787. ../src/intel/vulkan/anv_batch_chain.c:915:57: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4788. 915 | assert(cmd_buffer->batch.end == batch_bo->bo->map + batch_bo->bo->size);
  4789. | ^
  4790. ../src/intel/vulkan/anv_batch_chain.c:920:35: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4791. 920 | if ((cmd_buffer->batch.next - cmd_buffer->batch.start) & 4)
  4792. | ^
  4793. ../src/intel/vulkan/anv_batch_chain.c:931:54: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4794. 931 | const uint32_t length = cmd_buffer->batch.next - cmd_buffer->batch.start;
  4795. | ^
  4796. ../src/intel/vulkan/anv_batch_chain.c:943:39: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4797. 943 | cmd_buffer->batch.next - cmd_buffer->batch.start;
  4798. | ^
  4799. ../src/intel/vulkan/anv_batch_chain.c:954:72: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4800. 954 | .SecondLevelBatchBuffer = Firstlevelbatch) +
  4801. | ^
  4802. ../src/intel/vulkan/anv_batch_chain.c:983:32: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4803. 983 | cmd_buffer->batch.end += GEN8_MI_BATCH_BUFFER_START_length * 4;
  4804. | ^~
  4805. In file included from src/intel/genxml/gen8_pack.h:36,
  4806. from ../src/intel/vulkan/anv_batch_chain.c:32:
  4807. ../src/intel/vulkan/anv_batch_chain.c:985:60: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4808. 985 | assert(cmd_buffer->batch.end == batch_bo->bo->map + batch_bo->bo->size);
  4809. | ^
  4810. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_cmd_buffer_add_secondary’:
  4811. ../src/intel/vulkan/anv_batch_chain.c:1022:46: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4812. 1022 | unsigned length = secondary->batch.end - secondary->batch.start;
  4813. | ^
  4814. ../src/intel/vulkan/anv_batch_chain.c:1038:45: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4815. 1038 | uint32_t offset = primary->batch.next - primary->batch.start;
  4816. | ^
  4817. ../src/intel/vulkan/anv_batch_chain.c:1080:10: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4818. 1080 | + (GEN8_MI_STORE_DATA_IMM_ImmediateData_start / 8);
  4819. | ^
  4820. ../src/intel/vulkan/anv_batch_chain.c: In function ‘adjust_relocations_to_state_pool’:
  4821. ../src/intel/vulkan/anv_batch_chain.c:1340:35: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4822. 1340 | from_bo->map + relocs->relocs[i].offset,
  4823. | ^
  4824. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_reloc_list_apply’:
  4825. ../src/intel/vulkan/anv_batch_chain.c:1361:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4826. 1361 | void *p = bo->map + list->relocs[i].offset;
  4827. | ^
  4828. ../src/intel/vulkan/anv_batch_chain.c: In function ‘setup_execbuf_for_cmd_buffer’:
  4829. ../src/intel/vulkan/anv_batch_chain.c:1589:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4830. 1589 | __builtin_ia32_clflush((*bbo)->bo->map + i);
  4831. | ^
  4832. ../src/intel/vulkan/anv_batch_chain.c:1597:32: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  4833. 1597 | .batch_len = batch->next - batch->start,
  4834. | ^
  4835. ../src/intel/vulkan/anv_batch_chain.c: In function ‘anv_queue_execbuf_locked’:
  4836. ../src/intel/vulkan/anv_batch_chain.c:1763:48: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4837. 1763 | pass_batch_bo->map + pass_batch_offset, 64,
  4838. | ^
  4839. [62/87] Linking static target src/intel/vulkan/libanv_gen110.a
  4840. [63/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_descriptor_set.c.o
  4841. In file included from ../src/intel/vulkan/anv_private.h:46,
  4842. from ../src/intel/vulkan/anv_descriptor_set.c:33:
  4843. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  4844. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4845. 34 | void *end = start + size;
  4846. | ^
  4847. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4848. 38 | p += CACHELINE_SIZE;
  4849. | ^~
  4850. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  4851. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4852. 64 | __builtin_ia32_clflush(start + size - 1);
  4853. | ^
  4854. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4855. 64 | __builtin_ia32_clflush(start + size - 1);
  4856. | ^
  4857. In file included from ../src/intel/vulkan/anv_descriptor_set.c:33:
  4858. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  4859. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4860. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4861. | ^
  4862. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4863. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  4864. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4865. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4866. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4867. | ^
  4868. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4869. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  4870. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4871. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4872. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4873. | ^
  4874. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4875. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  4876. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4877. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4878. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4879. | ^
  4880. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4881. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  4882. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4883. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4884. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4885. | ^
  4886. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4887. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  4888. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4889. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4890. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4891. | ^
  4892. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4893. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  4894. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4895. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4896. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4897. | ^
  4898. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4899. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  4900. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4901. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4902. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  4903. | ^
  4904. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  4905. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  4906. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4907. In file included from ../src/intel/vulkan/anv_descriptor_set.c:33:
  4908. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  4909. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4910. 1710 | batch->end = map + size;
  4911. | ^
  4912. ../src/intel/vulkan/anv_descriptor_set.c: In function ‘anv_descriptor_set_create’:
  4913. ../src/intel/vulkan/anv_descriptor_set.c:957:41: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4914. 957 | set->desc_mem.map = pool->bo->map + set->desc_mem.offset;
  4915. | ^
  4916. ../src/intel/vulkan/anv_descriptor_set.c: In function ‘anv_descriptor_set_write_image_view’:
  4917. ../src/intel/vulkan/anv_descriptor_set.c:1182:39: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4918. 1182 | void *desc_map = set->desc_mem.map + bind_layout->descriptor_offset +
  4919. | ^
  4920. ../src/intel/vulkan/anv_descriptor_set.c:1182:72: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4921. 1182 | void *desc_map = set->desc_mem.map + bind_layout->descriptor_offset +
  4922. | ^
  4923. ../src/intel/vulkan/anv_descriptor_set.c: In function ‘anv_descriptor_set_write_buffer_view’:
  4924. ../src/intel/vulkan/anv_descriptor_set.c:1273:39: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4925. 1273 | void *desc_map = set->desc_mem.map + bind_layout->descriptor_offset +
  4926. | ^
  4927. ../src/intel/vulkan/anv_descriptor_set.c:1273:72: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4928. 1273 | void *desc_map = set->desc_mem.map + bind_layout->descriptor_offset +
  4929. | ^
  4930. ../src/intel/vulkan/anv_descriptor_set.c: In function ‘anv_descriptor_set_write_buffer’:
  4931. ../src/intel/vulkan/anv_descriptor_set.c:1329:39: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4932. 1329 | void *desc_map = set->desc_mem.map + bind_layout->descriptor_offset +
  4933. | ^
  4934. ../src/intel/vulkan/anv_descriptor_set.c:1329:72: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4935. 1329 | void *desc_map = set->desc_mem.map + bind_layout->descriptor_offset +
  4936. | ^
  4937. ../src/intel/vulkan/anv_descriptor_set.c: In function ‘anv_descriptor_set_write_inline_uniform_data’:
  4938. ../src/intel/vulkan/anv_descriptor_set.c:1403:39: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4939. 1403 | void *desc_map = set->desc_mem.map + bind_layout->descriptor_offset;
  4940. | ^
  4941. ../src/intel/vulkan/anv_descriptor_set.c:1405:20: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4942. 1405 | memcpy(desc_map + offset, data, size);
  4943. | ^
  4944. ../src/intel/vulkan/anv_descriptor_set.c: In function ‘anv_UpdateDescriptorSets’:
  4945. ../src/intel/vulkan/anv_descriptor_set.c:1505:35: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4946. 1505 | memcpy(dst->desc_mem.map + dst_layout->descriptor_offset +
  4947. | ^
  4948. ../src/intel/vulkan/anv_descriptor_set.c:1505:67: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4949. 1505 | memcpy(dst->desc_mem.map + dst_layout->descriptor_offset +
  4950. | ^
  4951. ../src/intel/vulkan/anv_descriptor_set.c:1507:35: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4952. 1507 | src->desc_mem.map + src_layout->descriptor_offset +
  4953. | ^
  4954. ../src/intel/vulkan/anv_descriptor_set.c:1507:67: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4955. 1507 | src->desc_mem.map + src_layout->descriptor_offset +
  4956. | ^
  4957. ../src/intel/vulkan/anv_descriptor_set.c:1517:38: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4958. 1517 | memcpy(dst->desc_mem.map + dst_layout->descriptor_offset +
  4959. | ^
  4960. ../src/intel/vulkan/anv_descriptor_set.c:1517:70: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4961. 1517 | memcpy(dst->desc_mem.map + dst_layout->descriptor_offset +
  4962. | ^
  4963. ../src/intel/vulkan/anv_descriptor_set.c:1519:38: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4964. 1519 | src->desc_mem.map + src_layout->descriptor_offset +
  4965. | ^
  4966. ../src/intel/vulkan/anv_descriptor_set.c:1519:70: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4967. 1519 | src->desc_mem.map + src_layout->descriptor_offset +
  4968. | ^
  4969. ../src/intel/vulkan/anv_descriptor_set.c: In function ‘anv_descriptor_set_write_template’:
  4970. ../src/intel/vulkan/anv_descriptor_set.c:1550:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4971. 1550 | data + entry->offset + j * entry->stride;
  4972. | ^
  4973. ../src/intel/vulkan/anv_descriptor_set.c:1550:37: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4974. 1550 | data + entry->offset + j * entry->stride;
  4975. | ^
  4976. ../src/intel/vulkan/anv_descriptor_set.c:1562:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4977. 1562 | data + entry->offset + j * entry->stride;
  4978. | ^
  4979. ../src/intel/vulkan/anv_descriptor_set.c:1562:37: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4980. 1562 | data + entry->offset + j * entry->stride;
  4981. | ^
  4982. ../src/intel/vulkan/anv_descriptor_set.c:1579:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4983. 1579 | data + entry->offset + j * entry->stride;
  4984. | ^
  4985. ../src/intel/vulkan/anv_descriptor_set.c:1579:37: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4986. 1579 | data + entry->offset + j * entry->stride;
  4987. | ^
  4988. ../src/intel/vulkan/anv_descriptor_set.c:1595:60: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4989. 1595 | data + entry->offset,
  4990. | ^
  4991. [64/87] Compiling C object src/intel/vulkan/libanv_common.a.p/meson-generated_.._anv_extensions.c.o
  4992. In file included from ../src/intel/vulkan/anv_private.h:46,
  4993. from src/intel/vulkan/anv_extensions.c:25:
  4994. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  4995. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4996. 34 | void *end = start + size;
  4997. | ^
  4998. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  4999. 38 | p += CACHELINE_SIZE;
  5000. | ^~
  5001. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5002. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5003. 64 | __builtin_ia32_clflush(start + size - 1);
  5004. | ^
  5005. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5006. 64 | __builtin_ia32_clflush(start + size - 1);
  5007. | ^
  5008. In file included from src/intel/vulkan/anv_extensions.c:25:
  5009. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5010. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5011. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5012. | ^
  5013. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5014. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5015. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5016. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5017. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5018. | ^
  5019. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5020. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5021. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5022. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5023. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5024. | ^
  5025. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5026. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5027. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5028. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5029. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5030. | ^
  5031. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5032. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5033. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5034. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5035. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5036. | ^
  5037. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5038. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5039. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5040. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5041. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5042. | ^
  5043. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5044. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5045. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5046. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5047. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5048. | ^
  5049. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5050. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5051. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5052. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5053. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5054. | ^
  5055. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5056. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5057. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5058. In file included from src/intel/vulkan/anv_extensions.c:25:
  5059. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5060. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5061. 1710 | batch->end = map + size;
  5062. | ^
  5063. [65/87] Linking static target src/intel/vulkan/libanv_gen120.a
  5064. [66/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_allocator.c.o
  5065. In file included from ../src/intel/vulkan/anv_private.h:46,
  5066. from ../src/intel/vulkan/anv_allocator.c:30:
  5067. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5068. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5069. 34 | void *end = start + size;
  5070. | ^
  5071. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5072. 38 | p += CACHELINE_SIZE;
  5073. | ^~
  5074. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5075. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5076. 64 | __builtin_ia32_clflush(start + size - 1);
  5077. | ^
  5078. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5079. 64 | __builtin_ia32_clflush(start + size - 1);
  5080. | ^
  5081. In file included from ../src/intel/vulkan/anv_allocator.c:30:
  5082. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5083. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5084. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5085. | ^
  5086. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5087. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5088. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5089. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5090. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5091. | ^
  5092. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5093. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5094. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5095. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5096. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5097. | ^
  5098. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5099. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5100. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5101. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5102. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5103. | ^
  5104. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5105. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5106. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5107. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5108. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5109. | ^
  5110. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5111. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5112. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5113. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5114. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5115. | ^
  5116. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5117. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5118. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5119. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5120. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5121. | ^
  5122. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5123. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5124. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5125. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5126. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5127. | ^
  5128. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5129. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5130. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5131. In file included from ../src/intel/vulkan/anv_allocator.c:30:
  5132. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5133. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5134. 1710 | batch->end = map + size;
  5135. | ^
  5136. ../src/intel/vulkan/anv_allocator.c: In function ‘anv_block_pool_expand_range’:
  5137. ../src/intel/vulkan/anv_allocator.c:549:23: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5138. 549 | pool->map = map + center_bo_offset;
  5139. | ^
  5140. ../src/intel/vulkan/anv_allocator.c: In function ‘anv_block_pool_map’:
  5141. ../src/intel/vulkan/anv_allocator.c:584:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5142. 584 | return bo->map + (offset - bo_offset);
  5143. | ^
  5144. ../src/intel/vulkan/anv_allocator.c:586:24: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5145. 586 | return pool->map + offset;
  5146. | ^
  5147. ../src/intel/vulkan/anv_allocator.c: In function ‘anv_state_stream_alloc’:
  5148. ../src/intel/vulkan/anv_allocator.c:1255:14: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5149. 1255 | state.map += offset;
  5150. | ^~
  5151. [67/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_intel.c.o
  5152. In file included from ../src/intel/vulkan/anv_private.h:46,
  5153. from ../src/intel/vulkan/anv_intel.c:30:
  5154. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5155. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5156. 34 | void *end = start + size;
  5157. | ^
  5158. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5159. 38 | p += CACHELINE_SIZE;
  5160. | ^~
  5161. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5162. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5163. 64 | __builtin_ia32_clflush(start + size - 1);
  5164. | ^
  5165. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5166. 64 | __builtin_ia32_clflush(start + size - 1);
  5167. | ^
  5168. In file included from ../src/intel/vulkan/anv_intel.c:30:
  5169. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5170. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5171. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5172. | ^
  5173. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5174. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5175. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5176. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5177. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5178. | ^
  5179. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5180. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5181. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5182. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5183. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5184. | ^
  5185. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5186. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5187. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5188. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5189. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5190. | ^
  5191. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5192. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5193. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5194. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5195. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5196. | ^
  5197. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5198. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5199. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5200. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5201. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5202. | ^
  5203. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5204. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5205. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5206. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5207. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5208. | ^
  5209. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5210. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5211. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5212. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5213. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5214. | ^
  5215. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5216. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5217. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5218. In file included from ../src/intel/vulkan/anv_intel.c:30:
  5219. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5220. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5221. 1710 | batch->end = map + size;
  5222. | ^
  5223. [68/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_cmd_buffer.c.o
  5224. In file included from ../src/intel/vulkan/anv_private.h:46,
  5225. from ../src/intel/vulkan/anv_cmd_buffer.c:30:
  5226. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5227. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5228. 34 | void *end = start + size;
  5229. | ^
  5230. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5231. 38 | p += CACHELINE_SIZE;
  5232. | ^~
  5233. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5234. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5235. 64 | __builtin_ia32_clflush(start + size - 1);
  5236. | ^
  5237. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5238. 64 | __builtin_ia32_clflush(start + size - 1);
  5239. | ^
  5240. In file included from ../src/intel/vulkan/anv_cmd_buffer.c:30:
  5241. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5242. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5243. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5244. | ^
  5245. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5246. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5247. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5248. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5249. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5250. | ^
  5251. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5252. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5253. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5254. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5255. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5256. | ^
  5257. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5258. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5259. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5260. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5261. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5262. | ^
  5263. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5264. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5265. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5266. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5267. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5268. | ^
  5269. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5270. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5271. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5272. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5273. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5274. | ^
  5275. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5276. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5277. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5278. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5279. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5280. | ^
  5281. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5282. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5283. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5284. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5285. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5286. | ^
  5287. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5288. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5289. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5290. In file included from ../src/intel/vulkan/anv_cmd_buffer.c:30:
  5291. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5292. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5293. 1710 | batch->end = map + size;
  5294. | ^
  5295. ../src/intel/vulkan/anv_cmd_buffer.c: In function ‘anv_cmd_buffer_cs_push_constants’:
  5296. ../src/intel/vulkan/anv_cmd_buffer.c:1073:11: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5297. 1073 | dst += cs_prog_data->push.cross_thread.size;
  5298. | ^~
  5299. ../src/intel/vulkan/anv_cmd_buffer.c:1074:11: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5300. 1074 | src += cs_prog_data->push.cross_thread.size;
  5301. | ^~
  5302. ../src/intel/vulkan/anv_cmd_buffer.c:1081:38: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5303. 1081 | uint32_t *subgroup_id = dst +
  5304. | ^
  5305. ../src/intel/vulkan/anv_cmd_buffer.c:1082:65: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5306. 1082 | offsetof(struct anv_push_constants, cs.subgroup_id) -
  5307. | ^
  5308. ../src/intel/vulkan/anv_cmd_buffer.c:1086:14: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5309. 1086 | dst += cs_prog_data->push.per_thread.size;
  5310. | ^~
  5311. [69/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_nir_add_base_work_group_id.c.o
  5312. In file included from ../src/intel/vulkan/anv_private.h:46,
  5313. from ../src/intel/vulkan/anv_nir.h:28,
  5314. from ../src/intel/vulkan/anv_nir_add_base_work_group_id.c:24:
  5315. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5316. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5317. 34 | void *end = start + size;
  5318. | ^
  5319. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5320. 38 | p += CACHELINE_SIZE;
  5321. | ^~
  5322. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5323. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5324. 64 | __builtin_ia32_clflush(start + size - 1);
  5325. | ^
  5326. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5327. 64 | __builtin_ia32_clflush(start + size - 1);
  5328. | ^
  5329. In file included from ../src/intel/vulkan/anv_nir.h:28,
  5330. from ../src/intel/vulkan/anv_nir_add_base_work_group_id.c:24:
  5331. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5332. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5333. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5334. | ^
  5335. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5336. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5337. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5338. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5339. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5340. | ^
  5341. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5342. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5343. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5344. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5345. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5346. | ^
  5347. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5348. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5349. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5350. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5351. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5352. | ^
  5353. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5354. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5355. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5356. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5357. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5358. | ^
  5359. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5360. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5361. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5362. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5363. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5364. | ^
  5365. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5366. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5367. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5368. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5369. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5370. | ^
  5371. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5372. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5373. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5374. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5375. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5376. | ^
  5377. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5378. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5379. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5380. In file included from ../src/intel/vulkan/anv_nir.h:28,
  5381. from ../src/intel/vulkan/anv_nir_add_base_work_group_id.c:24:
  5382. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5383. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5384. 1710 | batch->end = map + size;
  5385. | ^
  5386. [70/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_nir_lower_multiview.c.o
  5387. In file included from ../src/intel/vulkan/anv_private.h:46,
  5388. from ../src/intel/vulkan/anv_nir.h:28,
  5389. from ../src/intel/vulkan/anv_nir_lower_multiview.c:24:
  5390. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5391. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5392. 34 | void *end = start + size;
  5393. | ^
  5394. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5395. 38 | p += CACHELINE_SIZE;
  5396. | ^~
  5397. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5398. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5399. 64 | __builtin_ia32_clflush(start + size - 1);
  5400. | ^
  5401. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5402. 64 | __builtin_ia32_clflush(start + size - 1);
  5403. | ^
  5404. In file included from ../src/intel/vulkan/anv_nir.h:28,
  5405. from ../src/intel/vulkan/anv_nir_lower_multiview.c:24:
  5406. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5407. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5408. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5409. | ^
  5410. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5411. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5412. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5413. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5414. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5415. | ^
  5416. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5417. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5418. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5419. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5420. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5421. | ^
  5422. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5423. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5424. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5425. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5426. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5427. | ^
  5428. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5429. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5430. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5431. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5432. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5433. | ^
  5434. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5435. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5436. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5437. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5438. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5439. | ^
  5440. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5441. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5442. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5443. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5444. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5445. | ^
  5446. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5447. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5448. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5449. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5450. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5451. | ^
  5452. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5453. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5454. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5455. In file included from ../src/intel/vulkan/anv_nir.h:28,
  5456. from ../src/intel/vulkan/anv_nir_lower_multiview.c:24:
  5457. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5458. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5459. 1710 | batch->end = map + size;
  5460. | ^
  5461. [71/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_formats.c.o
  5462. In file included from ../src/intel/vulkan/anv_private.h:46,
  5463. from ../src/intel/vulkan/anv_formats.c:24:
  5464. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5465. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5466. 34 | void *end = start + size;
  5467. | ^
  5468. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5469. 38 | p += CACHELINE_SIZE;
  5470. | ^~
  5471. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5472. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5473. 64 | __builtin_ia32_clflush(start + size - 1);
  5474. | ^
  5475. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5476. 64 | __builtin_ia32_clflush(start + size - 1);
  5477. | ^
  5478. In file included from ../src/intel/vulkan/anv_formats.c:24:
  5479. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5480. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5481. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5482. | ^
  5483. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5484. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5485. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5486. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5487. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5488. | ^
  5489. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5490. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5491. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5492. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5493. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5494. | ^
  5495. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5496. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5497. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5498. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5499. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5500. | ^
  5501. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5502. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5503. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5504. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5505. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5506. | ^
  5507. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5508. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5509. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5510. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5511. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5512. | ^
  5513. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5514. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5515. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5516. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5517. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5518. | ^
  5519. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5520. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5521. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5522. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5523. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5524. | ^
  5525. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5526. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5527. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5528. In file included from ../src/intel/vulkan/anv_formats.c:24:
  5529. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5530. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5531. 1710 | batch->end = map + size;
  5532. | ^
  5533. [72/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_image.c.o
  5534. In file included from ../src/intel/vulkan/anv_private.h:46,
  5535. from ../src/intel/vulkan/anv_image.c:32:
  5536. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5537. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5538. 34 | void *end = start + size;
  5539. | ^
  5540. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5541. 38 | p += CACHELINE_SIZE;
  5542. | ^~
  5543. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5544. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5545. 64 | __builtin_ia32_clflush(start + size - 1);
  5546. | ^
  5547. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5548. 64 | __builtin_ia32_clflush(start + size - 1);
  5549. | ^
  5550. In file included from ../src/intel/vulkan/anv_image.c:32:
  5551. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5552. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5553. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5554. | ^
  5555. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5556. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5557. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5558. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5559. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5560. | ^
  5561. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5562. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5563. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5564. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5565. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5566. | ^
  5567. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5568. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5569. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5570. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5571. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5572. | ^
  5573. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5574. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5575. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5576. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5577. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5578. | ^
  5579. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5580. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5581. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5582. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5583. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5584. | ^
  5585. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5586. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5587. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5588. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5589. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5590. | ^
  5591. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5592. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5593. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5594. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5595. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5596. | ^
  5597. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5598. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5599. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5600. In file included from ../src/intel/vulkan/anv_image.c:32:
  5601. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5602. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5603. 1710 | batch->end = map + size;
  5604. | ^
  5605. ../src/intel/vulkan/anv_image.c: In function ‘anv_image_fill_surface_state’:
  5606. ../src/intel/vulkan/anv_image.c:1864:54: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5607. 1864 | uint32_t *aux_addr_dw = state_inout->state.map +
  5608. | ^
  5609. ../src/intel/vulkan/anv_image.c:1870:59: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5610. 1870 | uint32_t *clear_addr_dw = state_inout->state.map +
  5611. | ^
  5612. [73/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_perf.c.o
  5613. In file included from ../src/intel/vulkan/anv_private.h:46,
  5614. from ../src/intel/vulkan/anv_perf.c:28:
  5615. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5616. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5617. 34 | void *end = start + size;
  5618. | ^
  5619. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5620. 38 | p += CACHELINE_SIZE;
  5621. | ^~
  5622. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5623. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5624. 64 | __builtin_ia32_clflush(start + size - 1);
  5625. | ^
  5626. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5627. 64 | __builtin_ia32_clflush(start + size - 1);
  5628. | ^
  5629. In file included from ../src/intel/vulkan/anv_perf.c:28:
  5630. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5631. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5632. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5633. | ^
  5634. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5635. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5636. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5637. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5638. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5639. | ^
  5640. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5641. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5642. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5643. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5644. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5645. | ^
  5646. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5647. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5648. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5649. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5650. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5651. | ^
  5652. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5653. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5654. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5655. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5656. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5657. | ^
  5658. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5659. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5660. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5661. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5662. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5663. | ^
  5664. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5665. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5666. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5667. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5668. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5669. | ^
  5670. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5671. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5672. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5673. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5674. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5675. | ^
  5676. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5677. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5678. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5679. In file included from ../src/intel/vulkan/anv_perf.c:28:
  5680. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5681. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5682. 1710 | batch->end = map + size;
  5683. | ^
  5684. [74/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_nir_compute_push_layout.c.o
  5685. In file included from ../src/intel/vulkan/anv_private.h:46,
  5686. from ../src/intel/vulkan/anv_nir.h:28,
  5687. from ../src/intel/vulkan/anv_nir_compute_push_layout.c:24:
  5688. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5689. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5690. 34 | void *end = start + size;
  5691. | ^
  5692. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5693. 38 | p += CACHELINE_SIZE;
  5694. | ^~
  5695. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5696. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5697. 64 | __builtin_ia32_clflush(start + size - 1);
  5698. | ^
  5699. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5700. 64 | __builtin_ia32_clflush(start + size - 1);
  5701. | ^
  5702. In file included from ../src/intel/vulkan/anv_nir.h:28,
  5703. from ../src/intel/vulkan/anv_nir_compute_push_layout.c:24:
  5704. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5705. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5706. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5707. | ^
  5708. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5709. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5710. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5711. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5712. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5713. | ^
  5714. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5715. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5716. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5717. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5718. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5719. | ^
  5720. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5721. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5722. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5723. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5724. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5725. | ^
  5726. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5727. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5728. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5729. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5730. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5731. | ^
  5732. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5733. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5734. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5735. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5736. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5737. | ^
  5738. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5739. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5740. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5741. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5742. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5743. | ^
  5744. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5745. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5746. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5747. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5748. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5749. | ^
  5750. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5751. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5752. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5753. In file included from ../src/intel/vulkan/anv_nir.h:28,
  5754. from ../src/intel/vulkan/anv_nir_compute_push_layout.c:24:
  5755. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5756. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5757. 1710 | batch->end = map + size;
  5758. | ^
  5759. [75/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_pipeline.c.o
  5760. In file included from ../src/intel/vulkan/anv_private.h:46,
  5761. from ../src/intel/vulkan/anv_pipeline.c:34:
  5762. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5763. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5764. 34 | void *end = start + size;
  5765. | ^
  5766. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5767. 38 | p += CACHELINE_SIZE;
  5768. | ^~
  5769. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5770. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5771. 64 | __builtin_ia32_clflush(start + size - 1);
  5772. | ^
  5773. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5774. 64 | __builtin_ia32_clflush(start + size - 1);
  5775. | ^
  5776. In file included from ../src/intel/vulkan/anv_pipeline.c:34:
  5777. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5778. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5779. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5780. | ^
  5781. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5782. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5783. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5784. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5785. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5786. | ^
  5787. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5788. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5789. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5790. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5791. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5792. | ^
  5793. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5794. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5795. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5796. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5797. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5798. | ^
  5799. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5800. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5801. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5802. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5803. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5804. | ^
  5805. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5806. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5807. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5808. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5809. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5810. | ^
  5811. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5812. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5813. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5814. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5815. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5816. | ^
  5817. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5818. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5819. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5820. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5821. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5822. | ^
  5823. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5824. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5825. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5826. In file included from ../src/intel/vulkan/anv_pipeline.c:34:
  5827. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5828. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5829. 1710 | batch->end = map + size;
  5830. | ^
  5831. ../src/intel/vulkan/anv_pipeline.c: In function ‘anv_shader_compile_to_nir’:
  5832. ../src/intel/vulkan/anv_pipeline.c:149:46: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5833. 149 | const void *data = spec_info->pData + entry.offset;
  5834. | ^
  5835. In file included from ../src/util/disk_cache.h:32,
  5836. from ../src/compiler/spirv/nir_spirv.h:31,
  5837. from ../src/intel/vulkan/anv_pipeline.c:38:
  5838. ../src/intel/vulkan/anv_pipeline.c:150:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5839. 150 | assert(data + entry.size <= spec_info->pData + spec_info->dataSize);
  5840. | ^
  5841. ../src/intel/vulkan/anv_pipeline.c:150:55: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5842. 150 | assert(data + entry.size <= spec_info->pData + spec_info->dataSize);
  5843. | ^
  5844. [76/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_nir_apply_pipeline_layout.c.o
  5845. In file included from ../src/intel/vulkan/anv_private.h:46,
  5846. from ../src/intel/vulkan/anv_nir.h:28,
  5847. from ../src/intel/vulkan/anv_nir_apply_pipeline_layout.c:24:
  5848. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5849. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5850. 34 | void *end = start + size;
  5851. | ^
  5852. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5853. 38 | p += CACHELINE_SIZE;
  5854. | ^~
  5855. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5856. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5857. 64 | __builtin_ia32_clflush(start + size - 1);
  5858. | ^
  5859. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5860. 64 | __builtin_ia32_clflush(start + size - 1);
  5861. | ^
  5862. In file included from ../src/intel/vulkan/anv_nir.h:28,
  5863. from ../src/intel/vulkan/anv_nir_apply_pipeline_layout.c:24:
  5864. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5865. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5866. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5867. | ^
  5868. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5869. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5870. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5871. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5872. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5873. | ^
  5874. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5875. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5876. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5877. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5878. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5879. | ^
  5880. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5881. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5882. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5883. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5884. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5885. | ^
  5886. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5887. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5888. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5889. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5890. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5891. | ^
  5892. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5893. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5894. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5895. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5896. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5897. | ^
  5898. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5899. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5900. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5901. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5902. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5903. | ^
  5904. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5905. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5906. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5907. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5908. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5909. | ^
  5910. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5911. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5912. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5913. In file included from ../src/intel/vulkan/anv_nir.h:28,
  5914. from ../src/intel/vulkan/anv_nir_apply_pipeline_layout.c:24:
  5915. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5916. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5917. 1710 | batch->end = map + size;
  5918. | ^
  5919. [77/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_wsi_x11.c.o
  5920. In file included from ../src/intel/vulkan/anv_private.h:46,
  5921. from ../src/intel/vulkan/anv_wsi_x11.c:31:
  5922. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5923. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5924. 34 | void *end = start + size;
  5925. | ^
  5926. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5927. 38 | p += CACHELINE_SIZE;
  5928. | ^~
  5929. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  5930. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5931. 64 | __builtin_ia32_clflush(start + size - 1);
  5932. | ^
  5933. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5934. 64 | __builtin_ia32_clflush(start + size - 1);
  5935. | ^
  5936. In file included from ../src/intel/vulkan/anv_wsi_x11.c:31:
  5937. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  5938. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5939. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5940. | ^
  5941. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5942. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  5943. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5944. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5945. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5946. | ^
  5947. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5948. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  5949. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5950. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5951. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5952. | ^
  5953. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5954. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  5955. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5956. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5957. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5958. | ^
  5959. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5960. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  5961. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5962. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5963. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5964. | ^
  5965. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5966. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  5967. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5968. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5969. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5970. | ^
  5971. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5972. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  5973. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5974. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5975. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5976. | ^
  5977. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5978. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  5979. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5980. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5981. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  5982. | ^
  5983. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  5984. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  5985. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5986. In file included from ../src/intel/vulkan/anv_wsi_x11.c:31:
  5987. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  5988. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5989. 1710 | batch->end = map + size;
  5990. | ^
  5991. [78/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_pipeline_cache.c.o
  5992. In file included from ../src/intel/vulkan/anv_private.h:46,
  5993. from ../src/intel/vulkan/anv_pipeline_cache.c:30:
  5994. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  5995. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5996. 34 | void *end = start + size;
  5997. | ^
  5998. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  5999. 38 | p += CACHELINE_SIZE;
  6000. | ^~
  6001. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  6002. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6003. 64 | __builtin_ia32_clflush(start + size - 1);
  6004. | ^
  6005. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6006. 64 | __builtin_ia32_clflush(start + size - 1);
  6007. | ^
  6008. In file included from ../src/intel/vulkan/anv_pipeline_cache.c:30:
  6009. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  6010. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6011. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6012. | ^
  6013. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6014. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  6015. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6016. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6017. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6018. | ^
  6019. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6020. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  6021. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6022. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6023. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6024. | ^
  6025. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6026. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  6027. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6028. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6029. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6030. | ^
  6031. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6032. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  6033. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6034. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6035. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6036. | ^
  6037. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6038. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  6039. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6040. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6041. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6042. | ^
  6043. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6044. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  6045. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6046. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6047. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6048. | ^
  6049. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6050. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  6051. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6052. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6053. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6054. | ^
  6055. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6056. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  6057. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6058. In file included from ../src/intel/vulkan/anv_pipeline_cache.c:30:
  6059. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  6060. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6061. 1710 | batch->end = map + size;
  6062. | ^
  6063. [79/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_nir_lower_ycbcr_textures.c.o
  6064. In file included from ../src/intel/vulkan/anv_private.h:46,
  6065. from ../src/intel/vulkan/anv_nir.h:28,
  6066. from ../src/intel/vulkan/anv_nir_lower_ycbcr_textures.c:24:
  6067. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  6068. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6069. 34 | void *end = start + size;
  6070. | ^
  6071. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6072. 38 | p += CACHELINE_SIZE;
  6073. | ^~
  6074. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  6075. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6076. 64 | __builtin_ia32_clflush(start + size - 1);
  6077. | ^
  6078. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6079. 64 | __builtin_ia32_clflush(start + size - 1);
  6080. | ^
  6081. In file included from ../src/intel/vulkan/anv_nir.h:28,
  6082. from ../src/intel/vulkan/anv_nir_lower_ycbcr_textures.c:24:
  6083. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  6084. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6085. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6086. | ^
  6087. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6088. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  6089. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6090. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6091. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6092. | ^
  6093. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6094. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  6095. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6096. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6097. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6098. | ^
  6099. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6100. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  6101. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6102. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6103. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6104. | ^
  6105. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6106. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  6107. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6108. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6109. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6110. | ^
  6111. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6112. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  6113. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6114. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6115. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6116. | ^
  6117. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6118. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  6119. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6120. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6121. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6122. | ^
  6123. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6124. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  6125. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6126. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6127. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6128. | ^
  6129. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6130. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  6131. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6132. In file included from ../src/intel/vulkan/anv_nir.h:28,
  6133. from ../src/intel/vulkan/anv_nir_lower_ycbcr_textures.c:24:
  6134. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  6135. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6136. 1710 | batch->end = map + size;
  6137. | ^
  6138. [80/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_queue.c.o
  6139. In file included from ../src/intel/vulkan/anv_private.h:46,
  6140. from ../src/intel/vulkan/anv_queue.c:34:
  6141. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  6142. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6143. 34 | void *end = start + size;
  6144. | ^
  6145. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6146. 38 | p += CACHELINE_SIZE;
  6147. | ^~
  6148. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  6149. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6150. 64 | __builtin_ia32_clflush(start + size - 1);
  6151. | ^
  6152. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6153. 64 | __builtin_ia32_clflush(start + size - 1);
  6154. | ^
  6155. In file included from ../src/intel/vulkan/anv_queue.c:34:
  6156. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  6157. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6158. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6159. | ^
  6160. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6161. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  6162. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6163. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6164. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6165. | ^
  6166. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6167. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  6168. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6169. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6170. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6171. | ^
  6172. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6173. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  6174. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6175. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6176. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6177. | ^
  6178. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6179. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  6180. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6181. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6182. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6183. | ^
  6184. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6185. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  6186. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6187. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6188. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6189. | ^
  6190. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6191. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  6192. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6193. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6194. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6195. | ^
  6196. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6197. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  6198. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6199. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6200. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6201. | ^
  6202. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6203. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  6204. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6205. In file included from ../src/intel/vulkan/anv_queue.c:34:
  6206. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  6207. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6208. 1710 | batch->end = map + size;
  6209. | ^
  6210. ../src/intel/vulkan/anv_queue.c: In function ‘anv_queue_submit_simple_batch’:
  6211. ../src/intel/vulkan/anv_queue.c:805:45: warning: pointer of type ‘void *’ used in subtraction [-Wpointer-arith]
  6212. 805 | uint32_t size = align_u32(batch->next - batch->start, 8);
  6213. | ^
  6214. [81/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_wsi.c.o
  6215. In file included from ../src/intel/vulkan/anv_private.h:46,
  6216. from ../src/intel/vulkan/anv_wsi.c:24:
  6217. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  6218. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6219. 34 | void *end = start + size;
  6220. | ^
  6221. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6222. 38 | p += CACHELINE_SIZE;
  6223. | ^~
  6224. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  6225. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6226. 64 | __builtin_ia32_clflush(start + size - 1);
  6227. | ^
  6228. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6229. 64 | __builtin_ia32_clflush(start + size - 1);
  6230. | ^
  6231. In file included from ../src/intel/vulkan/anv_wsi.c:24:
  6232. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  6233. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6234. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6235. | ^
  6236. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6237. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  6238. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6239. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6240. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6241. | ^
  6242. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6243. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  6244. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6245. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6246. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6247. | ^
  6248. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6249. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  6250. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6251. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6252. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6253. | ^
  6254. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6255. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  6256. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6257. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6258. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6259. | ^
  6260. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6261. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  6262. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6263. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6264. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6265. | ^
  6266. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6267. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  6268. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6269. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6270. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6271. | ^
  6272. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6273. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  6274. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6275. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6276. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6277. | ^
  6278. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6279. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  6280. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6281. In file included from ../src/intel/vulkan/anv_wsi.c:24:
  6282. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  6283. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6284. 1710 | batch->end = map + size;
  6285. | ^
  6286. [82/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_util.c.o
  6287. In file included from ../src/intel/vulkan/anv_private.h:46,
  6288. from ../src/intel/vulkan/anv_util.c:31:
  6289. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  6290. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6291. 34 | void *end = start + size;
  6292. | ^
  6293. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6294. 38 | p += CACHELINE_SIZE;
  6295. | ^~
  6296. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  6297. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6298. 64 | __builtin_ia32_clflush(start + size - 1);
  6299. | ^
  6300. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6301. 64 | __builtin_ia32_clflush(start + size - 1);
  6302. | ^
  6303. In file included from ../src/intel/vulkan/anv_util.c:31:
  6304. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  6305. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6306. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6307. | ^
  6308. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6309. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  6310. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6311. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6312. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6313. | ^
  6314. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6315. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  6316. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6317. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6318. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6319. | ^
  6320. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6321. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  6322. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6323. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6324. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6325. | ^
  6326. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6327. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  6328. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6329. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6330. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6331. | ^
  6332. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6333. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  6334. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6335. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6336. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6337. | ^
  6338. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6339. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  6340. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6341. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6342. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6343. | ^
  6344. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6345. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  6346. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6347. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6348. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6349. | ^
  6350. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6351. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  6352. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6353. In file included from ../src/intel/vulkan/anv_util.c:31:
  6354. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  6355. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6356. 1710 | batch->end = map + size;
  6357. | ^
  6358. [83/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_wsi_wayland.c.o
  6359. In file included from ../src/intel/vulkan/anv_private.h:46,
  6360. from ../src/intel/vulkan/anv_wsi_wayland.c:25:
  6361. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  6362. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6363. 34 | void *end = start + size;
  6364. | ^
  6365. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6366. 38 | p += CACHELINE_SIZE;
  6367. | ^~
  6368. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  6369. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6370. 64 | __builtin_ia32_clflush(start + size - 1);
  6371. | ^
  6372. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6373. 64 | __builtin_ia32_clflush(start + size - 1);
  6374. | ^
  6375. In file included from ../src/intel/vulkan/anv_wsi_wayland.c:25:
  6376. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  6377. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6378. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6379. | ^
  6380. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6381. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  6382. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6383. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6384. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6385. | ^
  6386. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6387. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  6388. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6389. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6390. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6391. | ^
  6392. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6393. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  6394. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6395. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6396. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6397. | ^
  6398. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6399. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  6400. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6401. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6402. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6403. | ^
  6404. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6405. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  6406. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6407. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6408. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6409. | ^
  6410. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6411. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  6412. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6413. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6414. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6415. | ^
  6416. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6417. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  6418. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6419. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6420. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6421. | ^
  6422. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6423. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  6424. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6425. In file included from ../src/intel/vulkan/anv_wsi_wayland.c:25:
  6426. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  6427. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6428. 1710 | batch->end = map + size;
  6429. | ^
  6430. [84/87] Compiling C object src/intel/vulkan/libanv_common.a.p/anv_wsi_display.c.o
  6431. In file included from ../src/intel/vulkan/anv_private.h:46,
  6432. from ../src/intel/vulkan/anv_wsi_display.c:23:
  6433. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  6434. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6435. 34 | void *end = start + size;
  6436. | ^
  6437. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6438. 38 | p += CACHELINE_SIZE;
  6439. | ^~
  6440. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  6441. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6442. 64 | __builtin_ia32_clflush(start + size - 1);
  6443. | ^
  6444. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6445. 64 | __builtin_ia32_clflush(start + size - 1);
  6446. | ^
  6447. In file included from ../src/intel/vulkan/anv_wsi_display.c:23:
  6448. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  6449. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6450. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6451. | ^
  6452. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6453. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  6454. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6455. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6456. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6457. | ^
  6458. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6459. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  6460. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6461. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6462. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6463. | ^
  6464. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6465. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  6466. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6467. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6468. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6469. | ^
  6470. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6471. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  6472. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6473. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6474. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6475. | ^
  6476. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6477. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  6478. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6479. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6480. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6481. | ^
  6482. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6483. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  6484. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6485. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6486. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6487. | ^
  6488. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6489. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  6490. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6491. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6492. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6493. | ^
  6494. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6495. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  6496. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6497. In file included from ../src/intel/vulkan/anv_wsi_display.c:23:
  6498. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  6499. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6500. 1710 | batch->end = map + size;
  6501. | ^
  6502. [85/87] Compiling C object src/intel/vulkan/libvulkan_intel.so.p/anv_gem.c.o
  6503. In file included from ../src/intel/vulkan/anv_private.h:46,
  6504. from ../src/intel/vulkan/anv_gem.c:32:
  6505. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’:
  6506. ../src/intel/common/gen_clflush.h:34:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6507. 34 | void *end = start + size;
  6508. | ^
  6509. ../src/intel/common/gen_clflush.h:38:9: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6510. 38 | p += CACHELINE_SIZE;
  6511. | ^~
  6512. ../src/intel/common/gen_clflush.h: In function ‘gen_invalidate_range’:
  6513. ../src/intel/common/gen_clflush.h:64:33: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6514. 64 | __builtin_ia32_clflush(start + size - 1);
  6515. | ^
  6516. ../src/intel/common/gen_clflush.h:64:40: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6517. 64 | __builtin_ia32_clflush(start + size - 1);
  6518. | ^
  6519. In file included from ../src/intel/vulkan/anv_gem.c:32:
  6520. ../src/intel/vulkan/anv_private.h: In function ‘anv_multialloc_alloc’:
  6521. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6522. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6523. | ^
  6524. ../src/intel/vulkan/anv_private.h:631:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6525. 631 | _ANV_MULTIALLOC_UPDATE_POINTER(0);
  6526. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6527. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6528. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6529. | ^
  6530. ../src/intel/vulkan/anv_private.h:632:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6531. 632 | _ANV_MULTIALLOC_UPDATE_POINTER(1);
  6532. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6533. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6534. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6535. | ^
  6536. ../src/intel/vulkan/anv_private.h:633:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6537. 633 | _ANV_MULTIALLOC_UPDATE_POINTER(2);
  6538. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6539. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6540. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6541. | ^
  6542. ../src/intel/vulkan/anv_private.h:634:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6543. 634 | _ANV_MULTIALLOC_UPDATE_POINTER(3);
  6544. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6545. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6546. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6547. | ^
  6548. ../src/intel/vulkan/anv_private.h:635:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6549. 635 | _ANV_MULTIALLOC_UPDATE_POINTER(4);
  6550. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6551. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6552. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6553. | ^
  6554. ../src/intel/vulkan/anv_private.h:636:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6555. 636 | _ANV_MULTIALLOC_UPDATE_POINTER(5);
  6556. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6557. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6558. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6559. | ^
  6560. ../src/intel/vulkan/anv_private.h:637:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6561. 637 | _ANV_MULTIALLOC_UPDATE_POINTER(6);
  6562. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6563. ../src/intel/vulkan/anv_private.h:628:90: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6564. 628 | #define _ANV_MULTIALLOC_UPDATE_POINTER(_i) \
  6565. | ^
  6566. ../src/intel/vulkan/anv_private.h:638:4: note: in expansion of macro ‘_ANV_MULTIALLOC_UPDATE_POINTER’
  6567. 638 | _ANV_MULTIALLOC_UPDATE_POINTER(7);
  6568. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6569. In file included from ../src/intel/vulkan/anv_gem.c:32:
  6570. ../src/intel/vulkan/anv_private.h: In function ‘anv_batch_set_storage’:
  6571. ../src/intel/vulkan/anv_private.h:1710:21: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  6572. 1710 | batch->end = map + size;
  6573. | ^
  6574. [86/87] Linking static target src/intel/vulkan/libanv_common.a
  6575. [87/87] Linking target src/intel/vulkan/libvulkan_intel.so
  6576.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement