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:
authorBrecht Van Lommel <brecht@blender.org>2022-04-04 17:33:33 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-04-04 17:38:30 +0300
commitaa1ae1d3c8ef26538b568ab36f9e705242f1204c (patch)
tree34e72bff0814ff17d39b443b611fab2256f49d95
parentd6f5b02940c8449de856797257e26a57c8e3bdc9 (diff)
Fix overlapping GPU device bitmasks
This did not end up affecting actual behavior, but it is wrong. Found by Ethan Hall. Ref D14525
-rw-r--r--source/blender/gpu/GPU_platform.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/GPU_platform.h b/source/blender/gpu/GPU_platform.h
index d999216c7ff..b63fe4c0580 100644
--- a/source/blender/gpu/GPU_platform.h
+++ b/source/blender/gpu/GPU_platform.h
@@ -25,9 +25,9 @@ typedef enum eGPUDeviceType {
GPU_DEVICE_ATI = (1 << 1),
GPU_DEVICE_INTEL = (1 << 2),
GPU_DEVICE_INTEL_UHD = (1 << 3),
- GPU_DEVICE_APPLE = (1 << 3),
- GPU_DEVICE_SOFTWARE = (1 << 4),
- GPU_DEVICE_UNKNOWN = (1 << 5),
+ GPU_DEVICE_APPLE = (1 << 4),
+ GPU_DEVICE_SOFTWARE = (1 << 5),
+ GPU_DEVICE_UNKNOWN = (1 << 6),
GPU_DEVICE_ANY = (0xff),
} eGPUDeviceType;