diff options
author | Chad Versace <[email protected]> | 2017-11-02 15:34:04 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2017-11-07 09:06:30 -0800 |
commit | 012b54c6b108542787ac6ca0790c78744311f576 (patch) | |
tree | 539febe4434ac4a530dfed37fe98dbbaa820bcbc /src/intel | |
parent | 33000e7c437510bac44a42102d74554aa1259f18 (diff) |
anv: Remove unused variable 'gen'
In anv_physical_device_get_format_properties().
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_formats.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c index cece065398e..cfff0991bef 100644 --- a/src/intel/vulkan/anv_formats.c +++ b/src/intel/vulkan/anv_formats.c @@ -541,10 +541,6 @@ anv_physical_device_get_format_properties(struct anv_physical_device *physical_d VkFormat vk_format, VkFormatProperties *out_properties) { - int gen = physical_device->info.gen * 10; - if (physical_device->info.is_haswell) - gen += 5; - const struct anv_format *format = anv_get_format(vk_format); VkFormatFeatureFlags linear = 0, tiled = 0, buffer = 0; if (format == NULL) { |