turnip: Get has_tex_filter_cubic from fd_dev_info
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11790>
This commit is contained in:
parent
64af60cfb3
commit
3f1c4a86bb
|
@ -85,6 +85,8 @@ struct fd_dev_info {
|
|||
*/
|
||||
bool indirect_draw_wfm_quirk;
|
||||
|
||||
bool has_tex_filter_cubic;
|
||||
|
||||
struct {
|
||||
uint32_t RB_UNKNOWN_8E04_blit;
|
||||
uint32_t PC_UNKNOWN_9805;
|
||||
|
|
|
@ -196,6 +196,7 @@ a6xx_gen3 = dict(
|
|||
has_z24uint_s8uint = True,
|
||||
tess_use_shared = True,
|
||||
storage_16bit = True,
|
||||
has_tex_filter_cubic = True,
|
||||
)
|
||||
|
||||
add_gpus([
|
||||
|
|
|
@ -166,7 +166,7 @@ get_device_extensions(const struct tu_physical_device *device,
|
|||
.EXT_depth_clip_enable = true,
|
||||
.EXT_descriptor_indexing = true,
|
||||
.EXT_extended_dynamic_state = true,
|
||||
.EXT_filter_cubic = device->gpu_id == 650,
|
||||
.EXT_filter_cubic = device->info->a6xx.has_tex_filter_cubic,
|
||||
.EXT_host_query_reset = true,
|
||||
.EXT_index_type_uint8 = true,
|
||||
.EXT_memory_budget = true,
|
||||
|
@ -182,7 +182,7 @@ get_device_extensions(const struct tu_physical_device *device,
|
|||
#ifdef ANDROID
|
||||
.ANDROID_native_buffer = true,
|
||||
#endif
|
||||
.IMG_filter_cubic = device->gpu_id == 650,
|
||||
.IMG_filter_cubic = device->info->a6xx.has_tex_filter_cubic,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue