Blender Git Commit Log
Git Commits -> Revision eafec6d
Revision eafec6d by Clément Foucault (master) September 18, 2018, 12:18 (GMT) |
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. |
Commit Details:
Full Hash: eafec6d4f72b05c389576358b9e1d0ebd87cf174
Parent Commit: bf2a54b
Lines Changed: +119, -6