diff options
author | Kenneth Graunke <[email protected]> | 2019-01-23 02:04:01 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-05 13:58:46 -0800 |
commit | 8fa54bc54902960640d8140bef8c9d35677f17cb (patch) | |
tree | 88f4369ecbb6c8aa2f9445b67dc20066cb8ebc16 /src/gallium/auxiliary/util/u_screen.c | |
parent | cf731564e6d335c987c47d41817b75df8a637dde (diff) |
gallium: Add a PIPE_CAP_NIR_COMPACT_ARRAYS capability bit.
Iris would like to use compact arrays for tesslevels and clip/cull
distances. radeonsi will likely want to switch to these at some point,
since it'll be necessary for GL_ARB_gl_spirv support, but it's not ready
for them just yet.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_screen.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_screen.c | 1 |
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 464d9dddc7f..e9603916458 100644 --- a/src/gallium/auxiliary/util/u_screen.c +++ b/src/gallium/auxiliary/util/u_screen.c @@ -289,6 +289,7 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen, case PIPE_CAP_POST_DEPTH_COVERAGE: case PIPE_CAP_BINDLESS_TEXTURE: case PIPE_CAP_NIR_SAMPLERS_AS_DEREF: + case PIPE_CAP_NIR_COMPACT_ARRAYS: case PIPE_CAP_QUERY_SO_OVERFLOW: case PIPE_CAP_MEMOBJ: case PIPE_CAP_LOAD_CONSTBUF: |