mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
gallium: add PIPE_CAP_DRAW_INFO_START_WITH_USER_INDICES
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3591>
This commit is contained in:
parent
510bd474e6
commit
70298ec4c0
4 changed files with 4 additions and 0 deletions
|
|
@ -406,6 +406,7 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
|
|||
|
||||
case PIPE_CAP_OPENCL_INTEGER_FUNCTIONS:
|
||||
case PIPE_CAP_INTEGER_MULTIPLY_32X16:
|
||||
case PIPE_CAP_DRAW_INFO_START_WITH_USER_INDICES:
|
||||
return 0;
|
||||
case PIPE_CAP_NIR_IMAGES_AS_DEREF:
|
||||
return 1;
|
||||
|
|
|
|||
|
|
@ -571,6 +571,7 @@ The integer capabilities:
|
|||
* ``PIPE_CAP_PACKED_STREAM_OUTPUT``: Driver supports packing optimization for stream output (e.g. GL transform feedback captured variables). Defaults to true.
|
||||
* ``PIPE_CAP_VIEWPORT_TRANSFORM_LOWERED``: Driver needs the nir_lower_viewport_transform pass to be enabled. This also means that the gl_Position value is modified and should be lowered for transform feedback, if needed. Defaults to false.
|
||||
* ``PIPE_CAP_PSIZ_CLAMPED``: Driver needs for the point size to be clamped. Additionally, the gl_PointSize has been modified and its value should be lowered for transform feedback, if needed. Defaults to false.
|
||||
* ``PIPE_CAP_DRAW_INFO_START_WITH_USER_INDICES``: pipe_draw_info::start can be non-zero with user indices.
|
||||
|
||||
.. _pipe_capf:
|
||||
|
||||
|
|
|
|||
|
|
@ -160,6 +160,7 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
case PIPE_CAP_PACKED_UNIFORMS:
|
||||
case PIPE_CAP_SHADER_SAMPLES_IDENTICAL:
|
||||
case PIPE_CAP_GL_SPIRV:
|
||||
case PIPE_CAP_DRAW_INFO_START_WITH_USER_INDICES:
|
||||
return 1;
|
||||
|
||||
case PIPE_CAP_QUERY_SO_OVERFLOW:
|
||||
|
|
|
|||
|
|
@ -918,6 +918,7 @@ enum pipe_cap
|
|||
PIPE_CAP_PACKED_STREAM_OUTPUT,
|
||||
PIPE_CAP_VIEWPORT_TRANSFORM_LOWERED,
|
||||
PIPE_CAP_PSIZ_CLAMPED,
|
||||
PIPE_CAP_DRAW_INFO_START_WITH_USER_INDICES,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue