diff options
author | Andreas Grois <andi@grois.info> | 2018-03-11 21:27:11 +0100 |
---|---|---|
committer | Andreas Grois <andi@grois.info> | 2018-03-11 21:27:11 +0100 |
commit | 627aa610fc93398ac51129096ce8fb30731af341 (patch) | |
tree | 54c38179129a32bbe85753af63fc8b8e49b4c89c /glfw-3.2.1/deps/glad.c | |
parent | bc666e3edcbd53f3bbe5446f0c4bc23e83c044a0 (diff) |
Split buffer in three, one per color (as OpenGL guarantees that one can at least have 8 SSBOs), to allow three times larger images. Also make it possible to ignore maximum buffer size reported by the driver.
The maximum buffer size limitation is rather strict on radeonsi, so I decided to split the buffer in three, effectively increasing the maximum image size by a factor of three.
While doing so I realized that at least on radeonsi the reported maximum buffer size seems to be off. For this reason I added a new command line switch, that allows to ignore the maximum buffer size check.
For those curious: radeonsi reports a maximum buffer size of 128 MB, but I had no problems when using three buffers of 1098 MB each.
Diffstat (limited to 'glfw-3.2.1/deps/glad.c')
0 files changed, 0 insertions, 0 deletions