Commit 769e946a authored by Mike Blumenkrantz's avatar Mike Blumenkrantz 🏋

zink: export PIPE_CAP_PROGRAMMABLE_SAMPLE_LOCATIONS

dynamic state required because pipeline hashing for this would be too pita
parent 037835f7
......@@ -316,6 +316,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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment