Merge pull request #55020 from bruvzg/vlk_device_surface_check

This commit is contained in:
Rémi Verschelde 2022-01-17 13:34:23 +01:00 committed by GitHub
commit d9a4ff7583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 219 additions and 124 deletions

View file

@ -63,6 +63,7 @@ private:
double _physics_interpolation_fraction = 0.0f;
bool abort_on_gpu_errors = false;
bool use_validation_layers = false;
int32_t gpu_idx = -1;
uint64_t _process_frames = 0;
bool _in_physics = false;
@ -135,6 +136,7 @@ public:
bool is_abort_on_gpu_errors_enabled() const;
bool is_validation_layers_enabled() const;
int32_t get_gpu_index() const;
Engine();
virtual ~Engine() {}