glsl: reserve parameter storage on cache restore
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 8 Jun 2016 00:18:33 +0000 (10:18 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 17 Feb 2017 00:18:43 +0000 (11:18 +1100)
commited6153012167fc7176a23f23ee4cccce9cbaee4a
tree3d588468c2b741009c636986e6426136d65be168
parent1183eb487f65cc8f101578866c404026d6b6dfaa
glsl: reserve parameter storage on cache restore

Since we know how big the list will be we can allocate the storage
upfront.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/shader_cache.cpp