diff options
author | Bin Jin <bjin@ctrl-d.org> | 2019-03-12 00:44:09 +0000 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-03-13 21:47:24 +0200 |
commit | dd83b66652d93e5422757f569b084867a9052e48 (patch) | |
tree | 20b11e7fcc0264a8be27878ddd5b3e4c9abe621d /sub/sd_lavc.c | |
parent | 92e9b6da71cca2e654aba73e566451d9c682c13b (diff) | |
download | mpv-dd83b66652d93e5422757f569b084867a9052e48.tar.bz2 mpv-dd83b66652d93e5422757f569b084867a9052e48.tar.xz |
vo_gpu: increase user shader size limit
The old size limit was chosen before LUT texture was supported in user
shader. At that time, the whole user shader will be compiled and run
on GPU, which makes large user shader impractical to be used.
With the introduction of LUT texture, the old size limit doesn't make
any sense. For example, a 1024x1024 rgba16f LUT will cost 32MB shader
size.
Fix this by increasing the size limit to a value that's unlikely be
reached.
Diffstat (limited to 'sub/sd_lavc.c')
0 files changed, 0 insertions, 0 deletions