radv: enable smoothLines

For Zink.

This marks one piglit test as expected failure because polygon
smoothing can't be implemented properly in Vulkan.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21587>
This commit is contained in:
Samuel Pitoiset 2023-02-28 09:10:30 +01:00 committed by Marge Bot
parent 85cbdba355
commit 7cb4494039
3 changed files with 7 additions and 1 deletions

View file

@ -795,7 +795,7 @@ radv_physical_device_get_features(const struct radv_physical_device *pdevice,
/* VK_EXT_line_rasterization */
.rectangularLines = true,
.bresenhamLines = true,
.smoothLines = false,
.smoothLines = true,
.stippledRectangularLines = false,
/* FIXME: Some stippled Bresenham CTS fails on Vega10
* but work on Raven.

View file

@ -452,3 +452,6 @@ spec@ext_packed_depth_stencil@fbo-clear-formats stencil,Fail
spec@ext_packed_depth_stencil@fbo-clear-formats stencil@GL_DEPTH_STENCIL,Fail
spec@ext_packed_depth_stencil@fbo-depthstencil-gl_depth24_stencil8-drawpixels-float-and-ushort,Fail
spec@ext_packed_depth_stencil@fbo-stencil-gl_depth24_stencil8-drawpixels,Fail
# Polygon smoothing isn't supported in Vulkan.
spec@!opengl 1.0@gl-1.0-polygon-line-aa,Fail

View file

@ -456,3 +456,6 @@ spec@ext_packed_depth_stencil@fbo-clear-formats stencil,Fail
spec@ext_packed_depth_stencil@fbo-clear-formats stencil@GL_DEPTH_STENCIL,Fail
spec@ext_packed_depth_stencil@fbo-depthstencil-gl_depth24_stencil8-drawpixels-float-and-ushort,Fail
spec@ext_packed_depth_stencil@fbo-stencil-gl_depth24_stencil8-drawpixels,Fail
# Polygon smoothing isn't supported in Vulkan.
spec@!opengl 1.0@gl-1.0-polygon-line-aa,Fail