Commit fac9f2c4 authored by Timothy Arceri's avatar Timothy Arceri

st/mesa: set UseSTD430AsDefaultPacking const based on CAP

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
parent c96e45eb
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment