Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit Meel <ankitjmeel@gmail.com>2020-10-09 13:57:39 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2020-10-09 15:05:23 +0300
commit83e91485d096e64e9cfa45e19292dd76378abe73 (patch)
treebe592f63598bea3d5353bac8ea0e4ddebb17ab57 /intern/cycles/cmake
parent701fc52cc6dcbe4f3fd3af7070f1e985c280a7cb (diff)
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
Diffstat (limited to 'intern/cycles/cmake')
0 files changed, 0 insertions, 0 deletions