Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_platform.h
| Show All 28 Lines | |||||
| /* GPU platform support */ | /* GPU platform support */ | ||||
| /* GPU Types */ | /* GPU Types */ | ||||
| typedef enum eGPUDeviceType { | typedef enum eGPUDeviceType { | ||||
| GPU_DEVICE_NVIDIA = (1 << 0), | GPU_DEVICE_NVIDIA = (1 << 0), | ||||
| GPU_DEVICE_ATI = (1 << 1), | GPU_DEVICE_ATI = (1 << 1), | ||||
| GPU_DEVICE_INTEL = (1 << 2), | GPU_DEVICE_INTEL = (1 << 2), | ||||
| GPU_DEVICE_INTEL_UHD = (1 << 3), | GPU_DEVICE_INTEL_UHD = (1 << 3), | ||||
| GPU_DEVICE_APPLE = (1 << 3), | |||||
| GPU_DEVICE_SOFTWARE = (1 << 4), | GPU_DEVICE_SOFTWARE = (1 << 4), | ||||
| GPU_DEVICE_UNKNOWN = (1 << 5), | GPU_DEVICE_UNKNOWN = (1 << 5), | ||||
| GPU_DEVICE_ANY = (0xff), | GPU_DEVICE_ANY = (0xff), | ||||
| } eGPUDeviceType; | } eGPUDeviceType; | ||||
| ENUM_OPERATORS(eGPUDeviceType, GPU_DEVICE_ANY) | ENUM_OPERATORS(eGPUDeviceType, GPU_DEVICE_ANY) | ||||
| typedef enum eGPUOSType { | typedef enum eGPUOSType { | ||||
| Show All 31 Lines | |||||