From 1319cfb40d2dc65c218092e5c6c460847170ac70 Mon Sep 17 00:00:00 2001 From: George Ouzounoudis Date: Thu, 24 Aug 2023 20:17:16 +0300 Subject: [PATCH] nvk: Remove pipeline state setting functions We do not need these functions for graphics pipelines anymore as all the required state is now dynamic. Part-of: --- src/nouveau/vulkan/nvk_graphics_pipeline.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/nouveau/vulkan/nvk_graphics_pipeline.c b/src/nouveau/vulkan/nvk_graphics_pipeline.c index af2015e35c5..dfb0d0ad4b9 100644 --- a/src/nouveau/vulkan/nvk_graphics_pipeline.c +++ b/src/nouveau/vulkan/nvk_graphics_pipeline.c @@ -24,18 +24,6 @@ #include "nvk_clb197.h" #include "nvk_clc397.h" -static void -emit_pipeline_ts_state(struct nv_push *p, - const struct vk_tessellation_state *ts) -{ -} - -static void -emit_pipeline_vp_state(struct nv_push *p, - const struct vk_viewport_state *vp) -{ -} - static void nvk_populate_fs_key(struct nak_fs_key *key, const struct vk_multisample_state *ms, @@ -388,8 +376,6 @@ nvk_graphics_pipeline_create(struct nvk_device *dev, emit_pipeline_xfb_state(&push, &last_geom->info.vtg.xfb); - if (state.ts) emit_pipeline_ts_state(&push, state.ts); - if (state.vp) emit_pipeline_vp_state(&push, state.vp); if (state.ms) emit_pipeline_ms_state(&push, state.ms, force_max_samples); emit_pipeline_ct_write_state(&push, state.cb, state.rp);