nir: remove nir_state_slot::swizzle
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 21 Apr 2023 07:39:18 +0000 (09:39 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 26 Apr 2023 05:51:39 +0000 (05:51 +0000)
commit4e8b532db31425f469c76f7de2aa4b6d6151b03b
treebe753a0138da44c2852e39921840298887ba12e7
parent4c47d8305167d0c200f60c787fc4253d1a73f09d
nir: remove nir_state_slot::swizzle

This is only ever written to, never read from. Let's just get rid of it!

This also saves us a few needless includes.

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22620>
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_patch_vertices.c
src/compiler/nir/nir_lower_pntc_ytransform.c
src/compiler/nir/nir_lower_point_size_mov.c
src/compiler/nir/nir_lower_wpos_ytransform.c