gallium: introduce PIPE_BIND_PROTECTED
Resources using this flag will be encrypted (eg using TMZ on radeonsi). Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5096>
This commit is contained in:
@@ -501,6 +501,7 @@ enum pipe_flush_flags
|
||||
#define PIPE_BIND_SCANOUT (1 << 19) /* */
|
||||
#define PIPE_BIND_SHARED (1 << 20) /* get_texture_handle ??? */
|
||||
#define PIPE_BIND_LINEAR (1 << 21)
|
||||
#define PIPE_BIND_PROTECTED (1 << 22) /* Resource will be protected/encrypted */
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user