mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
Unfortunately, it's all a walk in the park. Both, internal code in the assembler and external shaders (libva) generate registers that trigger assertions in brw_eu_emit.c's brw_validate(). To fix all that I took the option to be able to emit warning with the -W flag but still make the assembler generate the same opcodes. We can fix all this, but it requires validation, something that I cannot do right now. 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.