Add optional driver workaround to RenderingDevice for Adreno 6XX.
Co-authored-by: Clay John <claynjohn@gmail.com>
This commit is contained in:
@ -73,10 +73,15 @@ public:
|
||||
DEVICE_TYPE_MAX = 0x5
|
||||
};
|
||||
|
||||
struct Workarounds {
|
||||
bool avoid_compute_after_draw = false;
|
||||
};
|
||||
|
||||
struct Device {
|
||||
String name = "Unknown";
|
||||
Vendor vendor = VENDOR_UNKNOWN;
|
||||
DeviceType type = DEVICE_TYPE_OTHER;
|
||||
Workarounds workarounds;
|
||||
};
|
||||
|
||||
virtual ~RenderingContextDriver();
|
||||
|
||||
Reference in New Issue
Block a user