From: Alyssa Rosenzweig Date: Fri, 21 Aug 2020 19:54:10 +0000 (-0400) Subject: panfrost: XMLify the rest of shader_meta X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=754d54382952802b2c32b07add110d80c8261c94 panfrost: XMLify the rest of shader_meta This contains a bit of everything, so just XML for this commit. The rest of the series will be slowly moving over to this representation. The one noteworthy addition is the rename of "No MSAA" to "Single-sampled lines". This came about due to a buggy branch that forgot to set this bit. Ths worked, with the caveat of the following tests failing with a single-sampled framebuffer: dEQP-GLES2.functional.rasterization.interpolation.basic.line_loop_wide dEQP-GLES2.functional.rasterization.interpolation.basic.line_strip_wide dEQP-GLES2.functional.rasterization.interpolation.basic.lines_wide dEQP-GLES2.functional.rasterization.interpolation.projected.line_loop_wide dEQP-GLES2.functional.rasterization.interpolation.projected.line_strip_wide dEQP-GLES2.functional.rasterization.interpolation.projected.lines_wide dEQP-GLES2.functional.rasterization.primitives.line_loop dEQP-GLES2.functional.rasterization.primitives.line_loop_wide dEQP-GLES2.functional.rasterization.primitives.line_strip dEQP-GLES2.functional.rasterization.primitives.line_strip_wide dEQP-GLES2.functional.rasterization.primitives.lines dEQP-GLES2.functional.rasterization.primitives.lines_wide That is, this bit controls the behaviour of line rasterization with multisampling. This is required to implement the divergent behaviours described in the OpenGL ES 3.2 specification sections 13.6.1 ("Basic Line Segment Rasterization") and 13.6.4 ("Line Multisample Rasterization"), where setting this bit corresponds to the former (single-sampled) behaviour. 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 08615b15f97..e145e7433c7 100644 --- a/src/panfrost/lib/midgard.xml +++ b/src/panfrost/lib/midgard.xml @@ -403,6 +403,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -412,6 +446,21 @@ + + + + + + + + + + + + + + +