Files
test2/source/blender
Khoi Dau 93253d5dcc Fix T99103: crash when displaying or rendering Grease Pencil object
On some hardware/systems, blender may crash when adding, rendering or displaying Grease Pencil objects.

In `/source/blender/draw/engines/gpencil/shaders/gpencil_vert.glsl`, line 35:
```
gpMaterialFlag gp_flag = floatBitsToInt(gp_mat._flag);
```
`gpMaterialFlag` is of type `uint`. This is a mismatched-type assignment that can cause crashes on some hardware/systems with GLSL that do not support implicit type casting.

So use `floatBitsToUint` for type conversion.

Differential Revision: https://developer.blender.org/D15433
2022-07-12 11:34:41 -03:00
..
2022-07-08 09:48:49 +10:00
2022-07-11 10:38:04 +10:00
2022-07-04 15:26:57 +10:00
2022-03-16 11:58:22 +11:00
2022-07-11 10:38:04 +10:00
2022-07-11 12:46:22 +02:00
2022-07-11 12:46:22 +02:00
2022-06-30 12:14:22 +10:00
2022-05-17 15:34:02 +10:00