Ankit Meel
a31a87f894
T81340: UBSan: load of value .. not valid for GPU enum type
...
The underlying type of the enum cannot be fixed here due to its usage
in C code.
All the values possible in the width of the underlying type are not
valid for an enum.
Only 0 to (2*max - 1) if all enumerators are unsigned.
So the macro asks for the biggest value among the //listed// ones.
If any enumerator C is set to say `A|B`, then C would be the maximum.
(2*max-1) is used as the mask.
The warnings (for each enum modified in this commit):
GPU_vertex_buffer.h:43:1: runtime error: load of value 4294967291
which is not a valid value for type 'GPUVertBufStatus'
https://github.com/llvm/llvm-project/commit/1c2c9867
Ref T81340
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D9067
2020-10-08 23:14:25 +05:30
..
2020-10-06 13:35:12 +02:00
2020-10-02 11:59:16 +10:00
2020-08-07 09:50:34 +02:00
2020-08-07 18:42:21 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-08-27 15:33:33 +10:00
2020-09-07 20:04:00 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-09-19 16:28:17 +10:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 18:42:21 +02:00
2020-08-07 09:50:34 +02:00
2020-08-17 12:39:08 +10:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-28 11:01:06 -04:00
2020-08-07 10:04:57 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-09-20 08:38:44 -04:00
2020-08-28 11:01:06 -04:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-08-07 09:50:34 +02:00
2020-03-06 17:26:32 +01:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-08-28 11:01:06 -04:00
2020-08-28 11:01:06 -04:00
2020-08-07 18:42:21 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-09-04 21:04:16 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 18:42:21 +02:00
2020-08-07 09:50:34 +02:00
2020-08-10 18:17:07 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-03-06 17:26:32 +01:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 18:42:21 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 18:42:21 +02:00
2020-09-04 21:04:16 +02:00
2020-08-24 17:24:13 +02:00
2020-08-24 19:02:41 +02:00
2020-08-07 09:50:34 +02:00
2020-08-28 11:01:06 -04:00
2020-09-05 17:49:14 +02:00
2020-08-28 10:04:26 -06:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-09-04 21:04:16 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-09-04 21:04:16 +02:00
2020-08-28 11:01:06 -04:00
2020-09-04 21:04:16 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-09-05 17:49:14 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-08-07 09:50:34 +02:00
2020-03-02 15:05:15 +01:00
2020-08-19 16:44:59 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-08-28 11:01:06 -04:00
2020-08-28 11:01:06 -04:00
2020-08-28 11:01:06 -04:00
2020-08-07 10:10:37 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 18:42:21 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 18:42:21 +02:00
2020-09-04 21:04:16 +02:00
2020-08-07 10:04:57 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-24 17:24:13 +02:00
2020-08-24 17:24:13 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-14 13:16:44 +02:00
2020-08-07 09:50:34 +02:00
2020-08-19 16:44:59 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-09-07 16:10:01 +02:00
2020-09-09 13:44:45 +02:00
2020-09-04 21:04:16 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-09-04 21:04:16 +02:00
2020-09-18 15:31:12 +10:00
2020-09-04 21:04:16 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-10-08 23:14:25 +05:30
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 10:10:37 +02:00
2020-09-07 20:04:00 +02:00
2020-09-07 20:04:00 +02:00
2020-08-26 10:52:43 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2020-09-20 19:32:46 +02:00
2020-09-30 11:51:42 +10:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00