From 72217d433599041f28bc30bb8e184647e7679e39 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 28 Oct 2016 22:34:20 +0200 Subject: gallium: add PIPE_SHADER_CAP_LOWER_IF_THRESHOLD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/docs/source/screen.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/docs') diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index 6ad2becc98a..33f233a4cb5 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -463,6 +463,10 @@ to be 0. * ``PIPE_SHADER_CAP_SUPPORTED_IRS``: Supported representations of the program. It should be a mask of ``pipe_shader_ir`` bits. * ``PIPE_SHADER_CAP_MAX_SHADER_IMAGES``: Maximum number of image units. +* ``PIPE_SHADER_CAP_LOWER_IF_THRESHOLD``: IF and ELSE branches with a lower + cost than this value should be lowered by the state tracker for better + performance. This is a tunable for the GLSL compiler and the behavior is + specific to the compiler. .. _pipe_compute_cap: -- cgit v1.2.3