commit | d6782712a14985d292f060d1fa1684b1dc2c02cd | [log] [tgz] |
---|---|---|
author | Ian Romanick <ian.d.romanick@intel.com> | Tue Nov 10 21:33:52 2015 -0800 |
committer | Ian Romanick <ian.d.romanick@intel.com> | Mon Jan 11 15:38:03 2016 -0800 |
tree | 29c5792143a362bab1d5dba1e1eae782abc826c2 | |
parent | 36f413209f0c3e066578058cdc616a8b0dbb8a97 [diff] |
meta/generate_mipmap: Save and restore the sampler using gl_sampler_object instead of GL API object handle Some meta operations can be called recursively. Future changes (the "Don't pollute the ... namespace" changes) will cause objects with invalid names to be used. If a nested meta operation tries to restore an object named 0xDEADBEEF, it will fail. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>