mesa: declare UniformBufferBindings as an array with a static size
Some Gallium drivers were crashing, because the array was not large enough. v2: clamp the per-shader maximum in st/mesa, then sum them all up NOTE: This is a candidate for the stable branches.
Showing
- src/mesa/main/bufferobj.c 2 additions, 8 deletionssrc/mesa/main/bufferobj.c
- src/mesa/main/config.h 3 additions, 0 deletionssrc/mesa/main/config.h
- src/mesa/main/mtypes.h 2 additions, 1 deletionsrc/mesa/main/mtypes.h
- src/mesa/state_tracker/st_extensions.c 2 additions, 5 deletionssrc/mesa/state_tracker/st_extensions.c
Loading
Please register or sign in to comment