From 7a6a5d4bfa58036c1d5fad0596721616419b9327 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 20 Feb 2019 21:50:50 +0100 Subject: [PATCH] st/mesa: remove unused header-file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This header has been unused since f8f2520e88c ("st/mesa: Remove unnecessary headers"). And in the more than 8 years since, this hasn't been useful. So let's just get rid of it. Signed-off-by: Erik Faye-Lund Reviewed-by: Marek Olšák Reviewed-by: Eric Engestrom --- src/mesa/Makefile.sources | 1 - src/mesa/meson.build | 1 - src/mesa/state_tracker/st_atom_shader.h | 41 ------------------------- 3 files changed, 43 deletions(-) delete mode 100644 src/mesa/state_tracker/st_atom_shader.h diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources index 05d2f8a08ee..1e25f47e509 100644 --- a/src/mesa/Makefile.sources +++ b/src/mesa/Makefile.sources @@ -444,7 +444,6 @@ STATETRACKER_FILES = \ state_tracker/st_atom_sampler.c \ state_tracker/st_atom_scissor.c \ state_tracker/st_atom_shader.c \ - state_tracker/st_atom_shader.h \ state_tracker/st_atom_stipple.c \ state_tracker/st_atom_storagebuf.c \ state_tracker/st_atom_tess.c \ diff --git a/src/mesa/meson.build b/src/mesa/meson.build index 6d4a382e268..d8a5682f6a0 100644 --- a/src/mesa/meson.build +++ b/src/mesa/meson.build @@ -488,7 +488,6 @@ files_libmesa_gallium = files( 'state_tracker/st_atom_sampler.c', 'state_tracker/st_atom_scissor.c', 'state_tracker/st_atom_shader.c', - 'state_tracker/st_atom_shader.h', 'state_tracker/st_atom_stipple.c', 'state_tracker/st_atom_storagebuf.c', 'state_tracker/st_atom_tess.c', diff --git a/src/mesa/state_tracker/st_atom_shader.h b/src/mesa/state_tracker/st_atom_shader.h deleted file mode 100644 index a5703be035c..00000000000 --- a/src/mesa/state_tracker/st_atom_shader.h +++ /dev/null @@ -1,41 +0,0 @@ -/************************************************************************** - * - * Copyright 2007-2008 VMware, Inc. - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the - * "Software"), to deal in the Software without restriction, including - * without limitation the rights to use, copy, modify, merge, publish, - * distribute, sub license, and/or sell copies of the Software, and to - * permit persons to whom the Software is furnished to do so, subject to - * the following conditions: - * - * The above copyright notice and this permission notice (including the - * next paragraph) shall be included in all copies or substantial portions - * of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - * IN NO EVENT SHALL VMWARE AND/OR ITS SUPPLIERS BE LIABLE FOR - * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - * - **************************************************************************/ - - -#ifndef ST_ATOM_SHADER_H -#define ST_ATOM_SHADER_H - - -struct st_context; -struct translated_vertex_program; - -extern void -st_free_translated_vertex_programs(struct st_context *st, - struct translated_vertex_program *xvp); - - -#endif /* ST_ATOM_SHADER_H */ -- 2.30.2