summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_screen.c
diff options
context:
space:
mode:
authornorablackcat <blackcatgames@protonmail.com>2023-06-17 14:49:12 -0600
committerMarge Bot <emma+marge@anholt.net>2023-06-22 09:08:33 +0000
commit660f2eabe116972b82f2b6fcdf4869962f641d6d (patch)
tree914de258bd3f1668fcad3e9671df0eaa00d1a7b2 /src/gallium/auxiliary/util/u_screen.c
parent77f5b1cce024a472ffb603bc7dbb7c7f9f5f993f (diff)
gallium: add PIPE_CAP_TIMER_RESOLUTION
Reviewed by Marek Olšák Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23703>
Diffstat (limited to 'src/gallium/auxiliary/util/u_screen.c')
-rw-r--r--src/gallium/auxiliary/util/u_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c
index 407ddd7b3c5..5e9c24ac3bd 100644
--- a/src/gallium/auxiliary/util/u_screen.c
+++ b/src/gallium/auxiliary/util/u_screen.c
@@ -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;