iris: properly reject formats, fixes RGB32 rendering with texture float
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 27 Apr 2018 07:07:43 +0000 (00:07 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:06 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_formats.c

index db532c4817208a83c0b8c17430800cb42ec38385..374b80ce17b9c67beb1ce9668c135809f6199425 100644 (file)
@@ -476,6 +476,6 @@ iris_is_format_supported(struct pipe_screen *pscreen,
       // XXX:
    }
 
-   return true;
+   return supported;
 }