gallium: add PIPE_CAP_TIMER_RESOLUTION

Reviewed by Marek Olšák

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23703>
This commit is contained in:
norablackcat
2023-06-17 14:49:12 -06:00
committed by Marge Bot
parent 77f5b1cce0
commit 660f2eabe1
3 changed files with 3 additions and 0 deletions

View File

@@ -153,6 +153,7 @@ The integer capabilities:
the pipe_screen::get_timestamp hook are implemented.
* ``PIPE_CAP_QUERY_TIMESTAMP_BITS``: How many bits the driver uses for the
results of GL_TIMESTAMP queries.
* ``PIPE_CAP_TIMER_RESOLUTION``: The resolution of the timer in nanos.
* ``PIPE_CAP_TEXTURE_MULTISAMPLE``: Whether all MSAA resources supported
for rendering are also supported for texturing.
* ``PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT``: The minimum alignment that should be

View File

@@ -153,6 +153,7 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
case PIPE_CAP_START_INSTANCE:
case PIPE_CAP_QUERY_TIMESTAMP:
case PIPE_CAP_TIMER_RESOLUTION:
case PIPE_CAP_TEXTURE_MULTISAMPLE:
return 0;

View File

@@ -778,6 +778,7 @@ enum pipe_cap
PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT,
PIPE_CAP_START_INSTANCE,
PIPE_CAP_QUERY_TIMESTAMP,
PIPE_CAP_TIMER_RESOLUTION,
PIPE_CAP_TEXTURE_MULTISAMPLE,
PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT,
PIPE_CAP_CUBE_MAP_ARRAY,