mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 00:46:17 +00:00
One more step on the road to replacing all register-like structures by struct brw_reg. Two things in this commit are worth noting: * As we are using more and more brw_reg, a lot of the field-by-field assignments can be replaced by 1 assignment which results is a reduction of code * As the destination horizontal stride is now stored on 2 bits in brw_reg, it's not possible to defer the handling of DEFAULT_DSTREGION (aka (int)-1) when setting the destination operand. It has to be done when parsing the region and resolve_dst_region() is a helper for that task. 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.