aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-07-31 13:44:44 +1000
committerTimothy Arceri <[email protected]>2019-10-26 13:04:12 +1100
commite8cb13d49908ffb2d39edc46c230430cd8b44033 (patch)
tree83e410ce0341939f55d7050a78863625f9353e65 /src
parent2d2b113e86c91a75afa5f5d98e408eff5bae216f (diff)
radv: add radv_secure_compile_type enum
This will be used to identify information being passed between the parent and secure process during a secure compile. Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_private.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 5b97b09c867..ea0b3305b3a 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -124,6 +124,17 @@ enum radv_mem_type {
RADV_MEM_TYPE_COUNT
};
+enum radv_secure_compile_type {
+ RADV_SC_TYPE_INIT_SUCCESS,
+ RADV_SC_TYPE_INIT_FAILURE,
+ RADV_SC_TYPE_COMPILE_PIPELINE,
+ RADV_SC_TYPE_COMPILE_PIPELINE_FINISHED,
+ RADV_SC_TYPE_READ_DISK_CACHE,
+ RADV_SC_TYPE_WRITE_DISK_CACHE,
+ RADV_SC_TYPE_DESTROY_DEVICE,
+ RADV_SC_TYPE_COUNT
+};
+
#define radv_printflike(a, b) __attribute__((__format__(__printf__, a, b)))
static inline uint32_t