diff options
author | Dave Airlie <airlied@redhat.com> | 2019-01-24 13:11:22 +1000 |
---|---|---|
committer | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2019-10-17 10:41:36 +0200 |
commit | 731260de7ddb30638b194f1a52a62a5b94487398 (patch) | |
tree | 89296750f1eed2c21bf87285308cd6e1a395b14a /src/gallium/docs | |
parent | dc91a02a72cd677b132c00b1fae2aeffefa1de1c (diff) |
gallium: add flatshade lowering capability
This allows the driver to request flatshade lowering.
(NIR drivers only so far).
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r-- | src/gallium/docs/source/screen.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index 4bb805f39e2..8bb83aff77c 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -558,6 +558,7 @@ The integer capabilities: * ``PIPE_CAP_GL_SPIRV_VARIABLE_POINTERS``: True if the driver supports Variable Pointers in SPIR-V shaders. * ``PIPE_CAP_DEMOTE_TO_HELPER_INVOCATION``: True if driver supports demote keyword in GLSL programs. * ``PIPE_CAP_TGSI_TG4_COMPONENT_IN_SWIZZLE``: True if driver wants the TG4 component encoded in sampler swizzle rather than as a separate source. +* ``PIPE_CAP_FLATSHADE``: Driver supports pipe_rasterizer_state::flatshade. .. _pipe_capf: |