gallium: Make PIPE_CAP_DEPTH_CLIP_DISABLE a tri-state value and use it
authorGert Wollny <gert.wollny@collabora.com>
Thu, 25 Jul 2019 08:44:39 +0000 (10:44 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Thu, 1 Aug 2019 05:58:53 +0000 (05:58 +0000)
commitb2e92c45ce30f1aa039cf1ca72c4869992c77ae3
treeff41de9bbc8609fb3133b57a1a60511d342d1be0
parent616f3207456c8165d15232ec80bfccb8c2826bcf
gallium: Make PIPE_CAP_DEPTH_CLIP_DISABLE a tri-state value and use it

Use value "2" to signal that lowering is needed and supported and enable
it accordingly.

v2: - Note in CAP description that this lowering currently requires TGSI
    - use "true" instead of GL_TRUE (both Erik)

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/docs/source/screen.rst
src/mesa/state_tracker/st_context.c