mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 04:42:53 +00:00
assembler: Move struct relocation out of relocatable instructions
Now that all instructions (relocatable or not) are struct brw_program_instructions, this means we can move the relocation specific information out the "relocatable instruction" structure. This will allow us to share the relocation information between different types of instructions. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
+2
-2
@@ -437,8 +437,8 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
for (entry = compiled_program.first; entry; entry = entry->next) {
|
||||
struct relocatable_instruction *reloc = &entry->insn.reloc;
|
||||
struct brw_instruction *inst = &reloc->gen;
|
||||
struct relocation *reloc = &entry->reloc;
|
||||
struct brw_instruction *inst = &entry->insn.gen;
|
||||
|
||||
if (!is_relocatable(entry))
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user