From: Matt Turner Date: Sun, 22 Nov 2015 23:04:45 +0000 (-0800) Subject: i965: Remove useless gen6_blorp.h/gen7_blorp.h headers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=836aaa43943f5f7e112f6ea4750ffa8e0e530afd;p=mesa.git i965: Remove useless gen6_blorp.h/gen7_blorp.h headers. Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/i965/Makefile.sources b/src/mesa/drivers/dri/i965/Makefile.sources index 5a88d66a31b..5e805fa3531 100644 --- a/src/mesa/drivers/dri/i965/Makefile.sources +++ b/src/mesa/drivers/dri/i965/Makefile.sources @@ -162,7 +162,6 @@ i965_FILES = \ brw_wm_state.c \ brw_wm_surface_state.c \ gen6_blorp.cpp \ - gen6_blorp.h \ gen6_cc.c \ gen6_clip_state.c \ gen6_depth_state.c \ @@ -180,7 +179,6 @@ i965_FILES = \ gen6_vs_state.c \ gen6_wm_state.c \ gen7_blorp.cpp \ - gen7_blorp.h \ gen7_cs_state.c \ gen7_disable.c \ gen7_gs_state.c \ diff --git a/src/mesa/drivers/dri/i965/brw_blorp.cpp b/src/mesa/drivers/dri/i965/brw_blorp.cpp index df2969dbb76..577b71e9fd2 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.cpp +++ b/src/mesa/drivers/dri/i965/brw_blorp.cpp @@ -28,8 +28,6 @@ #include "brw_blorp.h" #include "brw_defines.h" #include "brw_state.h" -#include "gen6_blorp.h" -#include "gen7_blorp.h" #define FILE_DEBUG_FLAG DEBUG_BLORP diff --git a/src/mesa/drivers/dri/i965/brw_blorp.h b/src/mesa/drivers/dri/i965/brw_blorp.h index dd28d810f7f..ae494f90fbd 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.h +++ b/src/mesa/drivers/dri/i965/brw_blorp.h @@ -238,6 +238,13 @@ public: void brw_blorp_exec(struct brw_context *brw, const brw_blorp_params *params); +void +gen6_blorp_exec(struct brw_context *brw, + const brw_blorp_params *params); + +void +gen7_blorp_exec(struct brw_context *brw, + const brw_blorp_params *params); /** * Parameters for a HiZ or depth resolve operation. diff --git a/src/mesa/drivers/dri/i965/gen6_blorp.cpp b/src/mesa/drivers/dri/i965/gen6_blorp.cpp index 74f3a70a64e..23fea5a54e3 100644 --- a/src/mesa/drivers/dri/i965/gen6_blorp.cpp +++ b/src/mesa/drivers/dri/i965/gen6_blorp.cpp @@ -32,7 +32,6 @@ #include "brw_state.h" #include "brw_blorp.h" -#include "gen6_blorp.h" /** * \name Constants for BLORP VBO diff --git a/src/mesa/drivers/dri/i965/gen6_blorp.h b/src/mesa/drivers/dri/i965/gen6_blorp.h deleted file mode 100644 index 1b273a49e3a..00000000000 --- a/src/mesa/drivers/dri/i965/gen6_blorp.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright © 2011 Intel Corporation - * - * 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, sublicense, - * 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 NONINFRINGEMENT. IN NO EVENT SHALL - * THE AUTHORS OR COPYRIGHT HOLDERS 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. - */ - -#pragma once - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -struct intel_mipmap_tree; - -#ifdef __cplusplus -} - -void -gen6_blorp_exec(struct brw_context *brw, - const brw_blorp_params *params); - -#endif diff --git a/src/mesa/drivers/dri/i965/gen7_blorp.cpp b/src/mesa/drivers/dri/i965/gen7_blorp.cpp index f90e78e43c7..4c6ab0c68bf 100644 --- a/src/mesa/drivers/dri/i965/gen7_blorp.cpp +++ b/src/mesa/drivers/dri/i965/gen7_blorp.cpp @@ -32,7 +32,6 @@ #include "brw_state.h" #include "brw_blorp.h" -#include "gen7_blorp.h" /* 3DSTATE_URB_VS diff --git a/src/mesa/drivers/dri/i965/gen7_blorp.h b/src/mesa/drivers/dri/i965/gen7_blorp.h deleted file mode 100644 index 64434309f82..00000000000 --- a/src/mesa/drivers/dri/i965/gen7_blorp.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright © 2011 Intel Corporation - * - * 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, sublicense, - * 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 NONINFRINGEMENT. IN NO EVENT SHALL - * THE AUTHORS OR COPYRIGHT HOLDERS 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. - */ - -#pragma once - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -struct intel_mipmap_tree; - -#ifdef __cplusplus -} - -void -gen7_blorp_exec(struct brw_context *brw, - const brw_blorp_params *params); - -#endif