Blender Git Loki

Git Commits -> Revision 6a3f2b3

Revision 6a3f2b3 by Lukas Stockner (master)
December 16, 2019, 15:09 (GMT)
Fix T72467: Crash when using many (>64) images in a shader

Previously this limit was rather high, but with UDIMs it's fairly easy
to reach this many images. Even though this exceeds the texture limit
on most hardware as far as I can tell, it should at least not crash.

The old code uses a fixed array which overflows eventually, this fix
replaces the array with a GSet.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D6416

Commit Details:

Full Hash: 6a3f2b30d206df23120cd212132adea821b6c20e
Parent Commit: 8d16dc0
Lines Changed: +21, -13

3 Modified Paths:

/source/blender/blenlib/BLI_ghash.h (+3, -0) (Diff)
/source/blender/blenlib/intern/BLI_ghash_utils.c (+9, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+9, -13) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021