lavapipe: mark event_storage as volatile

This is spun on in cmd execution so make sure it doesn't get
optimised or cached out.

Fixes some timeouts in dEQP-VK.api.command_buffers.record_simul_use_primary

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10494>
This commit is contained in:
Dave Airlie 2021-04-28 09:03:34 +10:00 committed by Marge Bot
parent 29ad039d13
commit eb6d99014f

View file

@ -480,7 +480,7 @@ struct lvp_pipeline {
struct lvp_event {
struct vk_object_base base;
uint64_t event_storage;
volatile uint64_t event_storage;
};
struct lvp_fence {