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>
This commit is contained in:
@@ -125,7 +125,7 @@ gen6_gs_visitor::emit_prolog()
|
||||
*
|
||||
* So, what we do is to place PrimitiveID information in r1, which is always
|
||||
* delivered as part of the payload, but its only populated with data
|
||||
* relevant for transform feedback when we set GEN6_GS_SVBI_PAYLOAD_ENABLE
|
||||
* relevant for transform feedback when we set GFX6_GS_SVBI_PAYLOAD_ENABLE
|
||||
* in the 3DSTATE_GS state packet. That information can be obtained by other
|
||||
* means though, so we can safely use r1 for this purpose.
|
||||
*/
|
||||
@@ -505,7 +505,7 @@ gen6_gs_visitor::setup_payload()
|
||||
reg++;
|
||||
|
||||
/* r1 is always part of the payload and it holds information relevant
|
||||
* for transform feedback when we set the GEN6_GS_SVBI_PAYLOAD_ENABLE bit in
|
||||
* for transform feedback when we set the GFX6_GS_SVBI_PAYLOAD_ENABLE bit in
|
||||
* the 3DSTATE_GS packet. We will overwrite it with the PrimitiveID
|
||||
* information (and move the original value to a virtual register if
|
||||
* necessary).
|
||||
|
Reference in New Issue
Block a user