From 8f25f9f068106e11f8b2afdca6761d84c48dc022 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Fri, 28 Oct 2022 16:19:30 -0700 Subject: [PATCH] nvk: Remove duplicate (disabled) point sprite setup. There's another copy of this above, with just slightly different unused state. Part-of: --- src/nouveau/vulkan/nvk_cmd_draw.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/nouveau/vulkan/nvk_cmd_draw.c b/src/nouveau/vulkan/nvk_cmd_draw.c index 85de1771118..a8348b99758 100644 --- a/src/nouveau/vulkan/nvk_cmd_draw.c +++ b/src/nouveau/vulkan/nvk_cmd_draw.c @@ -285,20 +285,6 @@ nvk_queue_init_context_draw_state(struct nvk_queue *queue) // P_MTHD(cmd->push, NVC0_3D, MACRO_TEP_SELECT; // P_INLINE_DATA(cmd->push, 0x30); - P_IMMD(p, NV9097, SET_POINT_SPRITE_SELECT, { - .rmode = RMODE_ZERO, - .origin = ORIGIN_BOTTOM, - .texture0 = TEXTURE0_PASSTHROUGH, - .texture1 = TEXTURE1_PASSTHROUGH, - .texture2 = TEXTURE2_PASSTHROUGH, - .texture3 = TEXTURE3_PASSTHROUGH, - .texture4 = TEXTURE4_PASSTHROUGH, - .texture5 = TEXTURE5_PASSTHROUGH, - .texture6 = TEXTURE6_PASSTHROUGH, - .texture7 = TEXTURE7_PASSTHROUGH, - .texture8 = TEXTURE8_PASSTHROUGH, - .texture9 = TEXTURE9_PASSTHROUGH, - }); P_IMMD(p, NV9097, SET_POINT_CENTER_MODE, V_OGL); P_IMMD(p, NV9097, SET_EDGE_FLAG, V_TRUE); P_IMMD(p, NV9097, SET_SAMPLER_BINDING, V_INDEPENDENTLY);