aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_pipeline_cache.c
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2020-03-03 10:19:15 -0800
committerCaio Marcelo de Oliveira Filho <[email protected]>2020-03-12 13:18:54 -0700
commit9bf044d2541e1612419ff2ba41758e71a6fd9a9c (patch)
tree32ed0f4ef74fe37ab3ac76901a08ddf1abbd14bd /src/intel/vulkan/anv_pipeline_cache.c
parent9b0682df82041fe1ba7136a97a74be7ba4c08de7 (diff)
anv: Use a dynamic array for storing executables in pipeline
Avoids waste for pipelines that don't use all the shaders, and is flexible enough to cover cases where there are multiple variants per shader (e.g. SIMD8/16/32 for fragment shader). Even though we could pre-calculate the exact size of the array, this is not a critical path so it is worth preventing the bug that will likely happen when new variants are added but not accounted for. Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4040>
Diffstat (limited to 'src/intel/vulkan/anv_pipeline_cache.c')
0 files changed, 0 insertions, 0 deletions