diff options
author | Kenneth Graunke <[email protected]> | 2019-05-10 18:32:46 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-05-14 19:34:29 -0700 |
commit | c704c0226c15bd548489ab23ab8477c570edc69b (patch) | |
tree | 7d3da0f9ea9a3cb6091c189b3bf33194942735a5 /src/gallium | |
parent | 4efd04ab182e7dad1d77f20ecdd03099330ea9f0 (diff) |
gallium: Add a PIPE_CAP_FRAGMENT_SHADER_INTERLOCK.
Corresponding to GL_ARB_fragment_shader_interlock and
GL_NV_fragment_shader_interlock. Currently, only the NIR paths
support this functionality, but someone could conceivably add it
to TGSI too.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/docs/source/screen.rst | 2 | ||||
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index 1cf89eed2f9..c678ac91527 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -522,6 +522,8 @@ The integer capabilities: resource_from_handle and resource_get_handle. * ``PIPE_CAP_PREFER_COMPUTE_BLIT_FOR_MULTIMEDIA``: Whether VDPAU, VAAPI, and OpenMAX should use a compute-based blit instead of pipe_context::blit. +* ``PIPE_CAP_FRAGMENT_SHADER_INTERLOCK``: True if fragment shader interlock + functionality is supported. .. _pipe_capf: diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index ed7c81b793c..6041a004fe4 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -883,6 +883,7 @@ enum pipe_cap PIPE_CAP_MAX_FRAMES_IN_FLIGHT, PIPE_CAP_DMABUF, PIPE_CAP_PREFER_COMPUTE_BLIT_FOR_MULTIMEDIA, + PIPE_CAP_FRAGMENT_SHADER_INTERLOCK, }; /** |