zink: export ssbo caps
PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT is needed Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8628>
This commit is contained in:
parent
7e5c4b4da3
commit
514b17235f
|
@ -301,10 +301,8 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
||||||
case PIPE_CAP_SHAREABLE_SHADERS:
|
case PIPE_CAP_SHAREABLE_SHADERS:
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
#if 0 /* TODO: Enable me. Enables GL_ARB_shader_storage_buffer_object */
|
|
||||||
case PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT:
|
case PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT:
|
||||||
return screen->info.props.limits.minStorageBufferOffsetAlignment;
|
return screen->info.props.limits.minStorageBufferOffsetAlignment;
|
||||||
#endif
|
|
||||||
|
|
||||||
case PIPE_CAP_PCI_GROUP:
|
case PIPE_CAP_PCI_GROUP:
|
||||||
case PIPE_CAP_PCI_BUS:
|
case PIPE_CAP_PCI_BUS:
|
||||||
|
|
Loading…
Reference in New Issue