summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-07-05 20:04:02 +0200
committerMarek Olšák <[email protected]>2012-07-10 19:04:12 +0200
commitbcc735aaca3b305d05c28e4076996d91b19d80fd (patch)
tree72237a219750ee94b0e6b4f5295dce22ca25a3a0 /src/gallium/drivers/softpipe/sp_screen.c
parentd5a7866902af2a60a2d350c0d4970b30aed0b97a (diff)
gallium: add QUERY_TIMESTAMP cap and get_timestamp screen function
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_screen.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index ade97a7a08c..5164930496c 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -164,6 +164,7 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_VERTEX_BUFFER_STRIDE_4BYTE_ALIGNED_ONLY:
case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY:
case PIPE_CAP_START_INSTANCE:
+ case PIPE_CAP_QUERY_TIMESTAMP:
return 0;
}
/* should only get here on unhandled cases */