intel: Rename genx keyword in filenames to gfxx
Commands used to do the changes: export SEARCH_PATH="src/intel src/gallium/drivers/iris src/mesa/drivers/dri/i965" find $SEARCH_PATH -type f -name "*gen[[:digit:]]*.*[cph]" -exec sh -c 'f="{}"; mv -- "$f" "${f/gen/gfx}"' \; grep -E "gen[[:digit:]]+_[[:alnum:]_]*\.(c|h|cpp)" -rIl $SEARCH_PATH | xargs sed -ie "s/gen\([[:digit:]]\+_[[:alnum:]_]*\.\)\(c\|h\|cpp\)/gfx\1\2/g" grep -E "_gen[[:digit:]]+[[:alnum:]_]*\.(c|h|cpp)" -rIl $SEARCH_PATH | xargs sed -ie "s/\(_\)gen\([[:digit:]]\+[[:alnum:]_]*\.\)\(c\|h\|cpp\)/\1gfx\2\3/g" grep -E "GEN[[:digit:]]+[[:alnum:]_]*_H( |$)" -rIl $SEARCH_PATH | xargs sed -ie "s/GEN\([[:digit:]]\+[[:alnum:]_]*_H\)\( \|$\)/GFX\1\2/g" Exclude the "_pack.h" changes: grep -E "gfx[[:digit:]]+_pack\.h" -rIl $SEARCH_PATH | xargs sed -ie "s/gfx\([[:digit:]]\+_pack\.h\)/gen\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/9936>
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
*/
|
||||
|
||||
#include "brw_vec4_gs_visitor.h"
|
||||
#include "gen6_gs_visitor.h"
|
||||
#include "gfx6_gs_visitor.h"
|
||||
#include "brw_cfg.h"
|
||||
#include "brw_fs.h"
|
||||
#include "brw_nir.h"
|
||||
|
@@ -24,12 +24,12 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file gen6_gs_visitor.cpp
|
||||
* \file gfx6_gs_visitor.cpp
|
||||
*
|
||||
* Gen6 geometry shader implementation
|
||||
*/
|
||||
|
||||
#include "gen6_gs_visitor.h"
|
||||
#include "gfx6_gs_visitor.h"
|
||||
#include "brw_eu.h"
|
||||
|
||||
namespace brw {
|
@@ -22,8 +22,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef GEN6_GS_VISITOR_H
|
||||
#define GEN6_GS_VISITOR_H
|
||||
#ifndef GFX6_GS_VISITOR_H
|
||||
#define GFX6_GS_VISITOR_H
|
||||
|
||||
#include "brw_vec4.h"
|
||||
#include "brw_vec4_gs_visitor.h"
|
||||
@@ -89,4 +89,4 @@ private:
|
||||
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* GEN6_GS_VISITOR_H */
|
||||
#endif /* GFX6_GS_VISITOR_H */
|
@@ -130,8 +130,8 @@ libintel_compiler_files = files(
|
||||
'brw_vec4_vs.h',
|
||||
'brw_vue_map.c',
|
||||
'brw_wm_iz.cpp',
|
||||
'gen6_gs_visitor.cpp',
|
||||
'gen6_gs_visitor.h',
|
||||
'gfx6_gs_visitor.cpp',
|
||||
'gfx6_gs_visitor.h',
|
||||
)
|
||||
|
||||
brw_nir_trig = custom_target(
|
||||
|
Reference in New Issue
Block a user