mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
anv: Remove unused variable 'gen'
In anv_physical_device_get_format_properties(). Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
33000e7c43
commit
012b54c6b1
1 changed files with 0 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue