This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/gpu
Clément Foucault eafec6d4f7 GPUShader: Manually validate sampler count
This happens on NVidia GPUs, using more textures than the maximum allowed
by the gl will NOT trigger a linking issue (maybe because of bindless
texture implementation?).

So in this case we manually count the number of samplers per shader stage
and compare it against the GL limit. We discard the shader if the sampler
count is too high. This shows the user something is wrong with the shader.
2018-09-18 14:22:42 +02:00
..
2018-07-19 16:06:37 +10:00
2018-07-18 23:10:31 +10:00
2018-07-18 23:10:31 +10:00
2018-06-18 08:10:23 +02:00
2018-07-18 23:10:31 +10:00
2014-10-07 15:47:32 -05:00
2018-09-02 18:28:27 +10:00
2018-07-18 23:10:31 +10:00