Nathan Gauër
7c8b1275bc
[SPIR-V] Add pass to remove spv_ptrcast intrinsics ( #128896 )
...
OpenCL is allowed to cast pointers, meaning they can resolve some type
mismatches this way. In logical SPIR-V, those are restricted. This new
pass legalizes such pointer cast when targeting logical SPIR-V.
For now, this pass supports 3 cases we witnessed:
- loading a vec3 from a vec4*.
- loading a scalar from a vec*.
- loading the 1st element of an array.
---------
Co-authored-by: Steven Perron <stevenperron@google.com>
2025-03-04 10:30:46 +01:00
..
2024-08-22 09:40:27 +02:00
2025-03-04 10:30:46 +01:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-11-29 20:44:25 +01:00
2024-08-22 09:40:27 +02:00
2024-11-06 11:17:45 +01:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-11-29 20:44:25 +01:00
2024-11-29 20:44:25 +01:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2025-03-04 10:30:46 +01:00
2024-08-22 09:40:27 +02:00
2024-12-03 13:42:02 +01:00
2024-12-03 16:18:06 +01:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-11-06 12:44:53 +01:00
2024-11-29 20:44:25 +01:00
2024-10-30 20:49:21 +01:00
2024-11-14 15:30:05 +01:00
2024-11-14 15:30:05 +01:00
2024-11-29 20:44:25 +01:00
2025-02-28 20:55:14 +01:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-12-03 16:18:06 +01:00
2025-01-07 10:42:23 +01:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2025-01-07 10:42:23 +01:00
2024-12-03 16:08:25 +01:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2024-08-22 09:40:27 +02:00
2025-01-14 17:44:07 +01:00
2024-11-29 20:44:25 +01:00
2024-08-22 09:40:27 +02:00
2024-12-03 13:42:02 +01:00
2024-12-03 13:42:02 +01:00