mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
gallium: add PIPE_CAP_MULTIVIEW
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31128>
This commit is contained in:
parent
328c29d600
commit
5c5763f6a8
4 changed files with 4 additions and 0 deletions
|
|
@ -654,6 +654,7 @@ The integer capabilities:
|
|||
* ``PIPE_CAP_SHADER_SUBGROUP_SUPPORTED_STAGES``: Bitmask of shader stages which support GL_KHR_shader_subgroup_* intrinsics.
|
||||
* ``PIPE_CAP_SHADER_SUBGROUP_SUPPORTED_FEATURES``: Bitmask of shader subgroup features listed in :ext:`GL_KHR_shader_subgroup`.
|
||||
* ``PIPE_CAP_SHADER_SUBGROUP_QUAD_ALL_STAGES``: Whether shader subgroup quad operations are supported by shader stages other than fragment shader.
|
||||
* ``PIPE_CAP_MULTIVIEW``: Whether multiview rendering of array textures is supported.
|
||||
|
||||
|
||||
.. _pipe_capf:
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
|
|||
case PIPE_CAP_FRAGMENT_COLOR_CLAMPED:
|
||||
case PIPE_CAP_SEAMLESS_CUBE_MAP:
|
||||
case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
|
||||
case PIPE_CAP_MULTIVIEW:
|
||||
return 0;
|
||||
|
||||
case PIPE_CAP_SUPPORTED_PRIM_MODES_WITH_RESTART:
|
||||
|
|
|
|||
|
|
@ -974,6 +974,7 @@ enum pipe_cap
|
|||
PIPE_CAP_SHADER_SUBGROUP_SUPPORTED_STAGES,
|
||||
PIPE_CAP_SHADER_SUBGROUP_SUPPORTED_FEATURES,
|
||||
PIPE_CAP_SHADER_SUBGROUP_QUAD_ALL_STAGES,
|
||||
PIPE_CAP_MULTIVIEW,
|
||||
PIPE_CAP_LAST,
|
||||
/* XXX do not add caps after PIPE_CAP_LAST! */
|
||||
};
|
||||
|
|
|
|||
|
|
@ -908,6 +908,7 @@ void st_init_extensions(struct pipe_screen *screen,
|
|||
{ o(INTEL_blackhole_render), PIPE_CAP_FRONTEND_NOOP },
|
||||
{ o(ARM_shader_framebuffer_fetch_depth_stencil), PIPE_CAP_FBFETCH_ZS },
|
||||
{ o(MESA_texture_const_bandwidth), PIPE_CAP_HAS_CONST_BW },
|
||||
{ o(OVR_multiview) , PIPE_CAP_MULTIVIEW },
|
||||
};
|
||||
|
||||
/* Required: render target and sampler support */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue