mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
etnaviv: disable INT_FILTER for ASTC
Tested on GC3000: INT_FILTER bit is incompatible with ASTC formats. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3927> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3927>
This commit is contained in:
parent
811990dc1c
commit
1046d73af1
1 changed files with 3 additions and 0 deletions
|
|
@ -288,6 +288,9 @@ texture_use_int_filter(const struct pipe_sampler_view *so, bool tex_desc)
|
|||
if (util_format_is_srgb(so->format))
|
||||
return false;
|
||||
|
||||
if (util_format_description(so->format)->layout == UTIL_FORMAT_LAYOUT_ASTC)
|
||||
return false;
|
||||
|
||||
switch (so->format) {
|
||||
/* apparently D16 can't use int filter but D24 can */
|
||||
case PIPE_FORMAT_Z16_UNORM:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue