From 872519c663ca813b87c8e2cd1c2ee90eb086e17c Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Tue, 15 Jan 2019 10:31:16 +0100 Subject: Gallium: Add new CAP that indicated whether IO array definitions can be shriked PIPE_CAP_TGSI_SKIP_SHRINK_IO_ARRAYS is added to indicate whether the TGSI pass to shrink IO arrays should be skipped to enforce the originally declared array sizes and locations instead. Signed-off-by: Gert Wollny Reviewed-by: Gurchetan Singh --- src/gallium/docs/source/screen.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/docs/source') diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index 7d3b262d240..f29c05756a8 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -504,6 +504,10 @@ The integer capabilities: * ``PIPE_CAP_COMPUTE_GRID_INFO_LAST_BLOCK``: Whether pipe_grid_info::last_block is implemented by the driver. See struct pipe_grid_info for more details. * ``PIPE_CAP_COMPUTE_SHADER_DERIVATIVE``: True if the driver supports derivatives (and texture lookups with implicit derivatives) in compute shaders. +* ``PIPE_CAP_TGSI_SKIP_SHRINK_IO_ARRAYS``: Whether the TGSI pass to shrink IO + arrays should be skipped and enforce keeping the declared array sizes instead. + A driver might rely on the input mapping that was defined with the original + GLSL code. .. _pipe_capf: -- cgit v1.2.3