diff options
author | Timothy Arceri <[email protected]> | 2017-09-15 08:21:22 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-09-15 11:42:55 +1000 |
commit | fac9f2c4b0df5ab45c9c960b9c1ed337244e121f (patch) | |
tree | bd5c7a27a4e1d5d96417b5e333564d3f576f4e6d /src/mesa | |
parent | c96e45ebf055f221021d4bd4533702ac2d9a5ad9 (diff) |
st/mesa: set UseSTD430AsDefaultPacking const based on CAP
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index bc206df3bf1..4f2ad35d56e 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -466,6 +466,9 @@ void st_init_limits(struct pipe_screen *screen, c->AllowMappedBuffersDuringExecution = screen->get_param(screen, PIPE_CAP_ALLOW_MAPPED_BUFFERS_DURING_EXECUTION); + + c->UseSTD430AsDefaultPacking = + screen->get_param(screen, PIPE_CAP_LOAD_CONSTBUF); } |