summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2019-01-15 10:31:16 +0100
committerGert Wollny <[email protected]>2019-04-10 11:09:40 +0200
commit872519c663ca813b87c8e2cd1c2ee90eb086e17c (patch)
tree46a791bac0dca9e1f42f0ea1d85040ffc90a8008 /src/gallium/auxiliary/util
parenta182adfd83ad00e326153b00a725a014e0359bf0 (diff)
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 <[email protected]> Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c
index 43310f3e879..a449db856f6 100644
--- a/src/gallium/auxiliary/util/u_screen.c
+++ b/src/gallium/auxiliary/util/u_screen.c
@@ -322,6 +322,7 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
case PIPE_CAP_MAX_COMBINED_HW_ATOMIC_COUNTERS:
case PIPE_CAP_MAX_COMBINED_HW_ATOMIC_COUNTER_BUFFERS:
case PIPE_CAP_TGSI_ATOMFADD:
+ case PIPE_CAP_TGSI_SKIP_SHRINK_IO_ARRAYS:
return 0;
case PIPE_CAP_MAX_GS_INVOCATIONS: