panvk: Remove unused function
authorAlyssa Rosenzweig <alyssa@collabora.com>
Sat, 11 Feb 2023 02:43:48 +0000 (21:43 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 23:53:46 +0000 (23:53 +0000)
Erroneously referencing sysvals.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20906>

src/panfrost/vulkan/panvk_vX_pipeline.c

index 8f01a0d..53d1ee2 100644 (file)
@@ -184,19 +184,6 @@ panvk_pipeline_builder_upload_shaders(struct panvk_pipeline_builder *builder,
    return VK_SUCCESS;
 }
 
-static bool
-panvk_pipeline_static_sysval(struct panvk_pipeline *pipeline,
-                             unsigned id)
-{
-   switch (id) {
-   case PAN_SYSVAL_VIEWPORT_SCALE:
-   case PAN_SYSVAL_VIEWPORT_OFFSET:
-      return panvk_pipeline_static_state(pipeline, VK_DYNAMIC_STATE_VIEWPORT);
-   default:
-      return false;
-   }
-}
-
 static void
 panvk_pipeline_builder_alloc_static_state_bo(struct panvk_pipeline_builder *builder,
                                              struct panvk_pipeline *pipeline)