gallium: add PIPE_CAP_MULTI_DRAW_INDIRECT_PARTIAL_STRIDE
GL spec states that the stride for indirect multidraws: * cannot be negative * can be zero * must be a multiple of 4 some drivers can't support strides which are not a multiple of the size of the indirect struct being used, however, so rewrite those to direct draws Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15963>
This commit is contained in:

committed by
Marge Bot

parent
ec12491620
commit
0f28da9cd4
@@ -248,6 +248,8 @@ The integer capabilities:
|
||||
* ``PIPE_CAP_MULTI_DRAW_INDIRECT_PARAMS``: Whether the driver supports
|
||||
taking the number of indirect draws from a separate parameter
|
||||
buffer, see pipe_draw_indirect_info::indirect_draw_count.
|
||||
* ``PIPE_CAP_MULTI_DRAW_INDIRECT_PARTIAL_STRIDE``: Whether the driver supports
|
||||
indirect draws with an arbitrary stride.
|
||||
* ``PIPE_CAP_FS_FINE_DERIVATIVE``: Whether the fragment shader supports
|
||||
the FINE versions of DDX/DDY.
|
||||
* ``PIPE_CAP_VENDOR_ID``: The vendor ID of the underlying hardware. If it's
|
||||
|
Reference in New Issue
Block a user