From: Alyssa Rosenzweig Date: Wed, 19 Aug 2020 20:32:26 +0000 (-0400) Subject: panfrost: XMLify Midgard properties X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=87c59514e95fa8a7d066b1003fe22c3fdd1c04a4 panfrost: XMLify Midgard properties In a long journey to a full XML representation of mali_shader_meta, let's start with the fourth word, containing some shader properties. This is a translation from panfrost-job.h, with the exception of widening the uniform buffer count field [1] The other noteworthy change is combining the unknown 0x20 flag with the WRITES_Z flag to form a 2-bit depth source. This papers over the fact that the blob zeroes this field for non-fragment shaders. Given the proximity, this is a reasonable guess and avoids an ugly "is_fragment" bit. [1] Justified by the increased limit advertised by the Vulkan blob (maxDescriptorSetUniformBuffers on https://vulkan.gpuinfo.org/displayreport.php?id=5602#limits). Not actually supported in Panfrost right now. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Vizoso Part-of: --- diff --git a/src/panfrost/lib/midgard.xml b/src/panfrost/lib/midgard.xml index 60782ae301e..42e26232b29 100644 --- a/src/panfrost/lib/midgard.xml +++ b/src/panfrost/lib/midgard.xml @@ -24,6 +24,12 @@ + + + + + + @@ -333,6 +339,20 @@ + + + + + + + + + + + + + +