zink: disable timestamp-queries
We don't implement the get_timestamp context-method, so this is just going to crash if anyone tries to use it. Let's implement it later. Acked-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
e084211c08
commit
7ebdf5be15
|
@ -165,8 +165,10 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
||||||
case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT:
|
case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT:
|
||||||
return screen->props.limits.minUniformBufferOffsetAlignment;
|
return screen->props.limits.minUniformBufferOffsetAlignment;
|
||||||
|
|
||||||
|
#if 0 /* TODO: Enable me */
|
||||||
case PIPE_CAP_QUERY_TIMESTAMP:
|
case PIPE_CAP_QUERY_TIMESTAMP:
|
||||||
return 1;
|
return 1;
|
||||||
|
#endif
|
||||||
|
|
||||||
case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
|
case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
|
||||||
return screen->props.limits.minMemoryMapAlignment;
|
return screen->props.limits.minMemoryMapAlignment;
|
||||||
|
|
Loading…
Reference in New Issue