zink: partially enable SSBO pipe cap
this enables atomic counters Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8330>
This commit is contained in:
parent
2bfa998960
commit
322a3d4fb0
|
@ -528,7 +528,8 @@ zink_get_shader_param(struct pipe_screen *pscreen,
|
|||
return 32; /* arbitrary */
|
||||
|
||||
case PIPE_SHADER_CAP_MAX_SHADER_BUFFERS:
|
||||
return 0;
|
||||
/* TODO: this limitation is dumb, and will need some fixes in mesa */
|
||||
return MIN2(screen->info.props.limits.maxPerStageDescriptorStorageBuffers, PIPE_MAX_SHADER_BUFFERS);
|
||||
|
||||
case PIPE_SHADER_CAP_SUPPORTED_IRS:
|
||||
return (1 << PIPE_SHADER_IR_NIR) | (1 << PIPE_SHADER_IR_TGSI);
|
||||
|
|
Loading…
Reference in New Issue