From feea5986a90d92ef6eb919eca31c5b53457cb035 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Wed, 4 Sep 2019 22:34:23 -0400 Subject: freedreno/a2xx: formats update For render formats, update fd2_pipe2color to only work with HW supported render formats, and remove the format whitelist is_format_supported. This patch enables float render formats (which work). For vertex/texture formats, use a generic function which translates using the bitsize of the channels. Since we fake support for some vertex formats, check for these in is_format_supported to avoid enabling them as sampler formats. Signed-off-by: Jonathan Marek Reviewed-by: Rob Clark --- src/freedreno/registers/a2xx.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/freedreno/registers/a2xx.xml') diff --git a/src/freedreno/registers/a2xx.xml b/src/freedreno/registers/a2xx.xml index 2c7388d9fcd..4817ab31bb3 100644 --- a/src/freedreno/registers/a2xx.xml +++ b/src/freedreno/registers/a2xx.xml @@ -1561,11 +1561,11 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> - + - - + + -- cgit v1.2.3