Revert "radv: fallback to an in-memory cache when no pipline cache is provided"
This reverts commit 2845a108a9
.
This break VK-GL-CTS randomly.
./deqp-vk --deqp-case=dEQP-VK.texture.filtering.3d.formats.r4g4b4a4*
bounces around here from 6/6 to 3/6 or 4/6 to hanging.
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -564,8 +564,7 @@ radv_pipeline_compile(struct radv_pipeline *pipeline,
|
||||
|
||||
if (pipeline->gs_copy_shader) {
|
||||
pipeline->gs_copy_shader =
|
||||
radv_pipeline_cache_insert_shader(pipeline->device,
|
||||
cache,
|
||||
radv_pipeline_cache_insert_shader(cache,
|
||||
gs_copy_sha1,
|
||||
pipeline->gs_copy_shader,
|
||||
gs_copy_code,
|
||||
@@ -576,10 +575,8 @@ radv_pipeline_compile(struct radv_pipeline *pipeline,
|
||||
ralloc_free(nir);
|
||||
|
||||
if (variant)
|
||||
variant = radv_pipeline_cache_insert_shader(pipeline->device,
|
||||
cache, sha1,
|
||||
variant, code,
|
||||
code_size);
|
||||
variant = radv_pipeline_cache_insert_shader(cache, sha1, variant,
|
||||
code, code_size);
|
||||
|
||||
if (code)
|
||||
free(code);
|
||||
|
Reference in New Issue
Block a user