Damien Lespiau e7cca1a3ca assembler: Use brw_set_src0()
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>
2013-03-04 15:54:40 +00:00
..
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:40 +00:00
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:40 +00:00
2013-03-04 15:54:26 +00:00
2013-03-04 15:54:39 +00:00
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:37 +00:00

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.