intel: Rename gen field in gen_device_info struct to ver
Commands used to do the changes: export SEARCH_PATH="src/intel src/gallium/drivers/iris src/mesa/drivers/dri/i965" grep -E "info\)*(.|->)gen" -rIl $SEARCH_PATH | xargs sed -ie "s/info\()*\)\(\.\|->\)gen/info\1\2ver/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:
@@ -158,7 +158,7 @@ disasm_annotate(struct disasm_info *disasm,
|
||||
* There's also only complication from emitting an annotation without
|
||||
* a corresponding hardware instruction to disassemble.
|
||||
*/
|
||||
if (devinfo->gen >= 6 && inst->opcode == BRW_OPCODE_DO) {
|
||||
if (devinfo->ver >= 6 && inst->opcode == BRW_OPCODE_DO) {
|
||||
disasm->use_tail = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user