mesa/src/intel/dev
Anuj Phogat c1f3a778de intel: Rename GENx prefix in macros to GFXx in source files
Commands used to do the changes:
export SEARCH_PATH="src/intel src/gallium/drivers/iris src/mesa/drivers/dri/i965"
grep -E "GEN" -rIl src/intel/genxml | grep -E ".*py" |  xargs sed -ie "s/GEN\([%{]\)/GFX\1/g"
grep -E "[^_]GEN[[:digit:]]+" -rIl $SEARCH_PATH | grep -E ".*(\.c|\.h|\.y|\.l)" | xargs sed -ie "s/\([^_]\)GEN\([[:digit:]]\+\)/\1GFX\2/g"

Leave out renaming GFX12_CCS_E macros. They fall under renaming pattern like "_GEN[[:digit:]]+":
grep -E "GFX12_CCS_E" -rIl $SEARCH_PATH | xargs sed -ie "s/GFX12_CCS_E/GEN12_CCS_E/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>
2021-04-02 18:33:07 +00:00
..
gen_debug.c intel/debug: Add a debug flag for ray-tracing shaders 2020-11-25 05:37:09 +00:00
gen_debug.h intel/debug: Add a debug flag for ray-tracing shaders 2020-11-25 05:37:09 +00:00
gen_device_info.c intel: Rename GENx prefix in macros to GFXx in source files 2021-04-02 18:33:07 +00:00
gen_device_info.h intel: Rename gen field in gen_device_info struct to ver 2021-04-02 18:33:07 +00:00
gen_device_info_test.c intel: Rename gen field in gen_device_info struct to ver 2021-04-02 18:33:07 +00:00
intel_device_info.c intel: Rename gen field in gen_device_info struct to ver 2021-04-02 18:33:07 +00:00
meson.build intel: install intel_device_info 2021-03-15 09:22:13 +00:00