diff options
author | Timothy Arceri <[email protected]> | 2017-09-15 08:22:33 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-09-15 11:42:55 +1000 |
commit | a70a401f523bd51203dee398770f54fd0aa37728 (patch) | |
tree | 2ef923d8b2be9de0650f14f809dd807e5bda05fb /src/gallium/drivers | |
parent | fac9f2c4b0df5ab45c9c960b9c1ed337244e121f (diff) |
radeonsi: enable STD430 packing of UBOs by default
Before this change we were defaulting to STD140 which is slightly
less efficient at packing arrays.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 262bdc921e5..c47e6558049 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -486,6 +486,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_NIR_SAMPLERS_AS_DEREF: case PIPE_CAP_QUERY_SO_OVERFLOW: case PIPE_CAP_MEMOBJ: + case PIPE_CAP_LOAD_CONSTBUF: return 1; case PIPE_CAP_INT64: @@ -575,7 +576,6 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_UMA: case PIPE_CAP_POLYGON_MODE_FILL_RECTANGLE: case PIPE_CAP_POST_DEPTH_COVERAGE: - case PIPE_CAP_LOAD_CONSTBUF: return 0; case PIPE_CAP_QUERY_BUFFER_OBJECT: |