diff options
-rw-r--r-- | docs/gallium/screen.rst | 1 | ||||
-rw-r--r-- | src/gallium/auxiliary/util/u_screen.c | 1 | ||||
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/docs/gallium/screen.rst b/docs/gallium/screen.rst index ff8d36086ba..f887f080ddc 100644 --- a/docs/gallium/screen.rst +++ b/docs/gallium/screen.rst @@ -592,6 +592,7 @@ The integer capabilities: * ``PIPE_CAP_NIR_ATOMICS_AS_DEREF``: Whether NIR atomics instructions should reference atomics as NIR derefs instead of by indices. * ``PIPE_CAP_NO_CLIP_ON_COPY_TEX``: Driver doesn't want x/y/width/height clipped based on src size when doing a copy texture operation (eg: may want out-of-bounds reads that produce 0 instead of leaving the texture content undefined) * ``PIPE_CAP_MAX_TEXTURE_MB``: Maximum texture size in MB (default is 1024) +* ``PIPE_CAP_DEVICE_PROTECTED_CONTENT``: Whether the device support protected / encrypted content. .. _pipe_capf: diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c index 35933c09afa..2802280806e 100644 --- a/src/gallium/auxiliary/util/u_screen.c +++ b/src/gallium/auxiliary/util/u_screen.c @@ -216,6 +216,7 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen, case PIPE_CAP_RESOURCE_FROM_USER_MEMORY: case PIPE_CAP_RESOURCE_FROM_USER_MEMORY_COMPUTE_ONLY: case PIPE_CAP_DEVICE_RESET_STATUS_QUERY: + case PIPE_CAP_DEVICE_PROTECTED_CONTENT: case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS: case PIPE_CAP_TEXTURE_FLOAT_LINEAR: case PIPE_CAP_TEXTURE_HALF_FLOAT_LINEAR: diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index b55ae81bdee..6dbcf66910f 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -969,6 +969,7 @@ enum pipe_cap PIPE_CAP_NO_CLIP_ON_COPY_TEX, PIPE_CAP_MAX_TEXTURE_MB, PIPE_CAP_SHADER_ATOMIC_INT64, + PIPE_CAP_DEVICE_PROTECTED_CONTENT, }; /** |