diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-04-04 17:33:33 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-04-04 17:38:30 +0300 |
commit | aa1ae1d3c8ef26538b568ab36f9e705242f1204c (patch) | |
tree | 34e72bff0814ff17d39b443b611fab2256f49d95 /source/blender/gpu/GPU_platform.h | |
parent | d6f5b02940c8449de856797257e26a57c8e3bdc9 (diff) |
Fix overlapping GPU device bitmasks
This did not end up affecting actual behavior, but it is wrong.
Found by Ethan Hall.
Ref D14525
Diffstat (limited to 'source/blender/gpu/GPU_platform.h')
-rw-r--r-- | source/blender/gpu/GPU_platform.h | 6 |
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; |