MAX_TEXTURE_SIZE and friends don't really capture what we want. MAX_TEXTURE_SIZE, if it allows 1024x16384 textures, also allows 16384x16384 to be requested. While this may cause a GL_OOM, it doesn't always. Sometimes the driver will thrash around trying to defragment enough memory to provide for an unreasonable request like this. We should mime D3D's resource limit formula, and unconditionally generate GL_OOM for anything above that.
10 months ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.