From 8104c8917443868ef65d25fb40be729c466e6fec Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Mon, 4 Nov 2024 11:47:59 +0100 Subject: [PATCH] nir/lower_wpos_ytransform: remove reference to long removed TGSI code Reviewed-by: Alyssa Rosenzweig Part-of: --- src/compiler/nir/nir_lower_wpos_ytransform.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/compiler/nir/nir_lower_wpos_ytransform.c b/src/compiler/nir/nir_lower_wpos_ytransform.c index 7c0f924e54c..517483f9d56 100644 --- a/src/compiler/nir/nir_lower_wpos_ytransform.c +++ b/src/compiler/nir/nir_lower_wpos_ytransform.c @@ -29,9 +29,6 @@ * gl_FbWposYTransform uniform is inserted (with the specified state-slots) * and additional instructions are inserted to transform gl_FragCoord (and * ddy src arg). - * - * This is based on the logic in emit_wpos()/emit_wpos_adjustment() in TGSI - * compiler. */ typedef struct { @@ -59,7 +56,6 @@ get_transform(lower_wpos_ytransform_state *state) return state->transform; } -/* see emit_wpos_adjustment() in st_mesa_to_tgsi.c */ static bool emit_wpos_adjustment(lower_wpos_ytransform_state *state, nir_intrinsic_instr *intr, bool invert,