commit | 416485fb9c73ca14c062c6bf2d5ee3926831ba00 | [log] [tgz] |
---|---|---|
author | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Tue Mar 16 06:23:23 2010 +0000 |
committer | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Tue Mar 16 06:23:23 2010 +0000 |
tree | 1821037676148cedd7a6f2cf8cb2d95a1cd10276 | |
parent | 9efa6f6b3d323ef3f6d26cd74a6229e76bf43e19 [diff] |
Select texture type based on program usage. TRAC #11410 Add Program::getSamplerType() and internal machinery to track the reported sampler uniforms. Make State::samplerTexture into a 2D array with a dimension for sampler type. Context::applyTextures queries the sampler type and asks for the right texture. Author: Andrew Lewycky Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@25 736b8ea6-26fd-11df-bfd4-992fa37f6226