intel: Rename gen_device prefix in filenames
export SEARCH_PATH="src/intel src/gallium/drivers/iris src/mesa/drivers/dri/i965" find $SEARCH_PATH -type f -name "gen_device" -exec sh -c 'f="{}"; mv -- "$f" "${f/gen_device/intel_device}"' \; grep -E "gen_device_info*\.[cph]" -rIl $SEARCH_PATH | xargs sed -ie "s/gen_device_info\(.*\.[cph]\)/intel_device_info\1/g" Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10241>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#define BRW_COMPILER_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include "dev/gen_device_info.h"
|
||||
#include "dev/intel_device_info.h"
|
||||
#include "main/macros.h"
|
||||
#include "main/mtypes.h"
|
||||
#include "util/ralloc.h"
|
||||
|
@@ -35,7 +35,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include "util/macros.h"
|
||||
#include "dev/gen_device_info.h"
|
||||
#include "dev/intel_device_info.h"
|
||||
|
||||
/* The following hunk, up-to "Execution Unit" is used by both the
|
||||
* intel/compiler and i965 codebase. */
|
||||
|
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "util/macros.h"
|
||||
#include "dev/gen_device_info.h"
|
||||
#include "dev/intel_device_info.h"
|
||||
|
||||
enum gen {
|
||||
GFX4 = (1 << 0),
|
||||
|
@@ -36,7 +36,7 @@
|
||||
|
||||
#include "brw_eu_defines.h"
|
||||
#include "brw_reg_type.h"
|
||||
#include "dev/gen_device_info.h"
|
||||
#include "dev/intel_device_info.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "brw_reg.h"
|
||||
#include "brw_eu_defines.h"
|
||||
#include "dev/gen_device_info.h"
|
||||
#include "dev/intel_device_info.h"
|
||||
|
||||
#define INVALID (-1)
|
||||
|
||||
|
Reference in New Issue
Block a user