diff options
author | Timothy Arceri <[email protected]> | 2017-10-11 11:59:20 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-10-12 08:52:38 +1100 |
commit | 7664aaf331220f39bf306b4c8afd62966df1391a (patch) | |
tree | 3a6f1312d8cd96b99539c93e5c65ab22e2965737 /src/amd/vulkan/radv_pipeline_cache.c | |
parent | e568d2bd1f148821057a8bf071ce39f342112d83 (diff) |
radv: remove duplicate debug_flags field
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_pipeline_cache.c')
-rw-r--r-- | src/amd/vulkan/radv_pipeline_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_pipeline_cache.c b/src/amd/vulkan/radv_pipeline_cache.c index 43176b6fdf8..625c58e66c7 100644 --- a/src/amd/vulkan/radv_pipeline_cache.c +++ b/src/amd/vulkan/radv_pipeline_cache.c @@ -60,7 +60,7 @@ radv_pipeline_cache_init(struct radv_pipeline_cache *cache, /* We don't consider allocation failure fatal, we just start with a 0-sized * cache. */ if (cache->hash_table == NULL || - (device->debug_flags & RADV_DEBUG_NO_CACHE)) + (device->instance->debug_flags & RADV_DEBUG_NO_CACHE)) cache->table_size = 0; else memset(cache->hash_table, 0, byte_size); |