mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
intel/decoder: fix INTEL_DEBUG=bat
Now that all genxml filenames are in verx10 format, we don't need to fix
the number up when we look them up.
Fixes: 8906816f49 ("anv,hasvk,genxml: Rename genxml files using verx10")
Acked-by: Caio Oliveira <caio.oliveira@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32099>
This commit is contained in:
parent
68cdcf5bbc
commit
f2f4206d49
1 changed files with 2 additions and 3 deletions
|
|
@ -856,9 +856,8 @@ get_embedded_xml_data_by_name(const char *filename,
|
|||
free(numstr);
|
||||
return false;
|
||||
}
|
||||
/* convert ver numbers to verx10 */
|
||||
if (num < 45)
|
||||
num = num * 10;
|
||||
|
||||
assert(num >= 40);
|
||||
|
||||
free(numstr);
|
||||
return get_embedded_xml_data(num, data, data_len);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue