Explain why it's 64-bit and its valid values.
---
 src/intel/vulkan/anv_private.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 8f5a95b..0924ccf 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1252,7 +1252,11 @@ struct anv_fence {
 };
 
 struct anv_event {
+   /* One of VK_EVENT_SET or VK_EVENT_RESET.  The value is 64-bit because
+    * PIPE_CONTROL::PostSyncOperation::WriteImmediateData writes a QWord.
+    */
    uint64_t                                     semaphore;
+
    struct anv_state                             state;
 };
 
-- 
2.10.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to