mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
zink: export PIPE_CAP_PROGRAMMABLE_SAMPLE_LOCATIONS
dynamic state required because pipeline hashing for this would be too pita Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11189>
This commit is contained in:
parent
1ea682ed5a
commit
02293316b3
1 changed files with 3 additions and 0 deletions
|
|
@ -307,6 +307,9 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
case PIPE_CAP_OCCLUSION_QUERY:
|
||||
return 1;
|
||||
|
||||
case PIPE_CAP_PROGRAMMABLE_SAMPLE_LOCATIONS:
|
||||
return screen->info.have_EXT_sample_locations && screen->info.have_EXT_extended_dynamic_state;
|
||||
|
||||
case PIPE_CAP_QUERY_TIME_ELAPSED:
|
||||
return screen->timestamp_valid_bits > 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue