Blender Git Commit Log
Git Commits -> Revision 83e9148
Revision 83e9148 by Ankit Meel (master) October 9, 2020, 12:05 (GMT) |
GPU: Fix NOT ~ operator for eGPUSamplerState The real maximum was `GPU_SAMPLER_ICON`, not `GPU_SAMPLER_REPEAT`, my bad. {rBa31a87f8943aa40} Move `GPU_SAMPLER_MAX` out of the enum since it's used as an `int` at many places. Also, the macro `ENUM_OPERATORS` needs a maximum, and this enumerator cannot be used as the argument of that macro. It creates wrong values in the `~` NOT operator. Thanks @deadpin for catching this. Reviewed By: fclem Differential Revision: https://developer.blender.org/D9157 |
Commit Details:
Full Hash: 83e91485d096e64e9cfa45e19292dd76378abe73
Parent Commit: 701fc52
Lines Changed: +5, -3
1 Modified Path:
/source/blender/gpu/GPU_texture.h (+5, -3) (Diff)