mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 12:00:22 +01:00
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:
parent
77f5b1cce0
commit
660f2eabe1
3 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue