On 28 November 2016 at 23:19, Józef Kucia joseph.kucia@gmail.com wrote:
That's bad. Generally, SM4 hardware is expected to support 32 samplers.
Are you sure about that? The actual hardware limit seems to be 18, and D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT is 16 as well.
The hardware texture resource limit is much higher at 176, but that doesn't help much in OpenGL unless you use something like ARB_bindless_texture.