commit | 28af1dc21772d0b7819dff6080484c67114dc0d1 | [log] [tgz] |
---|---|---|
author | Paul Berry <stereotype441@gmail.com> | Tue Nov 19 19:01:37 2013 -0800 |
committer | Paul Berry <stereotype441@gmail.com> | Fri Jan 10 05:58:46 2014 -0800 |
tree | 6c421ebfe9399386d821f535e0e110e2686bd74c | |
parent | 90368875e733171350c64c8dda52f81bd0705dd0 [diff] |
main: check texture target when validating layered framebuffers. From section 4.4.4 (Framebuffer Completeness) of the GL 3.2 spec: If any framebuffer attachment is layered, all populated attachments must be layered. Additionally, all populated color attachments must be from textures of the same target. We weren't checking that the attachments were from textures of the same target. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>