mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 00:16:18 +00:00
The purpose of this commit is to synchronize opcode definitions across the gen4asm assembler and mesa. I had to drop how mesa splits msg_control as the current assembly language gives access the the whole msg_control field. Recompiling the xorg and the intel driver of libva shaders doesn't show any difference in the assembly created. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
intel-gen4asm is a program to compile an assembly language for the Intel 965 Express Chipset. It has been used to construct programs for textured video in the 2d driver. Some examples of gen4 assembly programs are in the doc/examples directory. Note that the language parsed by this assembler is not exactly what the final language is going to look like. In particular, the send instructions need to be cleaned up and made more reasonable to program with.