tu: Ignore line stipple dynamic state
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 21 Oct 2022 11:59:20 +0000 (13:59 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 3 Nov 2022 21:59:42 +0000 (21:59 +0000)
commit9f7896685fe212eb676313f1aad8e9f423edd5ff
tree406344e6abdd8d76a4fcbf4dab79ebd5af0946be
parent9061f5f57d95d27e1ed4c0667fd48c085eea602f
tu: Ignore line stipple dynamic state

At least in the current Vulkan spec there is no validation language
saying that it isn't valid to set this state if stippled lines aren't
supported, so it seems we have to just ignore it. Ignore it if the user
specifies a dynamic line stipple state and don't emit warnings if they
call CmdSetLineStippleEXT because zink will do this.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18912>
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_pipeline.c