mesa: Move the FXT1 compressor/decompressor to util/
softpipe failed at handling FXT1, despite exposing it, because we didn't have a fetch function for it in the util/ format table. Fixes: #3968 Reviewed-by: Adam jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9194>
This commit is contained in:
@@ -108,7 +108,7 @@ def has_access(format):
|
||||
]
|
||||
if format.short_name() in noaccess_formats:
|
||||
return False
|
||||
if format.layout in ('astc', 'atc', 'fxt1'):
|
||||
if format.layout in ('astc', 'atc'):
|
||||
return False
|
||||
if format.layout == 'etc' and format.short_name() != 'etc1_rgb8':
|
||||
return False
|
||||
@@ -125,6 +125,7 @@ def write_format_table_header(file):
|
||||
def write_format_table(formats):
|
||||
write_format_table_header(sys.stdout)
|
||||
print('#include "u_format_bptc.h"')
|
||||
print('#include "u_format_fxt1.h"')
|
||||
print('#include "u_format_s3tc.h"')
|
||||
print('#include "u_format_rgtc.h"')
|
||||
print('#include "u_format_latc.h"')
|
||||
|
||||
Reference in New Issue
Block a user