mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
zink: expose demote when supported
This enables GL_EXT_demote_to_helper_invocation on Zink. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18272>
This commit is contained in:
parent
1a271948fc
commit
9909eff0c8
1 changed files with 4 additions and 0 deletions
|
|
@ -577,6 +577,10 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
if (screen->info.have_EXT_shader_subgroup_ballot)
|
||||
return true;
|
||||
return false;
|
||||
|
||||
case PIPE_CAP_DEMOTE_TO_HELPER_INVOCATION:
|
||||
return screen->info.have_EXT_shader_demote_to_helper_invocation;
|
||||
|
||||
case PIPE_CAP_SAMPLE_SHADING:
|
||||
return screen->info.feats.features.sampleRateShading;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue