Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com> Reviewed-by: Wladimir J. van der Laan <laa...@gmail.com> --- src/gallium/drivers/etnaviv/etnaviv_screen.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c index 35e6e8944c..132b0ba5c8 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_screen.c +++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c @@ -501,6 +501,10 @@ gpu_supports_texure_format(struct etna_screen *screen, uint32_t fmt, */ if (util_format_is_etc(format)) supported = VIV_FEATURE(screen, chipMinorFeatures2, HALTI1); + + /* At the moment we do not differ between half-float and float. */ + if (util_format_is_float(format)) + supported = VIV_FEATURE(screen, chipMinorFeatures1, HALF_FLOAT); } if (fmt & ASTC_FORMAT) { -- 2.17.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev